Logo Search packages:      
Sourcecode: icu version File versions

virtual UClassID Format::getDynamicClassID (  )  const [pure virtual, inherited]

Returns a unique class ID POLYMORPHICALLY. Pure virtual method. 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. Concrete subclasses of Format must implement getDynamicClassID()

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

Implemented in CurrencyFormat, RelativeDateFormat, ChoiceFormat, DecimalFormat, DateIntervalFormat, MessageFormat, NumberFormat, PluralFormat, RuleBasedNumberFormat, SimpleDateFormat, and TimeUnitFormat.

Referenced by RelativeDateFormat::applyPatterns(), MessageFormat::makeFormat(), TimeUnitFormat::operator==(), RuleBasedNumberFormat::operator==(), Format::operator==(), DateIntervalFormat::operator==(), CurrencyFormat::operator==(), IntlTestSimpleDateFormatAPI::testAPI(), DateFormatTest::TestFieldPosition(), MessageFormat::toPattern(), RelativeDateFormat::toPatternDate(), and RelativeDateFormat::toPatternTime().

Generated by  Doxygen 1.6.0   Back to index