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

U_CAPI UClassID U_EXPORT2 vzone_getDynamicClassID ( VZone zone  ) 

Returns a unique class ID POLYMORPHICALLY. Pure virtual override. This method is to implement a simple version of RTTI, since not all C++ compilers support genuine RTTI. Polymorphic operator==() and clone() methods call this method.

zone,the vzone to use
The class ID for this object. All objects of a given class have the same class ID. Objects of other classes have different class IDs. ICU 4.4

Definition at line 179 of file vzone.cpp.

    return ((VTimeZone*)zone)->VTimeZone::getDynamicClassID();

Generated by  Doxygen 1.6.0   Back to index