Puma Reference Manual Puma: Puma::CT_DestructorName Class Reference



Puma::CT_DestructorName Class Reference

Tree node representing a destructor name. More...

#include <Puma/CTree.h>

Inherits Puma::CT_SpecialName.

List of all members.

Public Member Functions

 CT_DestructorName (CTree *t, CTree *n)
 Constructor.
const char * NodeName () const
 Get the name of the node.
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.

Detailed Description

Tree node representing a destructor name.

Example:

 ~X 

Constructor & Destructor Documentation

Puma::CT_DestructorName::CT_DestructorName ( CTree t,
CTree n 
)

Constructor.

Parameters:
t The tilde operator.
n The class name.

Member Function Documentation

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

Get the identifier for this node type.

Can be compared with NodeName().

Reimplemented from Puma::CT_SimpleName.

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

Get the name of the node.

Can be compared with NodeId().

Reimplemented from Puma::CT_SimpleName.

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

Own delete operator.

Reimplemented from Puma::CT_SpecialName.

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

Own new operator reusing memory.

Reimplemented from Puma::CT_SpecialName.




Puma Reference Manual. Created on 18 Sep 2009.