The Vish Visualization Shell 0.3
Vish
Eagle::VariableNode< ResultType > Struct Template Reference

A node that references some variable which will be set by the Context of the Evaluator. More...

#include <ocean/parzival/TypedNode.hpp>

Inheritance diagram for Eagle::VariableNode< ResultType >:
Eagle::TypedNode< ResultType > Eagle::Node Eagle::MetaInfo< ResultType > MemCore::ReferenceBase< Node >

Public Member Functions

MemCore::RefPtr< Nodederive (const ScalarVariableNode &Variable) const override
 Textification interface: yield a text corresponding to the expression stored in here.
ResultType eval (const Evaluator &E) const override
 Evaluator function, get data via Evaluator::getValue().
MemCore::RefPtr< MemCore::TypedChunk< ResultType > > evaluate (const Evaluator &E) const override
 Retrieve associated pre-stored data array from the Evaluator, uses the Evaluator::getArray() function.
 VariableNode (const Context::id_t &VarIdentifier)
 Constructor.
Public Member Functions inherited from Eagle::TypedNode< ResultType >
MemCore::RefPtr< MemCore::ChunkBaseEval (const Evaluator &E) const override
 Array evaluation interface: Evaluate the expression stored in the derived node and yield a Chunk of data containing the results.
Public Member Functions inherited from Eagle::Node
 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 Eagle::TypedNode< ResultType >
typedef ResultType value_type
 result type
Public Types inherited from MemCore::ReferenceBase< Node >
using reference_domain_t
 The type of the base class.
using SelfPtr_t
 Type for a pointer to this object itself.
Public Types inherited from Eagle::MetaInfo< ResultType >
typedef void Chart_t
 An eventually associated coordinate system.
typedef ResultType element_t
 The atomic element type.
typedef ResultType type_t
 The template argument.
Static Public Member Functions inherited from Eagle::MetaInfo< ResultType >
static const element_tgetComponent (const ResultType &t, int i)
 Access the ith component of a multi-component type.
Public Attributes inherited from Eagle::TypedNode< ResultType >
Unit ElementUnit [MULTIPLICITY]
 The units per element of this type.
Protected Member Functions inherited from MemCore::ReferenceBase< Node >
virtual void extremeUnction ()
 A virtual function that will be called just before the object is destroyed.
ReferenceBaseoperator= (const ReferenceBase &R)
 Protected assignment operator (should not be called).
void suicide ()
 Delete this.
virtual ~ReferenceBase ()
 Virtual destructor.

Detailed Description

template<class ResultType>
struct Eagle::VariableNode< ResultType >

A node that references some variable which will be set by the Context of the Evaluator.