Puma Reference Manual Puma: Puma::CT_ConversionName Class Reference



Puma::CT_ConversionName Class Reference

#include <Puma/CTree.h>

Inheritance diagram for Puma::CT_ConversionName:

Inheritance graph

List of all members.


Detailed Description

Tree node representing the name of a conversion function.

Example:

 operator int* 

Public Member Functions

 CT_ConversionName (CTree *f, CTree *t)
 Constructor.
const char * NodeName () const
 Get the name of the node.
CT_NamedTypeTypeName () const
 Get the conversion type.
void * operator new (size_t)
 Own new operator reusing memory.
void operator delete (void *)
 Own delete operator.

Static Public Member Functions

static const char * NodeId ()
 Get the identifier for this node type.

Constructor & Destructor Documentation

Puma::CT_ConversionName::CT_ConversionName ( CTree f,
CTree t 
)

Constructor.

Parameters:
f The operator function keyword 'operator'.
t The sub-tree containing the conversion type.


Member Function Documentation

static const char* Puma::CT_ConversionName::NodeId (  )  [static]

Get the identifier for this node type.

Can be compared with NodeName().

Reimplemented from Puma::CT_SimpleName.

const char* Puma::CT_ConversionName::NodeName (  )  const [inline, virtual]

Get the name of the node.

Can be compared with NodeId().

Reimplemented from Puma::CT_SimpleName.

CT_NamedType* Puma::CT_ConversionName::TypeName (  )  const [inline]

Get the conversion type.

void* Puma::CT_ConversionName::operator new ( size_t   ) 

Own new operator reusing memory.

Reimplemented from Puma::CT_SpecialName.

void Puma::CT_ConversionName::operator delete ( void *   ) 

Own delete operator.

Reimplemented from Puma::CT_SpecialName.




Puma Reference Manual. Created on 5 Nov 2008.