| @root | classes |
class BinaryOperator | ^ |
this is the generic birary operator node (num op num)
- Source:
- binaryop.h:14
- Author:
- unascribed
- Version:
- unknown
Contents | ^ |
Entity Inherited From Type Scope Short Description ~BinaryOperator destructor public undocumented BinaryOperator constructor public undocumented BinaryOperator constructor public automatically generated copy Node method public returns a copy of the entire tree recursively description Node method public undocumented evaluate Node method public returns the value stored up in the tree by expanding operators GetChild Node method public undocumented GetKey Node method public undocumented GetLeftChild method public undocumented GetRightChild method public undocumented operator = operator public automatically generated Precedence Node method 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 method public undocumented SetChild Node method public deprecated function - now replaced by SetLeftChild and SetRightChild for extended control SetLeftChild method public undocumented SetRightChild method public undocumented
destructor ~BinaryOperator | ? ^ > |
undocumented
- Source:
- binaryop.h:18
- Code:
public virtual ~ BinaryOperator ( )
constructor BinaryOperator | ? ^ < > |
undocumented
- Source:
- binaryop.h:16
constructor BinaryOperator | ? ^ < > |
automatically generated
- Source:
- binaryop.h
- Code:
public BinaryOperator ( const BinaryOperator & )
method copy | ? ^ < > |
returns a copy of the entire tree recursively
- Inherited From:
- Node
- Source:
- nodes.h:39
- Code:
public virtual Node * copy ( ) = 0
method description | ? ^ < > |
undocumented
- Inherited From:
- Node
- Source:
- nodes.h:41
- Code:
public virtual string description ( ) const = 0
method evaluate | ? ^ < > |
returns the value stored up in the tree by expanding operators
- Inherited From:
- Node
- Source:
- nodes.h:31
- Code:
public virtual myType evaluate ( ) const = 0
method GetChild | ? ^ < > |
undocumented
- Inherited From:
- Node
- Source:
- nodes.h:79
- Code:
public virtual Node * GetChild ( )
method GetKey | ? ^ < > |
undocumented
- Inherited From:
- Node
- Source:
- nodes.h:83
- Code:
public virtual string GetKey ( ) const
method GetLeftChild | ? ^ < > |
undocumented
- Source:
- binaryop.h:25
- Code:
public virtual Node * GetLeftChild ( )
method GetRightChild | ? ^ < > |
undocumented
- Source:
- binaryop.h:26
- Code:
public virtual Node * GetRightChild ( )
operator = | ? ^ < > |
automatically generated
- Source:
- binaryop.h
- Code:
public BinaryOperator & operator = ( const BinaryOperator & )
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
- Inherited From:
- Node
- Source:
- nodes.h:51
- Code:
public virtual int Precedence ( ) const
method print | ? ^ < > |
undocumented
- Source:
- binaryop.h:20
- Code:
public virtual void print ( ostream & out ) const
method SetChild | ? ^ < > |
deprecated function - now replaced by SetLeftChild and SetRightChild for extended control
- Inherited From:
- Node
- Source:
- nodes.h:56
- Code:
public virtual void SetChild ( Node * r )
method SetLeftChild | ? ^ < > |
undocumented
- Source:
- binaryop.h:22
- Code:
public virtual void SetLeftChild ( Node * l )
method SetRightChild | ? ^ < > |
undocumented
- Source:
- binaryop.h:23
- Code:
public virtual void SetRightChild ( Node * r )
Created Mon Oct 7 11:43:04 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.