ICU 4.2.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 (void) const |
virtual const UnicodeString * | getSupportedIDs (int32_t &count, UErrorCode &status) const |
![]() | |
virtual | ~NumberFormatFactory () |
Destructor. More... | |
virtual NumberFormat * | createFormat (const Locale &loc, UNumberFormatStyle formatType)=0 |
Return a number format of the appropriate type. More... | |
![]() | |
virtual | ~UObject () |
Destructor. More... | |
virtual UClassID | getDynamicClassID () const =0 |
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class. More... | |
Protected Attributes | |
const UBool | _visible |
True if the locale supported by this factory is visible. More... | |
UnicodeString | _id |
The locale supported by this factory, as a UnicodeString. More... | |
Additional Inherited Members | |
![]() | |
static void * | operator new (size_t size) |
Override for ICU4C C++ memory management. More... | |
static void * | operator new[] (size_t size) |
Override for ICU4C C++ memory management. More... | |
static void | operator delete (void *p) |
Override for ICU4C C++ memory management. More... | |
static void | operator delete[] (void *p) |
Override for ICU4C C++ memory management. More... | |
static void * | operator new (size_t, void *ptr) |
Override for ICU4C C++ memory management for STL. More... | |
static void | operator delete (void *, void *) |
Override for ICU4C C++ memory management for STL. More... | |
SimpleNumberFormatFactory::SimpleNumberFormatFactory | ( | const Locale & | locale, |
UBool | visible = TRUE |
||
) |
|
virtual |
|
virtual |
Implements NumberFormatFactory.
|
virtual |
Implements NumberFormatFactory.
|
protected |
The locale supported by this factory, as a UnicodeString.
|
protected |