42#define U_NO_THROW throw()
114#ifdef SHAPER_MEMORY_DEBUG
115 static void *
NewArray(
int size,
int count);
120#if U_OVERRIDE_CXX_ALLOCATION
155#if U_HAVE_PLACEMENT_NEW
170#if U_HAVE_DEBUG_LOCATION_NEW
285#ifndef U_HIDE_INTERNAL_API
293#define UOBJECT_DEFINE_RTTI_IMPLEMENTATION(myClass) \
294 UClassID U_EXPORT2 myClass::getStaticClassID() { \
295 static char classID = 0; \
296 return (UClassID)&classID; \
298 UClassID myClass::getDynamicClassID() const \
299 { return myClass::getStaticClassID(); }
310#define UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION(myClass) \
311 UClassID U_EXPORT2 myClass::getStaticClassID() { \
312 static char classID = 0; \
313 return (UClassID)&classID; \
"Smart pointer" base class; do not use directly: use LocalPointer etc.
UMemory is the common ICU base class.
UObject is the common ICU "boilerplate" class.
virtual UClassID getDynamicClassID() const
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
virtual ~UObject()
Destructor.
U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
UBool operator!=(const StringPiece &x, const StringPiece &y)
Global operator != for StringPiece.
int8_t UBool
The ICU boolean type.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
Basic definitions for ICU, for both C and C++ APIs.
#define U_COMMON_API
Set to export library symbols from inside the common library, and to import them from outside.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.