Home :: @root classes

class EqualEvaluator

^ 
    extends BiEvaluator as public

class EqualEvaluator:public Bievaluator class that handles the assignment operator it takes the rhs argument and map it into the myVarMap[lhs]
Source:
evaluate.h:162
Author:
unascribed
Version:
unknown

Contents

^ 
EntityInherited FromTypeScopeShort Description
~EqualEvaluatordestructor publicautomatically generated
EqualEvaluatorconstructor publicundocumented
EqualEvaluatorconstructor publicautomatically generated
DisplayEvaluatormethod publicvoid Display:arg = double &answer display function for displaying doubles
DisplayEvaluatormethod publicvoid Display: arg= Image&answer display function for displaying a image by calling displayImage() function
displayImageEvaluatormethod publicvirtual void displayImage, arg= Image&image precond: image is a valid image object postcond: image is displayed using xv program in unix
Evaluatemethod publicinherited evaluate function arg = Node *myNode precond:myNode is root of equals expression postcond:rhs are mapped into myVarmap[lhs] and rhs evaluated
operator =operator publicautomatically generated
saveImageEvaluatormethod publicvirtual void saveImage, arg = Image &images, ofstream & output precond:image is a image object, output is a openfile object postcond: image is saved in output file
workEvaluatormethod publicvirtual void work; arg = myNode, vector<..>myMaps precond: myNode is root to expression tree myMaps are vector of maps that maps valid operators to worker by default, myMaps[0] is map of string to class objects in this file.

destructor ~EqualEvaluator

? ^  > 
automatically generated
Source:
evaluate.h
Code:
public ~ EqualEvaluator ( )

constructor EqualEvaluator

? ^  < > 
undocumented
Source:
evaluate.h:166
Code:
public EqualEvaluator ( ) : BiEvaluator ( "=" )

constructor EqualEvaluator

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

method Display

? ^  < > 
void Display:arg = double &answer display function for displaying doubles
Inherited From:
Evaluator
Source:
evaluate.h:40
Code:
public void Display ( double & answer )

method Display

? ^  < > 
void Display: arg= Image&answer display function for displaying a image by calling displayImage() function
Inherited From:
Evaluator
Source:
evaluate.h:50
Code:
public void Display ( Image & answer )

method displayImage

? ^  < > 
virtual void displayImage, arg= Image&image precond: image is a valid image object postcond: image is displayed using xv program in unix
Inherited From:
Evaluator
Source:
evaluate.h:111
Code:
public virtual void displayImage ( Image & image )

method Evaluate

? ^  < > 
inherited evaluate function arg = Node *myNode precond:myNode is root of equals expression postcond:rhs are mapped into myVarmap[lhs] and rhs evaluated
Source:
evaluate.h:179
Code:
public virtual answertype Evaluate ( Node * myNode )

operator =

? ^  < > 
automatically generated
Source:
evaluate.h
Code:
public EqualEvaluator & operator = ( const EqualEvaluator & )

method saveImage

? ^  < > 
virtual void saveImage, arg = Image &images, ofstream & output precond:image is a image object, output is a openfile object postcond: image is saved in output file
Inherited From:
Evaluator
Source:
evaluate.h:86
Code:
public virtual void saveImage ( Image & image ,
ofstream & output )

method work

? ^  < > 
virtual void work; arg = myNode, vector<..>myMaps precond: myNode is root to expression tree myMaps are vector of maps that maps valid operators to worker by default, myMaps[0] is map of string to class objects in this file.

myMaps can also contain other helper maps such as printer worker maps postcond: the expression tree is evaluated and result displayed

Inherited From:
Evaluator
Source:
evaluate.h:70
Code:
public virtual void work ( Node * myNode ,
vector < map < string ,
Worker * > > & myMaps )

Created Thu Oct 10 01:13:40 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.