|
The Vish Visualization Shell 0.3
Vish
|
Abstract base class for evaluation of arbitrary functions that have been parsed from some input. More...
#include <ocean/parzival/Node.hpp>
Public Member Functions | |
| virtual RefPtr< Node > | derive (const ScalarVariableNode &Variable) const =0 |
| Textification interface: yield a text corresponding to the expression stored in here. | |
| virtual RefPtr< MemCore::ChunkBase > | Eval (const Evaluator &) const =0 |
| Array evaluation interface: Evaluate the expression stored in the derived node and yield a Chunk of data containing the results. | |
| Node () | |
| Default constructor. | |
| virtual | ~Node ()=0 |
| Pure virtual destructor. | |
Public Member Functions inherited from MemCore::ReferenceBase< Node > | |
| auto | getObjectCountID () const noexcept |
| Get a unique ID for this object in the given domain. | |
| bool | isIdentical (const WeakPtr< Node, Node > &PossibleSelf) const noexcept |
| Check if this object is identical to the one used by the given pointer. | |
| void | mkAutoDestructive () |
| Marks this object as being automatically destructed, e.g. | |
| refcount_t | refcount () const noexcept |
| The strong reference count. | |
| ReferenceBase (Node *that) noexcept | |
| Constructor, initializes reference counter to zero. | |
| const auto & | self () const |
| Return weak pointer to the object self. | |
| refcount_t | wrefcount () const noexcept |
| The weak reference count. | |
Additional Inherited Members | |
Public Types inherited from MemCore::ReferenceBase< Node > | |
| using | reference_domain_t = Node |
| The type of the base class. | |
| using | SelfPtr_t = WeakPtr< Node, Node > |
| Type for a pointer to this object itself. | |
Protected Member Functions inherited from MemCore::ReferenceBase< Node > | |
| virtual void | extremeUnction () |
| A virtual function that will be called just before the object is destroyed. | |
| ReferenceBase & | operator= (const ReferenceBase &R) |
| Protected assignment operator (should not be called). | |
| void | suicide () |
| Delete this. | |
| virtual | ~ReferenceBase () |
| Virtual destructor. | |
Abstract base class for evaluation of arbitrary functions that have been parsed from some input.
This abstract base class of does not provide an evaluator function, therefore it cannot be evaluated. Only scalar-valued, vector-valued etc. Node subclasses provide an eval() function that can be queried with some EvaluationContext .