Puma Reference Manual Puma: Puma::CT_RootQualName Class Reference



Puma::CT_RootQualName Class Reference

#include <Puma/CTree.h>

Inheritance diagram for Puma::CT_RootQualName:

Inheritance graph

List of all members.


Detailed Description

Tree node representing a qualified name with introducing name separator.

Example:

 ::X::Y::Z 

Public Member Functions

 CT_RootQualName (int size=2)
 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.

Constructor & Destructor Documentation

Puma::CT_RootQualName::CT_RootQualName ( int  size = 2  )  [inline]

Constructor.

Parameters:
size Initial number of sub-name plus separator.


Member Function Documentation

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

Get the identifier for this node type.

Can be compared with NodeName().

Reimplemented from Puma::CT_QualName.

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

Get the name of the node.

Can be compared with NodeId().

Reimplemented from Puma::CT_QualName.

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

Own new operator reusing memory.

Reimplemented from Puma::CT_QualName.

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

Own delete operator.

Reimplemented from Puma::CT_QualName.




Puma Reference Manual. Created on 5 Nov 2008.