Puma Reference Manual Puma::CT_TemplateName Class Reference



Puma::CT_TemplateName Class Reference

Tree node representing a template name. More...

#include <Puma/CTree.h>

Inheritance diagram for Puma::CT_TemplateName:
Inheritance graph

List of all members.

Public Member Functions

 CT_TemplateName (CTree *n, CTree *a)
 Constructor.
const char * NodeName () const
 Get the name of the node.
CT_TemplateArgListArguments () const
 Get the template argument list.
CT_SimpleNameTemplateName () 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.

Detailed Description

Tree node representing a template name.

Example:

 X<T> 

Constructor & Destructor Documentation

Puma::CT_TemplateName::CT_TemplateName ( CTree n,
CTree a 
) [inline]

Constructor.

Parameters:
nThe template class or function name.
aThe template argument list.

Member Function Documentation

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]

Get the name of the node.

Can be compared with NodeId().

Reimplemented from Puma::CT_SimpleName.

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.

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.