Puma::CT_OrderDecl Class Reference

#include <ACTree.h>

Inheritance diagram for Puma::CT_OrderDecl:

Inheritance graph

List of all members.

Public Member Functions

 CT_OrderDecl (CTree *o, CTree *ol, CTree *s)
const char * NodeName () const
int Sons () const
CTreeSon (int n) const
void ReplaceSon (CTree *old_son, CTree *new_son)
CT_OrderListOrderList () const

Static Public Member Functions

static const char * NodeId ()


Constructor & Destructor Documentation

Puma::CT_OrderDecl::CT_OrderDecl ( CTree o,
CTree ol,
CTree s 
) [inline]


Member Function Documentation

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

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

Get the node name (node identifier).

Implements Puma::CTree.

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

Get the number of sons.

Implements Puma::CTree.

CTree* Puma::CT_OrderDecl::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_OrderDecl::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_OrderList* Puma::CT_OrderDecl::OrderList (  )  const [inline]


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