Puma::CT_SliceRef Class Reference

#include <ACTree.h>

Inheritance diagram for Puma::CT_SliceRef:

Inheritance graph

List of all members.

Public Member Functions

 CT_SliceRef (CTree *sl, CTree *n, CTree *se)
const char * NodeName () const
int Sons () const
CTreeSon (int n) const
void ReplaceSon (CTree *old_son, CTree *new_son)
CT_SimpleNamename () const

Static Public Member Functions

static const char * NodeId ()


Constructor & Destructor Documentation

Puma::CT_SliceRef::CT_SliceRef ( CTree sl,
CTree n,
CTree se 
) [inline]


Member Function Documentation

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

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

Get the node name (node identifier).

Implements Puma::CTree.

int Puma::CT_SliceRef::Sons (  )  const [inline, virtual]

Get the number of sons.

Implements Puma::CTree.

CTree* Puma::CT_SliceRef::Son ( int  n  )  const [inline, virtual]

Get the n-th son.

Parameters:
n The index of the son.
Returns:
The n-th son or NULL.

Reimplemented from Puma::CTree.

void Puma::CT_SliceRef::ReplaceSon ( CTree old_son,
CTree new_son 
) [inline, virtual]

Replace a son.

Parameters:
old_son The son to replace.
new_son The son with which to replace.

Reimplemented from Puma::CTree.

CT_SimpleName* Puma::CT_SliceRef::name (  )  const [inline]


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