Puma Reference Manual | Puma: Puma::CTypePointer Class Reference |
Type of a pointer. More...
#include <Puma/CTypeInfo.h>
Public Member Functions | |
CTypePointer (CTypeInfo *base) | |
Constructor. | |
~CTypePointer () | |
Destructor. | |
Protected Member Functions | |
CTypePointer (CTypeInfo *base, CTypeInfo::TypeId id) | |
Constructor. |
Type of a pointer.
Examples:
int* ip = 0; // ip has type 'pointer to int' // type structure: // CTypePointer // CTypePrimitive int const char* s = 0; // s has type 'pointer to const char' // type structure: // CTypePointer // CTypeQualified const // CTypePrimitive char
Puma::CTypePointer::CTypePointer | ( | CTypeInfo * | base, |
CTypeInfo::TypeId | id | ||
) | [inline, protected] |
Constructor.
base | The base type. |
id | The type identifier. |
Puma::CTypePointer::CTypePointer | ( | CTypeInfo * | base | ) | [inline] |
Puma::CTypePointer::~CTypePointer | ( | ) | [inline] |
Destructor.