ICU 54.1 54.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Class Hierarchy
- Data Fields

All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes
icu::SimpleNumberFormatFactory Class Reference

A NumberFormatFactory that supports a single locale. More...

`#include <numfmt.h>`

Inheritance diagram for icu::SimpleNumberFormatFactory:

## 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
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.

## Detailed Description

A NumberFormatFactory that supports a single locale.

It can be visible or invisible.

Stable:
  ICU 2.6

Definition at line 1131 of file numfmt.h.

## Constructor & Destructor Documentation

icu::SimpleNumberFormatFactory::SimpleNumberFormatFactory | ( | const Locale & | locale,
|  | UBool | visible = `TRUE`
| ) |  |

Stable:
  ICU 2.6

virtual icu::SimpleNumberFormatFactory::~SimpleNumberFormatFactory | ( |  | ) |
| virtual

Stable:
  ICU 3.0

## Member Function Documentation

virtual const UnicodeString* icu::SimpleNumberFormatFactory::getSupportedIDs | ( | int32_t & | count,
|  | UErrorCode & | status
| ) |  | const
| virtual

Stable:
  ICU 2.6

Implements icu::NumberFormatFactory.

virtual UBool icu::SimpleNumberFormatFactory::visible | ( | void |  | ) | const
| virtual

Stable:
  ICU 2.6

Implements icu::NumberFormatFactory.

## Field Documentation

UnicodeString icu::SimpleNumberFormatFactory::_id
| protected

The locale supported by this factory, as a UnicodeString.

Stable:
  ICU 2.6

Definition at line 1143 of file numfmt.h.

const UBool icu::SimpleNumberFormatFactory::_visible
| protected

True if the locale supported by this factory is visible.

Stable:
  ICU 2.6

Definition at line 1137 of file numfmt.h.

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

- numfmt.h