![]() |
Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/rtti/Type.h>
Public Member Functions | |
PointerType (const Type &to) | |
virtual bool | isPtr (void) const override |
virtual const PointerType & | asPtr (void) const override |
const Type & | to (void) const |
![]() | |
Type (string name="") | |
virtual | ~Type (void) |
string | name (void) const |
const PointerType & | pointer (void) const |
virtual bool | canCast (const Type *t) const |
virtual bool | isVoid (void) const |
virtual bool | isBool (void) const |
virtual bool | isInt (void) const |
virtual bool | isFloat (void) const |
virtual bool | isClass (void) const |
virtual const AbstractClass & | asClass (void) const |
virtual bool | isEnum (void) const |
virtual const Enumerable & | asEnum (void) const |
virtual bool | isSerial (void) const |
virtual const Serializable & | asSerial (void) const |
virtual const TemplateType * | asTemplate (void) const |
virtual const InstanceType * | asInstance (void) const |
virtual const ParamType * | asParam (void) const |
void | initialize (void) |
bool | operator== (const Type &t) const |
bool | operator!= (const Type &t) const |
Additional Inherited Members | |
![]() | |
typedef HashMap< string, const Type * >::Iter | TypeIter |
![]() | |
static const Type * | get (string name) |
static TypeIter | types (void) |
![]() | |
static const Type & | param0 |
static const Type & | param1 |
static const Type & | param2 |
static const Type & | param3 |
Type representing a pointer to another type.
PointerType | ( | const Type & | to | ) |
|
overridevirtual |
Get the class description corresponding to this type. If the type is not a pointer, an assertion failure is raised.
Reimplemented from Type.
Test if the type is a pointer.
Reimplemented from Type.