#include <FUObjectType.h>
Public Member Functions | |
FUObjectType (const char *typeName) | |
[INTERNAL] Constructor: do not use directly. | |
FUObjectType (const FUObjectType &parent, const char *typeName) | |
[INTERNAL] Constructor: do not use directly. | |
const FUObjectType & | GetParent () const |
Retrieves the type of the down-class. | |
bool | Includes (const FUObjectType &otherType) const |
Retrieves whether this object type includes a given object type. | |
bool | operator== (const FUObjectType &otherType) const |
Retrieves whether a given object type is equivalent to this object type. | |
bool | operator!= (const FUObjectType &otherType) const |
Retrieves whether a given object type is different from this object type. |
Used for RTTI-purpose and to easily allow up-classing of objects. Every object class should have one object type has a static member and available through the virtual FUObject::GetObjectType function. All FUObject up-classes should use the DeclareObjectType macro.
|
[INTERNAL] Constructor: do not use directly. Only the FUObject class should use this constructor. All other class object types should use the constructor below. Use neither constructor directly: use the ImplementObjectType macro.
|
|
[INTERNAL] Constructor: do not use directly. Use the ImplementObjectType macro.
|
|
Retrieves the type of the down-class.
|
|
Retrieves whether this object type includes a given object type. This function allows you to verify if this object type is of a given object type or some up-class of the given object type. You should use this comparison function before up-casting an object.
|
|
Retrieves whether a given object type is different from this object type.
|
|
Retrieves whether a given object type is equivalent to this object type.
|