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

#define UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION ( myClass   ) 

Value:

UClassID U_EXPORT2 myClass::getStaticClassID() { \
        static char classID = 0; \
        return (UClassID)&classID; \
    }
This macro adds ICU RTTI to an ICU abstract class implementation. This macro should be invoked in *.cpp files. The corresponding header should declare getStaticClassID.

Parameters:
myClass The name of the class that needs RTTI defined.

For internal use only.

Definition at line 314 of file uobject.h.


Generated by  Doxygen 1.6.0   Back to index