Puma::CT_QualName Class Reference

#include <Puma/CTree.h>

Inheritance diagram for Puma::CT_QualName:

Inheritance graph

List of all members.


Detailed Description

Tree node representing a qualified name, e.g. X::Y::Z.

Public Member Functions

 CT_QualName (int size=3)
const char * NodeName () const
void print (ostream &os) const
CT_SimpleNameName () const
const char * Text () const
CTypeInfoType () const
CExprValueValue () const
CSemValueSemValue () const
CSemObjectSemObject () const
void * operator new (size_t)
void operator delete (void *)

Static Public Member Functions

static const char * NodeId ()

Constructor & Destructor Documentation

Puma::CT_QualName::CT_QualName ( int  size = 3  )  [inline]

Constructor.

Parameters:
size The initial number sub-names plus separators.


Member Function Documentation

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

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

Reimplemented from Puma::CT_SimpleName.

Reimplemented in Puma::CT_RootQualName.

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

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

Reimplemented from Puma::CT_SimpleName.

Reimplemented in Puma::CT_RootQualName.

void Puma::CT_QualName::print ( ostream &  os  )  const [virtual]

Print the qualified name on the given stream.

Parameters:
os The output stream.

Reimplemented from Puma::CT_SimpleName.

CT_SimpleName* Puma::CT_QualName::Name (  )  const [inline, virtual]

Get the last name of the qualified name, e.g. Z of qualified name X::Y::Z.

Reimplemented from Puma::CT_SimpleName.

const char* Puma::CT_QualName::Text (  )  const [inline, virtual]

Get the string containing the last name of the qualified name.

Reimplemented from Puma::CT_SimpleName.

CTypeInfo* Puma::CT_QualName::Type (  )  const [inline, virtual]

Get the type of the last name.

Reimplemented from Puma::CT_SimpleName.

CExprValue* Puma::CT_QualName::Value (  )  const [inline, virtual]

Get the value of the last name.

Reimplemented from Puma::CT_SimpleName.

CSemValue* Puma::CT_QualName::SemValue (  )  const [inline, virtual]

Get the semantic value object of the last name.

Reimplemented from Puma::CT_SimpleName.

CSemObject* Puma::CT_QualName::SemObject (  )  const [inline, virtual]

Get the semantic information object of the last name.

Reimplemented from Puma::CT_SimpleName.

void* Puma::CT_QualName::operator new ( size_t   ) 

Own new operator reusing memory.

Reimplemented from Puma::CT_SimpleName.

Reimplemented in Puma::CT_RootQualName.

void Puma::CT_QualName::operator delete ( void *   ) 

Own delete operator.

Reimplemented from Puma::CT_SimpleName.

Reimplemented in Puma::CT_RootQualName.


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