ICU 76.1 76.1
|
A NumberFormatFactory that supports a single locale. More...
#include <numfmt.h>
Public Member Functions | |
SimpleNumberFormatFactory (const Locale &locale, UBool visible=true) | |
virtual | ~SimpleNumberFormatFactory () |
virtual UBool | visible () const override |
virtual const UnicodeString * | getSupportedIDs (int32_t &count, UErrorCode &status) const override |
Public Member Functions inherited from icu::NumberFormatFactory | |
virtual | ~NumberFormatFactory () |
Destructor. | |
virtual NumberFormat * | createFormat (const Locale &loc, UNumberFormatStyle formatType)=0 |
Return a number format of the appropriate type. | |
Public Member Functions inherited from icu::UObject | |
virtual | ~UObject () |
Destructor. | |
virtual UClassID | getDynamicClassID () const |
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class. | |
Protected Attributes | |
const UBool | _visible |
True if the locale supported by this factory is visible. | |
UnicodeString | _id |
The locale supported by this factory, as a UnicodeString. | |
icu::SimpleNumberFormatFactory::SimpleNumberFormatFactory | ( | const Locale & | locale, |
UBool | visible = true |
||
) |
|
overridevirtual |
Implements icu::NumberFormatFactory.
Implements icu::NumberFormatFactory.
|
protected |
The locale supported by this factory, as a UnicodeString.