#include <type.h>
Inheritance diagram for RTTIPtrType:
Public Types | |
enum | TypeTag { RTTI_UNKNOWN, RTTI_VOID, RTTI_CHAR, RTTI_UCHAR, RTTI_SCHAR, RTTI_SHORT, RTTI_USHORT, RTTI_INT, RTTI_UINT, RTTI_LONG, RTTI_ULONG, RTTI_FLOAT, RTTI_DOUBLE, RTTI_BOOL, RTTI_ARRAY, RTTI_STRUCT, RTTI_PTR, RTTI_DERIVED, RTTI_METHOD } |
Public Methods | |
RTTIPtrType (RTTIType *ptrType) | |
void | getTypeName (char *buf) |
int | getTag () |
bool | isBuiltin () |
bool | isScalar () |
bool | isArray () |
bool | isPointer () |
bool | isClass () |
bool | isBaseClass () |
Static Public Attributes | |
RTTIType | voidType |
RTTIType | charType |
RTTIType | ucharType |
RTTIType | scharType |
RTTIType | shortType |
RTTIType | ushortType |
RTTIType | intType |
RTTIType | uintType |
RTTIType | longType |
RTTIType | ulongType |
RTTIType | floatType |
RTTIType | doubleType |
RTTIType | boolType |
RTTIType | unknownType |
Protected Methods | |
void | destroy () |
Protected Attributes | |
RTTIType * | ptrType |
int | tag |
Friends | |
class | RTTIClassDescriptor |
class | RTTIFieldDescriptor |
class | RTTIMethodDescriptor |
|
Get type tag
|
|
Get name of the type as it is written in C, for example (char*, int[10])
Reimplemented from RTTIType. |
|
Checks whether it is array type |
|
Checks whether type represents inhertited base class |
|
Checks whether it is built-in type |
|
Checks whether it is class or struct type |
|
Checks whether it is pointer type |
|
Checks whether it is integer of floating point type |