![]() |
Gorgon Game Engine
|
This class contains information about a runtime type. More...
Public Member Functions | |
virtual long | GetSize () const =0 |
Returns the size of the object. More... | |
virtual bool | IsConstant () const =0 |
Returns if this type is a constant. More... | |
virtual bool | IsPointer () const =0 |
Returns if this type is pointer. More... | |
virtual bool | IsReference () const =0 |
Returns if this type is a reference. More... | |
template<class T_ > | |
bool | IsSameType () const |
Compares the type stored with this service to the given type. More... | |
virtual bool | IsSameType (const std::type_info &) const =0 |
Compares the type stored with this service to the given type info. More... | |
std::string | Name () const |
Returns human readable name of the type. More... | |
operator const std::type_info & () const | |
bool | operator!= (const std::type_info &info) const |
bool | operator== (const std::type_info &info) const |
TypeInfo | |
virtual const std::type_info & | TypeInfo () const =0 |
This class contains information about a runtime type.
|
pure virtual |
Returns the size of the object.
|
pure virtual |
Returns if this type is a constant.
|
pure virtual |
Returns if this type is pointer.
|
pure virtual |
Returns if this type is a reference.
bool IsSameType | ( | ) | const |
Compares the type stored with this service to the given type.
|
pure virtual |
Compares the type stored with this service to the given type info.
std::string Name | ( | ) | const |
Returns human readable name of the type.
References RTTI::TypeInfo().
operator const std::type_info & | ( | ) | const |
References RTTI::TypeInfo().
bool operator!= | ( | const std::type_info & | info | ) | const |
References RTTI::IsSameType().
bool operator== | ( | const std::type_info & | info | ) | const |
References RTTI::IsSameType().
|
pure virtual |