Puma::CT_SimpleName Class Reference

#include <Puma/CTree.h>

Inheritance diagram for Puma::CT_SimpleName:

Inheritance graph

List of all members.


Detailed Description

Base class for all tree nodes representing a name.

Public Member Functions

 CT_SimpleName (CTree *n)
const char * NodeName () const
virtual const char * Text () const
virtual void print (ostream &os) const
virtual CT_SimpleNameName () const
CTypeInfoType () const
CExprValueValue () const
CSemValueSemValue () const
CSemObjectSemObject () const
virtual CT_SimpleNameIsSimpleName ()
void * operator new (size_t)
void operator delete (void *)

Static Public Member Functions

static const char * NodeId ()

Protected Member Functions

 CT_SimpleName (int size)
 CT_SimpleName (int size, int properties)

Constructor & Destructor Documentation

Puma::CT_SimpleName::CT_SimpleName ( int  size  )  [inline, protected]

Constructor.

Parameters:
size The number of sub-names (for qualified names).

Puma::CT_SimpleName::CT_SimpleName ( int  size,
int  properties 
) [inline, protected]

Constructor.

Parameters:
size The number of sub-names (for qualified names).
properties Additional name list properties (for root qualified names).

Puma::CT_SimpleName::CT_SimpleName ( CTree n  )  [inline]

Constructor.

Parameters:
n The sub-tree containing the name.


Member Function Documentation

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

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

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

Get the string containing the name.

Reimplemented in Puma::CT_SpecialName, Puma::CT_TemplateName, and Puma::CT_QualName.

virtual void Puma::CT_SimpleName::print ( ostream &  os  )  const [inline, virtual]

Print the name on the given stream.

Parameters:
os The output stream.

Implements Puma::Printable.

Reimplemented in Puma::CT_QualName.

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

Get this.

Reimplemented in Puma::CT_QualName.

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

Get the type of the entity represented by the name.

Reimplemented from Puma::CTree.

Reimplemented in Puma::CT_QualName.

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

Get the value of the entity represented by the name.

Reimplemented from Puma::CTree.

Reimplemented in Puma::CT_QualName.

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

Get the sematic value information object.

Reimplemented from Puma::CTree.

Reimplemented in Puma::CT_QualName.

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

Get the sematic information object.

Reimplemented from Puma::CTree.

Reimplemented in Puma::CT_QualName.

virtual CT_SimpleName* Puma::CT_SimpleName::IsSimpleName (  )  [inline, virtual]

Get this.

Reimplemented from Puma::CTree.

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

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


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