Logo Search packages:      
Sourcecode: icu version File versions  Download package

virtual UClassID NumberFormat::getDynamicClassID ( void   )  const [pure virtual]

Returns a unique class ID POLYMORPHICALLY. Pure virtual override. This method is to implement a simple version of RTTI, since not all C++ compilers support genuine RTTI. Polymorphic operator==() and clone() methods call this method.

The class ID for this object. All objects of a given class have the same class ID. Objects of other classes have different class IDs. ICU 2.0

Implements Format.

Implemented in ChoiceFormat, DecimalFormat, and RuleBasedNumberFormat.

Referenced by MessageFormat::createIntegerFormat(), SimpleDateFormat::initialize(), SimpleDateFormat::parseInt(), NumberFormatRegressionTest::Test4145457(), NumberFormatRegressionTest::Test4170798(), and IntlTestNumberFormatAPI::testAPI().

Generated by  Doxygen 1.6.0   Back to index