Go to the documentation of this file.
42 #define U_NO_THROW throw()
114 #ifdef SHAPER_MEMORY_DEBUG
115 static void * NewArray(
int size,
int count);
116 static void * GrowArray(
void * array,
int newSize );
117 static void FreeArray(
void * array );
120 #if U_OVERRIDE_CXX_ALLOCATION
129 static void * U_EXPORT2
operator new(
size_t size) U_NO_THROW;
136 static void * U_EXPORT2
operator new[](
size_t size) U_NO_THROW;
146 static void U_EXPORT2
operator delete(
void *p) U_NO_THROW;
153 static void U_EXPORT2
operator delete[](
void *p) U_NO_THROW;
155 #if U_HAVE_PLACEMENT_NEW
161 static inline void * U_EXPORT2
operator new(size_t,
void *ptr) U_NO_THROW {
return ptr; }
168 static inline void U_EXPORT2
operator delete(
void *,
void *) U_NO_THROW {}
170 #if U_HAVE_DEBUG_LOCATION_NEW
178 static void * U_EXPORT2
operator new(
size_t size,
const char* file,
int line) U_NO_THROW;
186 static void U_EXPORT2
operator delete(
void* p,
const char* file,
int line) U_NO_THROW;
239 virtual UClassID getDynamicClassID()
const;
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; \