Movatterモバイル変換


[0]ホーム

URL:


ICU 78.1  78.1
Public Member Functions
icu::UObject Class Reference

UObject is the common ICU "boilerplate" class.More...

#include <uobject.h>

Inheritance diagram for icu::UObject:

Public Member Functions

virtual ~UObject ()
 Destructor.More...
 
virtualUClassID getDynamicClassID () const
 ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.More...
 

Detailed Description

UObject is the common ICU "boilerplate" class.

UObject inheritsUMemory (starting with ICU 2.4), and all other public ICU C++ classes are derived fromUObject (starting with ICU 2.2).

UObject contains common virtual functions, in particular a virtual destructor.

The clone() function is not available inUObject 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 ofUObject).

Stable:
ICU 2.2

Definition at line222 of fileuobject.h.

Constructor & Destructor Documentation

◆ ~UObject()

virtual icu::UObject::~UObject()
virtual

Destructor.

Stable:
ICU 2.2

Member Function Documentation

◆ getDynamicClassID()

virtualUClassID icu::UObject::getDynamicClassID() const
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".

Stable:
ICU 2.2

Reimplemented inicu::Transliterator,icu::TimeZone,icu::NumberFormat,icu::Collator,icu::Calendar,icu::UnicodeFunctor,icu::ForwardCharacterIterator,icu::BreakIterator,icu::ValueRuns,icu::LocaleRuns,icu::FontRuns,icu::RunArray,icu::ParagraphLayout,icu::ParagraphLayout::VisualRun,icu::ParagraphLayout::Line,icu::VTimeZone,icu::TimeZoneTransition,icu::TimeArrayTimeZoneRule,icu::AnnualTimeZoneRule,icu::InitialTimeZoneRule,icu::TimeZoneFormat,icu::TimeUnitFormat,icu::TimeUnitAmount,icu::TimeUnit,icu::RuleBasedCollator,icu::StringSearch,icu::CollationKey,icu::SimpleDateFormat,icu::SimpleTimeZone,icu::SelectFormat,icu::RegexMatcher,icu::RegexPattern,icu::RuleBasedTimeZone,icu::RuleBasedNumberFormat,icu::PluralRules,icu::PluralFormat,icu::NumberingSystem,icu::MessageFormat,icu::Measure,icu::MeasureUnit,icu::MeasureFormat,icu::GregorianCalendar,icu::Formattable,icu::FieldPosition,icu::DateTimeRule,icu::DateTimePatternGenerator,icu::DateIntervalInfo,icu::DateIntervalFormat,icu::DateFormatSymbols,icu::DecimalFormat,icu::DecimalFormatSymbols,icu::CurrencyUnit,icu::CurrencyPluralInfo,icu::CurrencyAmount,icu::CompactDecimalFormat,icu::CollationElementIterator,icu::ChoiceFormat,icu::UnicodeSetIterator,icu::UnicodeString,icu::UnicodeSet,icu::UCharCharacterIterator,icu::StringCharacterIterator,icu::ResourceBundle,icu::RuleBasedBreakIterator,icu::ParsePosition,icu::Normalizer,icu::Locale,icu::DateInterval, andicu::CanonicalIterator.


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

Generated by doxygen 1.9.1
[8]ページ先頭

©2009-2025 Movatter.jp