|
The Vish Visualization Shell 0.3
Vish
|
Abstract base class providing numerical values from some context ID for the evaluation of function trees. More...
#include <ocean/parzival/Evaluator.hpp>
Public Types | |
| typedef int | id_t |
| Type used to identify a variable. | |
Public Member Functions | |
| Evaluator (size_t HowManyArrayElementsToCreate) | |
| Constructor, details to be specified in subclass, but provide number of elements here for array operations. | |
| virtual void | Problem (ProblemType what, const char *text, const type_info &t, id_t) const |
| Virtual function for reporting problems during evaluation. | |
| size_t | size () const |
| For array operations, return the number of elements. | |
| virtual | ~Evaluator ()=0 |
| Destructor. | |
Abstract base class providing numerical values from some context ID for the evaluation of function trees.
|
virtual |
Virtual function for reporting problems during evaluation.
A child class may throw an exception here if it desires so, or chose to print an warning message and ignore the issue. The evaluation code will continue as best as it can.