ICU 4.4.2 4.4.2

UMemory Class Reference

UMemory is the common ICU base class. More...

#include <uobject.h>

Inheritance diagram for UMemory:
ByteSink ErrorCode StringPiece UObject CheckedArrayByteSink BoyerMooreSearch BreakIterator Calendar CanonicalIterator CEList CollationElementIterator CollationKey Collator CollatorFactory CollData CurrencyPluralInfo DateFormatSymbols DateInterval DateIntervalInfo DateTimePatternGenerator DateTimeRule DecimalFormatSymbols FieldPosition FieldPositionIterator Format Formattable ForwardCharacterIterator LayoutEngine LEFontInstance LEGlyphStorage Locale LocaleDisplayNames Measure MeasureUnit Normalizer Normalizer2 NumberFormatFactory NumberingSystem ParagraphLayout ParagraphLayout::Line ParagraphLayout::VisualRun ParsePosition PluralRules RegexMatcher RegexPattern Replaceable ResourceBundle RunArray SearchIterator StringEnumeration StringList TimeZone TimeZoneRule TimeZoneTransition Transliterator UnicodeFunctor UnicodeSetIterator

Detailed Description

UMemory is the common ICU base class.

All other ICU C++ classes are derived from UMemory (starting with ICU 2.4).

This is primarily to make it possible and simple to override the C++ memory management by adding new/delete operators to this base class.

To override ALL ICU memory management, including that from plain C code, replace the allocation functions declared in cmemory.h

UMemory does not contain any virtual functions. Common "boilerplate" functions are defined in UObject.

Stable:
ICU 2.4

Definition at line 101 of file uobject.h.


The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines