@root classes

class Node

^ 
this is the parent class for everything some empty virtual functions are needed for it's inherited classes
Source:
nodes.h:21
Author:
unascribed
Version:
unknown

Contents

^ 
EntityTypeScopeShort Description
~Nodedestructor public default destructor
Nodeconstructor publicautomatically generated
Nodeconstructor publicautomatically generated
copymethod public returns a copy of the entire tree recursively
descriptionmethod publicundocumented
evaluatemethod public returns the value stored up in the tree by expanding operators
GetChildmethod publicundocumented
GetKeymethod publicundocumented
GetLeftChildmethod publicundocumented
GetRightChildmethod publicundocumented
operator =operator publicautomatically generated
Precedencemethod public returns a value correpsonding to the precedence of the operator, operand, or parentheses (higher value being higher precedence) Operands are the lowest, followed by normal order of operations rules
printmethod public prints the tree by recursively expanding children (if any)
SetChildmethod public deprecated function - now replaced by SetLeftChild and SetRightChild for extended control
SetLeftChildmethod public may change the child of an operator after creation.
SetRightChildmethod public may change the child of an operator after creation.

destructor ~Node

? ^  > 
default destructor
Source:
nodes.h:26
Code:
public virtual ~ Node ( )

constructor Node

? ^  < > 
automatically generated
Source:
nodes.h
Code:
public Node ( const Node & )

constructor Node

? ^  < > 
automatically generated
Source:
nodes.h
Code:
public Node ( )

method copy

? ^  < > 
returns a copy of the entire tree recursively
Source:
nodes.h:39
Code:
public virtual Node * copy ( ) = 0

method description

? ^  < > 
undocumented
Source:
nodes.h:41
Code:
public virtual string description ( ) const = 0

method evaluate

? ^  < > 
returns the value stored up in the tree by expanding operators
Source:
nodes.h:31
Code:
public virtual myType evaluate ( ) const = 0

method GetChild

? ^  < > 
undocumented
Source:
nodes.h:79
Code:
public virtual Node * GetChild ( )

method GetKey

? ^  < > 
undocumented
Source:
nodes.h:83
Code:
public virtual string GetKey ( ) const

method GetLeftChild

? ^  < > 
undocumented
Source:
nodes.h:75
Code:
public virtual Node * GetLeftChild ( )

method GetRightChild

? ^  < > 
undocumented
Source:
nodes.h:71
Code:
public virtual Node * GetRightChild ( )

operator =

? ^  < > 
automatically generated
Source:
nodes.h
Code:
public Node & operator = ( const Node & )

method Precedence

? ^  < > 
returns a value correpsonding to the precedence of the operator, operand, or parentheses (higher value being higher precedence) Operands are the lowest, followed by normal order of operations rules
Source:
nodes.h:51
Code:
public virtual int Precedence ( ) const

method print

? ^  < > 
prints the tree by recursively expanding children (if any)
Source:
nodes.h:35
Code:
public virtual void print ( ostream & out ) const = 0

method SetChild

? ^  < > 
deprecated function - now replaced by SetLeftChild and SetRightChild for extended control
Source:
nodes.h:56
Code:
public virtual void SetChild ( Node * r )

method SetLeftChild

? ^  < > 
may change the child of an operator after creation.

It will then point to Node l and evaluate itself based on that

Source:
nodes.h:61
Code:
public virtual void SetLeftChild ( Node * l )

method SetRightChild

? ^  < > 
may change the child of an operator after creation.

It will then point to Node r and evaluate itself based on that

Source:
nodes.h:66
Code:
public virtual void SetRightChild ( Node * l )

Created Mon Oct 7 11:43:06 2002.
This documentation was generated automatically by
ccdoc v0.8 r26 2001/11/28 bin_opt_suncc_solaris-2.8.
Click here to submit a bug report or feature request.
Click here to return to the top of the page.