| @root | classes |
class Plus | ^ |
This represents the contents of one node + the contents of another node
- Source:
- nodesv2.h:855
- Author:
- unascribed
- Version:
- unknown
Contents | ^ |
Entity Inherited From Type Scope Short Description ~Plus destructor public automatically generated Plus constructor public undocumented Plus constructor public automatically generated copy method public returns a pointer to a new copy of itself description method public return the description of the Node evaluate method public evaluate lhs + rhs getArgs Node method public used to access arguments of multi argument functions. getLHS Node method public return myLHS getRHS Node method public returns myRHS operator = operator public automatically generated Node method public prints the tree by recursively calling printToString for each child and then prints that string to out printToString BinaryOperator method public return a string of the operator along with its rhs and lhs setChildren Node method public set values for the lhs and rhs pointers
destructor ~Plus | ? ^ > |
automatically generated
- Source:
- nodesv2.h
- Code:
public ~ Plus ( )
constructor Plus | ? ^ < > |
undocumented
- Source:
- nodesv2.h:860
- Code:
public Plus ( Node * lhs , Node * rhs ) : BinaryOperator ( lhs , rhs )
constructor Plus | ? ^ < > |
automatically generated
- Source:
- nodesv2.h
- Code:
public Plus ( const Plus & )
method copy | ? ^ < > |
returns a pointer to a new copy of itself
- Source:
- nodesv2.h:877
- Code:
public virtual Node * copy ( ) const
method description | ? ^ < > |
return the description of the Node
- Source:
- nodesv2.h:885
- Code:
public virtual string description ( ) const
method evaluate | ? ^ < > |
evaluate lhs + rhs
- Source:
- nodesv2.h:868
- Code:
public virtual float evaluate ( ) const
method getArgs | ? ^ < > |
used to access arguments of multi argument functions.returns null if the node is not a MultiArgFunction
- Inherited From:
- Node
- Source:
- nodesv2.h:96
- Code:
public virtual vector < Node * > * getArgs ( )
method getLHS | ? ^ < > |
return myLHS
- Inherited From:
- Node
- Source:
- nodesv2.h:118
- Code:
public virtual Node * getLHS ( )
method getRHS | ? ^ < > |
returns myRHS
- Inherited From:
- Node
- Source:
- nodesv2.h:110
- Code:
public virtual Node * getRHS ( )
operator = | ? ^ < > |
automatically generated
- Source:
- nodesv2.h
- Code:
public Plus & operator = ( const Plus & )
method print | ? ^ < > |
prints the tree by recursively calling printToString for each child and then prints that string to out
- Inherited From:
- Node
- Source:
- nodesv2.h:74
- Code:
public virtual void print ( ostream & out ) const
method printToString | ? ^ < > |
return a string of the operator along with its rhs and lhs
- Inherited From:
- BinaryOperator
- Source:
- nodesv2.h:843
- Code:
public virtual string printToString ( ) const
method setChildren | ? ^ < > |
set values for the lhs and rhs pointers
- Inherited From:
- Node
- Source:
- nodesv2.h:63
- Code:
public virtual void setChildren ( Node * lhs , Node * rhs )
Created Sun Sep 29 16:16:44 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.