Home :: @root classes

class CosEvaluator

^ 
    extends UEvaluator as public

class CosEvaluator:public UEvaluator works for both images and doubles
Source:
evaluate.h:546
Author:
unascribed
Version:
unknown

Contents

^ 
EntityInherited FromTypeScopeShort Description
~CosEvaluatordestructor publicautomatically generated
CosEvaluatorconstructor publicundocumented
CosEvaluatorconstructor 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 arg = Node *myNode precond:myNode is pointer to cos expression tree, and current postcond: returns cos(lhs->evaluate)
getCosmethod publicdouble getCos arg = double &a returns cos(a)
getCosmethod publicImage getCos arg=Image &a return Cosine(a);
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 ~CosEvaluator

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

constructor CosEvaluator

? ^  < > 
undocumented
Source:
evaluate.h:550
Code:
public CosEvaluator ( ) : UEvaluator ( "cos" )

constructor CosEvaluator

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

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 cos expression tree, and current postcond: returns cos(lhs->evaluate)
Source:
evaluate.h:577
Code:
public virtual answertype Evaluate ( Node * myNode )

method getCos

? ^  < > 
double getCos arg = double &a returns cos(a)
Source:
evaluate.h:557
Code:
public double getCos ( double & a )

method getCos

? ^  < > 
Image getCos arg=Image &a return Cosine(a);
Source:
evaluate.h:564
Code:
public Image getCos ( Image & a )

operator =

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

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.