The Vish Visualization Shell 0.3
Vish
Public Member Functions | List of all members
Eagle::EvaluationContext Struct Reference

Class providing numerical values from some context ID for the evaluation of function trees. More...

#include <ocean/parzival/EvaluationContext.hpp>

Inheritance diagram for Eagle::EvaluationContext:
Eagle::Evaluator

Public Member Functions

 EvaluationContext (const Context &, size_t HowManyArrayElementsToCreate)
 Constructor, provide some Context and the number of elements to be created in an array context.
 
 ~EvaluationContext ()
 Destructor.
 
- Public Member Functions inherited from Eagle::Evaluator
 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.
 

Additional Inherited Members

- Public Types inherited from Eagle::Evaluator
typedef int id_t
 Type used to identify a variable.
 

Detailed Description

Class providing numerical values from some context ID for the evaluation of function trees.

Constructor & Destructor Documentation

◆ EvaluationContext()

Eagle::EvaluationContext::EvaluationContext ( const Context C,
size_t  HowManyArrayElementsToCreate 
)

Constructor, provide some Context and the number of elements to be created in an array context.

The number of array elements may be zero of the array API is not used.