#include <Puma/CTree.h>
Public Member Functions | |
CT_PrivateName (const char *n) | |
const char * | NodeName () const |
int | Sons () const |
CTree * | Son (int n) const |
void * | operator new (size_t) |
void | operator delete (void *) |
Static Public Member Functions | |
static const char * | NodeId () |
Puma::CT_PrivateName::CT_PrivateName | ( | const char * | n | ) | [inline] |
Constructor.
n | The private (generated) name. |
static const char* Puma::CT_PrivateName::NodeId | ( | ) | [static] |
Get the identifier for this node type. Can be compared with NodeName().
Reimplemented from Puma::CT_SimpleName.
const char* Puma::CT_PrivateName::NodeName | ( | ) | const [inline, virtual] |
Get the name of the node. Can be compared with NodeId().
Reimplemented from Puma::CT_SimpleName.
int Puma::CT_PrivateName::Sons | ( | ) | const [inline, virtual] |
Get the number of sons.
Reimplemented from Puma::CT_List.
CTree* Puma::CT_PrivateName::Son | ( | int | n | ) | const [inline, virtual] |
Get the n-th son.
n | The index of the son. |
Reimplemented from Puma::CT_List.
void* Puma::CT_PrivateName::operator new | ( | size_t | ) |
Own new operator reusing memory.
Reimplemented from Puma::CT_SpecialName.
void Puma::CT_PrivateName::operator delete | ( | void * | ) |
Own delete operator.
Reimplemented from Puma::CT_SpecialName.