@root classes

class BinaryOperator

^ 
    extends Node as public

this is the generic birary operator node (num op num)
Source:
binaryop.h:14
Author:
unascribed
Version:
unknown

Contents

^ 
EntityInherited FromTypeScopeShort Description
~BinaryOperatordestructor publicundocumented
BinaryOperatorconstructor publicundocumented
BinaryOperatorconstructor publicautomatically generated
copyNodemethod public returns a copy of the entire tree recursively
descriptionNodemethod publicundocumented
evaluateNodemethod public returns the value stored up in the tree by expanding operators
GetChildNodemethod publicundocumented
GetKeyNodemethod publicundocumented
GetLeftChildmethod publicundocumented
GetRightChildmethod publicundocumented
operator =operator publicautomatically generated
PrecedenceNodemethod 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 publicundocumented
SetChildNodemethod public deprecated function - now replaced by SetLeftChild and SetRightChild for extended control
SetLeftChildmethod publicundocumented
SetRightChildmethod publicundocumented

destructor ~BinaryOperator

? ^  > 
undocumented
Source:
binaryop.h:18
Code:
public virtual ~ BinaryOperator ( )

constructor BinaryOperator

? ^  < > 
undocumented
Source:
binaryop.h:16
Code:
public BinaryOperator ( Node * lhs ,
Node * rhs )

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.