Logo Search packages:      
Sourcecode: icu version File versions  Download package



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.

myClass The name of the class that needs RTTI defined.

For internal use only.

Definition at line 297 of file uobject.h.

Generated by  Doxygen 1.6.0   Back to index