| Home :: @root | classes |
class ModulusEvaluator | ^ |
undocumented
- Source:
- evaluate.h:297
- Author:
- unascribed
- Version:
- unknown
Contents | ^ |
Entity Inherited From Type Scope Short Description ~ModulusEvaluator destructor public automatically generated ModulusEvaluator constructor public undocumented ModulusEvaluator constructor public automatically generated Display Evaluator method public void Display:arg = double &answer display function for displaying doubles Display Evaluator method public void Display: arg= Image&answer display function for displaying a image by calling displayImage() function displayImage Evaluator method public virtual void displayImage, arg= Image&image precond: image is a valid image object postcond: image is displayed using xv program in unix Evaluate method public inherited Evaluate arg = Node *myNode precond:myNode is pointer to plus expression tree, and current application is a double or int operating. getMod method public type double getMod function returns int(a)%(int)b only takes doubles getMod method public Image getMod: arg = Image& a, Image &b dummy function to keep evaluator generic, will return error message if trying to evaluate in imagemetica,should never be called in Imagemetica because mod is not valid operator for image operator = operator public automatically generated saveImage Evaluator method public 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 work Evaluator method public 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.
destructor ~ModulusEvaluator | ? ^ > |
automatically generated
- Source:
- evaluate.h
- Code:
public ~ ModulusEvaluator ( )
constructor ModulusEvaluator | ? ^ < > |
undocumented
- Source:
- evaluate.h:301
- Code:
public ModulusEvaluator ( ) : BiEvaluator ( "/" )
constructor ModulusEvaluator | ? ^ < > |
automatically generated
- Source:
- evaluate.h
- Code:
public ModulusEvaluator ( const ModulusEvaluator & )
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 arg = Node *myNode precond:myNode is pointer to plus expression tree, and current application is a double or int operating.will not work for image postcond: returns lhs->evaluate % rhs->evaluate
- Source:
- evaluate.h:346
- Code:
public virtual answertype Evaluate ( Node * myNode )
method getMod | ? ^ < > |
type double getMod function returns int(a)%(int)b only takes doubles
- Source:
- evaluate.h:312
- Code:
public double getMod ( double & a , double & b )
method getMod | ? ^ < > |
Image getMod: arg = Image& a, Image &b dummy function to keep evaluator generic, will return error message if trying to evaluate in imagemetica,should never be called in Imagemetica because mod is not valid operator for image
- Source:
- evaluate.h:328
operator = | ? ^ < > |
automatically generated
- Source:
- evaluate.h
- Code:
public ModulusEvaluator & operator = ( const ModulusEvaluator & )
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
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.