Home :: @root classes

class BiEvaluator

^ 
    extends Evaluator as public

class BiEvaluator:public Evaluator grouping class of all binary operator evaluators
Source:
evaluate.h:123
Author:
unascribed
Version:
unknown

Contents

^ 
EntityInherited FromTypeScopeShort Description
~BiEvaluatordestructor publicautomatically generated
BiEvaluatorconstructor publicundocumented
BiEvaluatorconstructor 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 publicundocumented
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 ~BiEvaluator

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

constructor BiEvaluator

? ^  < > 
undocumented
Source:
evaluate.h:127
Code:
public BiEvaluator ( string descrip ) : myDescription ( descrip )

constructor BiEvaluator

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

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

? ^  < > 
undocumented
Source:
evaluate.h:129
Code:
public virtual answertype Evaluate ( Node * myNode ) = 0

operator =

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

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:39 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.