@root classes

class Paren

^ 
    extends Node as public

This is the subclass of Node for holding parentheses.

Opening and closing ones have different precedences

Source:
paren.h:15
Author:
unascribed
Version:
unknown

Contents

^ 
EntityInherited FromTypeScopeShort Description
~Parendestructor publicautomatically generated
Parenconstructor publicundocumented
Parenconstructor publicautomatically generated
copymethod publicundocumented
descriptionmethod publicundocumented
evaluatemethod publicundocumented
GetChildNodemethod publicundocumented
GetKeyNodemethod publicundocumented
GetLeftChildNodemethod publicundocumented
GetRightChildNodemethod 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
SetLeftChildNodemethod public may change the child of an operator after creation.
SetRightChildNodemethod public may change the child of an operator after creation.

destructor ~Paren

? ^  > 
automatically generated
Source:
paren.h
Code:
public ~ Paren ( )

constructor Paren

? ^  < > 
undocumented
Source:
paren.h:17
Code:
public Paren ( int value )

constructor Paren

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

method copy

? ^  < > 
undocumented
Source:
paren.h:26
Code:
public virtual Node * copy ( )

method description

? ^  < > 
undocumented
Source:
paren.h:29
Code:
public virtual string description ( ) const

method evaluate

? ^  < > 
undocumented
Source:
paren.h:20
Code:
public virtual double evaluate ( ) const

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
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:
paren.h
Code:
public Paren & operator = ( const Paren & )

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:
paren.h:23
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

? ^  < > 
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.