Puma::CT_ConstCast Class Reference

#include <Puma/CTree.h>

Inheritance diagram for Puma::CT_ConstCast:

Inheritance graph

List of all members.


Detailed Description

Tree node representing a const cast, e.g. const_cast<int>(a).

Public Member Functions

 CT_ConstCast (CTree *cst, CTree *o, CTree *t, CTree *c, CTree *e)
const char * NodeName () const

Static Public Member Functions

static const char * NodeId ()

Constructor & Destructor Documentation

Puma::CT_ConstCast::CT_ConstCast ( CTree cst,
CTree o,
CTree t,
CTree c,
CTree e 
) [inline]

Constructor.

Parameters:
cst The cast operator, i.e. 'const_cast'.
o Left arrow bracket of the type name.
t The type to cast to.
c Right array bracket of the type name.
e The expression to cast.


Member Function Documentation

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

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

Reimplemented from Puma::CT_StaticCast.

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

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

Reimplemented from Puma::CT_StaticCast.


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