Puma::CT_EnumSpec Class Reference

#include <Puma/CTree.h>

Inheritance diagram for Puma::CT_EnumSpec:

Inheritance graph

List of all members.


Detailed Description

Tree node representing an enumeration specifier, e.g. enum X.

Public Member Functions

 CT_EnumSpec (CTree *k, CTree *n)
const char * NodeName () const

Static Public Member Functions

static const char * NodeId ()

Constructor & Destructor Documentation

Puma::CT_EnumSpec::CT_EnumSpec ( CTree k,
CTree n 
) [inline]

Constructor.

Parameters:
k The 'enum' keyword.
n The name of the enumeration.


Member Function Documentation

static const char* Puma::CT_EnumSpec::NodeId (  )  [static]

Get the identifier for this node type. Can be compared with NodeName().

Reimplemented from Puma::CT_ClassSpec.

const char* Puma::CT_EnumSpec::NodeName (  )  const [inline, virtual]

Get the name of the node. Can be compared with NodeId().

Reimplemented from Puma::CT_ClassSpec.


Generated on Sat May 10 03:04:01 2008 for Puma by  doxygen 1.5.5