Puma Reference Manual Puma: Puma::CTypePointer Class Reference



Puma::CTypePointer Class Reference

Type of a pointer. More...

#include <Puma/CTypeInfo.h>

Inherits Puma::CTypeInfo.

Inherited by Puma::CTypeMemberPointer.

List of all members.

Public Member Functions

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

Protected Member Functions

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

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

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 11 Sep 2009.