| Puma Reference Manual | Puma: Puma::CT_PrivateName Class Reference |
#include <Puma/CTree.h>

Private names are generated names for instance for abstract declarators. Example:
void foo(int*); // first parameter of foo has private name
Public Member Functions | |
| CT_PrivateName (const char *n) | |
| Constructor. | |
| const char * | NodeName () const |
| Get the name of the node. | |
| int | Sons () const |
| Get the number of sons. | |
| CTree * | Son (int n) const |
| Get the n-th son. | |
| 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. | |
| 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] |
| int Puma::CT_PrivateName::Sons | ( | ) | const [inline, virtual] |
| 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 | ) |
| void Puma::CT_PrivateName::operator delete | ( | void * | ) |