Value:
UClassID U_EXPORT2 myClass::getStaticClassID() { \
static char classID = 0; \
return (UClassID)&classID; \
} \
UClassID myClass::getDynamicClassID() const \
{ return myClass::getStaticClassID(); }
This is a simple macro to add ICU RTTI to an ICU object implementation. This does not go into the header. This should only be used in *.cpp files.
- Parameters:
-
| myClass | The name of the class that needs RTTI defined. |
For internal use only.
Definition at line 294 of file uobject.h.