|
virtual bool | IsOfTypeId (const TB_TYPE_ID type_id) const |
| Returns true if the class or the base class matches the type id.
|
|
template<class T > |
T * | SafeCastTo () const |
| Returns this object as the given type or nullptr if it's not that type. More...
|
|
template<class T > |
bool | IsOfType () const |
| Return true if this object can safely be casted to the given type. More...
|
|
virtual const char * | GetClassName () const |
| Get the classname of the object. More...
|
|
|
template<class T > |
static TB_TYPE_ID | GetTypeId () |
| A static template method that returns a unique id for each type. More...
|
|
virtual const char* tb::TBTypedObject::GetClassName |
( |
| ) |
const |
|
inlinevirtual |
Get the classname of the object.
template<class T >
static TB_TYPE_ID tb::TBTypedObject::GetTypeId |
( |
| ) |
|
|
inlinestatic |
A static template method that returns a unique id for each type.
template<class T >
bool tb::TBTypedObject::IsOfType |
( |
| ) |
const |
|
inline |
Return true if this object can safely be casted to the given type.
template<class T >
T* tb::TBTypedObject::SafeCastTo |
( |
| ) |
const |
|
inline |
Returns this object as the given type or nullptr if it's not that type.
The documentation for this class was generated from the following file:
- /ms/mdata2/tesch/home/src/turbobadger/src/tb/tb_object.h