Puma Reference Manual | Puma: Puma::CT_TemplateName Class Reference |
Tree node representing a template name. More...
#include <Puma/CTree.h>
Public Member Functions | |
CT_TemplateName (CTree *n, CTree *a) | |
Constructor. | |
const char * | NodeName () const |
Get the name of the node. | |
CT_TemplateArgList * | Arguments () const |
Get the template argument list. | |
CT_SimpleName * | TemplateName () const |
Get the template class or function name. | |
const char * | Text () const |
Get the string containing the name. | |
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. |
Tree node representing a template name.
Example:
X<T>
Constructor.
n | The template class or function name. |
a | The template argument list. |
CT_TemplateArgList* Puma::CT_TemplateName::Arguments | ( | ) | const [inline] |
Get the template argument list.
static const char* Puma::CT_TemplateName::NodeId | ( | ) | [static] |
Get the identifier for this node type.
Can be compared with NodeName().
Reimplemented from Puma::CT_SimpleName.
const char* Puma::CT_TemplateName::NodeName | ( | ) | const [inline, virtual] |
void Puma::CT_TemplateName::operator delete | ( | void * | ) |
Own delete operator.
Reimplemented from Puma::CT_SpecialName.
void* Puma::CT_TemplateName::operator new | ( | size_t | ) |
Own new operator reusing memory.
Reimplemented from Puma::CT_SpecialName.
CT_SimpleName* Puma::CT_TemplateName::TemplateName | ( | ) | const [inline] |
Get the template class or function name.
const char* Puma::CT_TemplateName::Text | ( | ) | const [inline, virtual] |
Get the string containing the name.
Reimplemented from Puma::CT_SpecialName.