Puma Reference Manual Puma: Puma::CTypePointer Class Reference



Puma::CTypePointer Class Reference

#include <Puma/CTypeInfo.h>

Inheritance diagram for Puma::CTypePointer:

Inheritance graph

List of all members.


Detailed Description

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

Public Member Functions

 CTypePointer (CTypeInfo *base)
 Constructor.
 ~CTypePointer ()
 Destructor.

Protected Member Functions

 CTypePointer (CTypeInfo *base, CTypeInfo::TypeId id)
 Constructor.

Constructor & Destructor Documentation

Puma::CTypePointer::CTypePointer ( CTypeInfo base,
CTypeInfo::TypeId  id 
) [inline, protected]

Constructor.

Parameters:
base The base type.
id The type identifier.

Puma::CTypePointer::CTypePointer ( CTypeInfo base  )  [inline]

Constructor.

Type has id CTypeInfo::TYPE_POINTER.

Parameters:
base The base type.

Puma::CTypePointer::~CTypePointer (  )  [inline]

Destructor.




Puma Reference Manual. Created on 5 Nov 2008.