icu::number::UnlocalizedNumberFormatter Class Reference

A NumberFormatter that does not yet have a locale. More...

#include <numberformatter.h>

Inheritance diagram for icu::number::UnlocalizedNumberFormatter:
icu::number::NumberFormatterSettings< UnlocalizedNumberFormatter > icu::UMemory

Public Member Functions

LocalizedNumberFormatter locale (const icu::Locale &locale) const &
 Associate the given locale with the number formatter.
LocalizedNumberFormatter locale (const icu::Locale &locale)&&
 Overload of locale() for use on an rvalue reference.
 UnlocalizedNumberFormatter ()
 Default constructor: puts the formatter into a valid but undefined state.
 UnlocalizedNumberFormatter (const UnlocalizedNumberFormatter &other)
 Returns a copy of this UnlocalizedNumberFormatter.
 UnlocalizedNumberFormatter (UnlocalizedNumberFormatter &&src) U_NOEXCEPT
 Move constructor: The source UnlocalizedNumberFormatter will be left in a valid but undefined state.
UnlocalizedNumberFormatteroperator= (const UnlocalizedNumberFormatter &other)
 Copy assignment operator.
UnlocalizedNumberFormatteroperator= (UnlocalizedNumberFormatter &&src) U_NOEXCEPT
 Move assignment operator: The source UnlocalizedNumberFormatter will be left in a valid but undefined state.

Friends

class NumberFormatterSettings< UnlocalizedNumberFormatter >
class NumberFormatter

Detailed Description

A NumberFormatter that does not yet have a locale.

In order to format numbers, a locale must be specified.

See also:
NumberFormatter
Draft:
This API may be changed in the future versions and was introduced in ICU 60

Definition at line 2180 of file numberformatter.h.


Constructor & Destructor Documentation

icu::number::UnlocalizedNumberFormatter::UnlocalizedNumberFormatter (  ) 

Default constructor: puts the formatter into a valid but undefined state.

Draft:
This API may be changed in the future versions and was introduced in ICU 62
icu::number::UnlocalizedNumberFormatter::UnlocalizedNumberFormatter ( const UnlocalizedNumberFormatter other  ) 

Returns a copy of this UnlocalizedNumberFormatter.

Draft:
This API may be changed in the future versions and was introduced in ICU 60
icu::number::UnlocalizedNumberFormatter::UnlocalizedNumberFormatter ( UnlocalizedNumberFormatter &&  src  ) 

Move constructor: The source UnlocalizedNumberFormatter will be left in a valid but undefined state.

Draft:
This API may be changed in the future versions and was introduced in ICU 62

Member Function Documentation

LocalizedNumberFormatter icu::number::UnlocalizedNumberFormatter::locale ( const icu::Locale locale  ) 

Overload of locale() for use on an rvalue reference.

Parameters:
locale The locale to use when loading data for number formatting.
Returns:
The fluent chain.
See also:
locale
Draft:
This API may be changed in the future versions and was introduced in ICU 62
LocalizedNumberFormatter icu::number::UnlocalizedNumberFormatter::locale ( const icu::Locale locale  )  const

Associate the given locale with the number formatter.

The locale is used for picking the appropriate symbols, formats, and other data for number display.

Parameters:
locale The locale to use when loading data for number formatting.
Returns:
The fluent chain.
Draft:
This API may be changed in the future versions and was introduced in ICU 60
UnlocalizedNumberFormatter& icu::number::UnlocalizedNumberFormatter::operator= ( UnlocalizedNumberFormatter &&  src  ) 

Move assignment operator: The source UnlocalizedNumberFormatter will be left in a valid but undefined state.

Draft:
This API may be changed in the future versions and was introduced in ICU 62
UnlocalizedNumberFormatter& icu::number::UnlocalizedNumberFormatter::operator= ( const UnlocalizedNumberFormatter other  ) 

Copy assignment operator.

Draft:
This API may be changed in the future versions and was introduced in ICU 62

The documentation for this class was generated from the following file:

Generated on 12 Nov 2018 for ICU 63.1 by  doxygen 1.6.1