![]() |
Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/rtti/type_of.h>
Public Member Functions | |
virtual | ~Object (void) |
virtual const Type & | getType (void) const |
Static Public Attributes | |
static const Type & | __type = single<ObjectClass>() |
Base class of classes which type is dynamically obtained at run-time.
Get the actual type of the current object. It is particularly useful when a class B extends a class A and one gets a pointer to class A and the actual poinetd object is of a class B.
References Object::__type.
|
static |
Referenced by Object::getType().