Main Page   Class Hierarchy   Compound List   File List   Compound Members  

RTTIPtrType Class Reference

#include <type.h>

Inheritance diagram for RTTIPtrType:

RTTIType List of all members.

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

RTTITypeptrType
int tag

Friends

class RTTIClassDescriptor
class RTTIFieldDescriptor
class RTTIMethodDescriptor

Detailed Description

Pointer type


Member Function Documentation

int RTTIType::getTag   [inline, inherited]
 

Get type tag

Returns:
one of TypeTag enumaration constants

void RTTIPtrType::getTypeName char *    buf [virtual]
 

Get name of the type as it is written in C, for example (char*, int[10])

Parameters:
buf  buffer to which type name will be printed

Reimplemented from RTTIType.

bool RTTIType::isArray   [inline, inherited]
 

Checks whether it is array type

bool RTTIType::isBaseClass   [inline, inherited]
 

Checks whether type represents inhertited base class

bool RTTIType::isBuiltin   [inline, inherited]
 

Checks whether it is built-in type

bool RTTIType::isClass   [inline, inherited]
 

Checks whether it is class or struct type

bool RTTIType::isPointer   [inline, inherited]
 

Checks whether it is pointer type

bool RTTIType::isScalar   [inline, inherited]
 

Checks whether it is integer of floating point type


The documentation for this class was generated from the following file:
Generated on Fri Apr 26 17:39:24 2002 for CppReflection by doxygen1.2.15