ICU 66.0.1
66.0.1
|
UObject is the common ICU "boilerplate" class. More...
#include <uobject.h>
Public Member Functions | |
virtual | ~UObject () |
Destructor. More... | |
virtual UClassID | getDynamicClassID () const |
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class. More... | |
UObject is the common ICU "boilerplate" class.
UObject inherits UMemory (starting with ICU 2.4), and all other public ICU C++ classes are derived from UObject (starting with ICU 2.2).
UObject contains common virtual functions, in particular a virtual destructor.
The clone() function is not available in UObject because it is not implemented by all ICU classes. Many ICU services provide a clone() function for their class trees, defined on the service's C++ base class (which itself is a subclass of UObject).
|
virtual |
Destructor.
|
virtual |
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
The base class implementation returns a dummy value.
Use compiler RTTI rather than ICU's "poor man's RTTI". Since ICU 4.6, new ICU C++ class hierarchies do not implement "poor man's RTTI".
Reimplemented in icu::UnicodeString, icu::DecimalFormat, icu::RegexMatcher, icu::Transliterator, icu::UnicodeSet, icu::Calendar, icu::SimpleDateFormat, icu::NumberFormat, icu::RuleBasedNumberFormat, icu::Locale, icu::Collator, icu::MessageFormat, icu::TimeArrayTimeZoneRule, icu::TimeZone, icu::SimpleTimeZone, icu::Normalizer, icu::DateIntervalFormat, icu::TimeZoneFormat, icu::ValueRuns, icu::DateFormatSymbols, icu::AnnualTimeZoneRule, icu::Formattable, icu::RegexPattern, icu::ParagraphLayout, icu::RuleBasedBreakIterator, icu::PluralFormat, icu::PluralRules, icu::LocaleRuns, icu::DateTimePatternGenerator, icu::ResourceBundle, icu::GregorianCalendar, icu::ChoiceFormat, icu::VTimeZone, icu::RuleBasedCollator, icu::StringSearch, icu::UCharCharacterIterator, icu::InitialTimeZoneRule, icu::FontRuns, icu::RuleBasedTimeZone, icu::SelectFormat, icu::DecimalFormatSymbols, icu::DateIntervalInfo, icu::ParagraphLayout::VisualRun, icu::MeasureFormat, icu::CollationElementIterator, icu::DateTimeRule, icu::UnicodeSetIterator, icu::CollationKey, icu::FieldPosition, icu::TimeUnitFormat, icu::TimeZoneTransition, icu::NumberingSystem, icu::CurrencyPluralInfo, icu::CompactDecimalFormat, icu::MeasureUnit, icu::ParsePosition, icu::RunArray, icu::StringCharacterIterator, icu::ParagraphLayout::Line, icu::BreakIterator, icu::CanonicalIterator, icu::ForwardCharacterIterator, icu::TimeUnitAmount, icu::Measure, icu::CurrencyUnit, icu::UnicodeFunctor, icu::CurrencyAmount, icu::TimeUnit, icu::DateInterval, and icu::NoUnit.
Referenced by icu::MessageFormat::getApostropheMode(), icu::MeasureUnit::operator!=(), icu::RegexPattern::operator!=(), icu::BreakIterator::operator!=(), icu::DecimalFormatSymbols::operator!=(), icu::Calendar::operator!=(), icu::ParsePosition::ParsePosition(), icu::FieldPosition::setEndIndex(), and icu::UnicodeString::UnicodeString().