Go to the source code of this file.
Define Documentation
#define NUX_DECLARE_OBJECT_TYPE |
( |
|
TypeName, |
|
|
|
SuperType |
|
) |
| |
Value:public: \
typedef SuperType SuperObject; \
static NObjectType StaticObjectType; \
public: \
virtual NObjectType& Type() const { return StaticObjectType; } \
NObjectType& GetTypeInfo() const { return StaticObjectType; }
#define NUX_DECLARE_ROOT_OBJECT_TYPE |
( |
|
TypeName | ) |
|
Value:public: \
typedef NObjectType SuperObject; \
static NObjectType StaticObjectType; \
public: \
virtual NObjectType& Type() const { return StaticObjectType; } \
NObjectType& GetTypeInfo() const { return StaticObjectType; }
#define NUX_IMPLEMENT_OBJECT_TYPE |
( |
|
TypeName | ) |
NObjectType TypeName::StaticObjectType(TEXT(#TypeName), &TypeName::SuperObject::StaticObjectType); |
#define NUX_IMPLEMENT_ROOT_OBJECT_TYPE |
( |
|
TypeName | ) |
NObjectType TypeName::StaticObjectType(TEXT(#TypeName), 0); |