Go to the source code of this file.
Classes | |
class | FUObjectType |
An object type. More... | |
Defines | |
#define | DeclareObjectType |
Declares the object type for an object class. | |
#define | ImplementObjectType(ClassName, ParentClassName) FUObjectType ClassName::__classType(ParentClassName::GetClassType(), #ClassName) \ |
Implements the object type for an object class. |
|
Value: private: \ static class FUObjectType __classType; \ public: \ static const FUObjectType& GetClassType() { return __classType; } \ virtual const FUObjectType& GetObjectType() const { return __classType; } \ private: Use this macro inside the class declarations of up-classes of the FUObject class to easily implement RTTI. |
|
Implements the object type for an object class. Use this macro inside your code files only to create the objects necessary to support RTTI in your up-classes of the FUObject class.
|