| @root | classes |
class UnaryOperator | ^ |
this is the generic unary operator node (op num) or (num op)
- Source:
- unaryop.h:14
- Author:
- unascribed
- Version:
- unknown
Contents | ^ |
Entity Inherited From Type Scope Short Description ~UnaryOperator destructor public undocumented UnaryOperator constructor public undocumented UnaryOperator 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 method public undocumented GetKey Node method public undocumented GetLeftChild Node method public undocumented GetRightChild Node 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 Node method public prints the tree by recursively expanding children (if any) SetChild method public undocumented SetLeftChild Node method public may change the child of an operator after creation. SetRightChild Node method public may change the child of an operator after creation.
destructor ~UnaryOperator | ? ^ > |
undocumented
- Source:
- unaryop.h:18
- Code:
public virtual ~ UnaryOperator ( )
constructor UnaryOperator | ? ^ < > |
undocumented
- Source:
- unaryop.h:16
- Code:
public UnaryOperator ( Node * rhs )
constructor UnaryOperator | ? ^ < > |
automatically generated
- Source:
- unaryop.h
- Code:
public UnaryOperator ( const UnaryOperator & )
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
- Source:
- unaryop.h:22
- Code:
public virtual Node * GetChild ( )
method GetKey | ? ^ < > |
undocumented
- Inherited From:
- Node
- Source:
- nodes.h:83
- Code:
public virtual string GetKey ( ) const
method GetLeftChild | ? ^ < > |
undocumented
- Inherited From:
- Node
- Source:
- nodes.h:75
- Code:
public virtual Node * GetLeftChild ( )
method GetRightChild | ? ^ < > |
undocumented
- Inherited From:
- Node
- Source:
- nodes.h:71
- Code:
public virtual Node * GetRightChild ( )
operator = | ? ^ < > |
automatically generated
- Source:
- unaryop.h
- Code:
public UnaryOperator & operator = ( const UnaryOperator & )
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 | ? ^ < > |
prints the tree by recursively expanding children (if any)
- Inherited From:
- Node
- Source:
- nodes.h:35
- Code:
public virtual void print ( ostream & out ) const = 0
method SetChild | ? ^ < > |
undocumented
- Source:
- unaryop.h:20
- 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
- Inherited From:
- Node
- 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
- Inherited From:
- Node
- 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.