#include <type.h>
Inheritance diagram for RTTIType:

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 | |
| int | getTag () |
| virtual void | getTypeName (char *buf) |
| bool | isBuiltin () |
| bool | isScalar () |
| bool | isArray () |
| bool | isPointer () |
| bool | isClass () |
| bool | isBaseClass () |
| ~RTTIType () | |
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 () |
| RTTIType (int tag) | |
Protected Attributes | |
| int | tag |
Friends | |
| class | RTTIClassDescriptor |
| class | RTTIFieldDescriptor |
| class | RTTIMethodDescriptor |
|
|
Type descructor |
|
|
Get type tag
|
|
|
Get name of the type as it is written in C, for example (char*, int[10])
Reimplemented in RTTIClassDescriptor, RTTIPtrType, RTTIArrayType, RTTIDerivedType, and RTTIMethodType. |
|
|
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 |
1.2.15