#include <Puma/CTree.h>
Public Member Functions | |
~CT_SpecialName () | |
const char * | Text () const |
void | Name (const char *n) |
void * | operator new (size_t) |
void | operator delete (void *) |
Protected Member Functions | |
CT_SpecialName (int size=1) |
Puma::CT_SpecialName::CT_SpecialName | ( | int | size = 1 |
) | [inline, protected] |
Constructor.
size | The number of sub-names (for qualified names). |
Puma::CT_SpecialName::~CT_SpecialName | ( | ) | [inline] |
Destructor. Deletes the name string.
const char* Puma::CT_SpecialName::Text | ( | ) | const [inline, virtual] |
Get the string containing the name.
Reimplemented from Puma::CT_SimpleName.
Reimplemented in Puma::CT_TemplateName.
void Puma::CT_SpecialName::Name | ( | const char * | n | ) | [inline] |
Set the name. The name is copied.
n | The name. |
void* Puma::CT_SpecialName::operator new | ( | size_t | ) |
Own new operator reusing memory.
Reimplemented from Puma::CT_SimpleName.
Reimplemented in Puma::CT_PrivateName, Puma::CT_DestructorName, Puma::CT_TemplateName, Puma::CT_OperatorName, and Puma::CT_ConversionName.
void Puma::CT_SpecialName::operator delete | ( | void * | ) |
Own delete operator.
Reimplemented from Puma::CT_SimpleName.
Reimplemented in Puma::CT_PrivateName, Puma::CT_DestructorName, Puma::CT_TemplateName, Puma::CT_OperatorName, and Puma::CT_ConversionName.