Puma Reference Manual Puma: Puma::CT_TemplateName Class Reference



Puma::CT_TemplateName Class Reference

Tree node representing a template name. More...

#include <Puma/CTree.h>

Inherits Puma::CT_SpecialName.

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:
n The template class or function name.
a The template argument list.

Member Function Documentation

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]

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.

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.




Puma Reference Manual. Created on 11 Sep 2009.