Puma Reference Manual | Puma: Puma::CT_TemplateName Class Reference |
#include <Puma/CTree.h>
Example:
X<T>
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. |
Constructor.
n | The template class or function name. | |
a | 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] |
CT_TemplateArgList* Puma::CT_TemplateName::Arguments | ( | ) | const [inline] |
Get the template argument list.
CT_SimpleName* Puma::CT_TemplateName::TemplateName | ( | ) | const [inline] |
Get the template class or function name.
const char* Puma::CT_TemplateName::Text | ( | ) | const [inline, virtual] |
void* Puma::CT_TemplateName::operator new | ( | size_t | ) |
void Puma::CT_TemplateName::operator delete | ( | void * | ) |