The Vish Visualization Shell 0.3
Vish
Eagle::OneNode Struct Reference

A scalar node that always returns one. More...

#include <ocean/parzival/ScalarOperatorNodes.hpp>

Inheritance diagram for Eagle::OneNode:
Eagle::ConstantNode< ScalarNode > Eagle::TypedNode< double > Eagle::Node Eagle::MetaInfo< T > MemCore::ReferenceBase< Node >

Additional Inherited Members

Public Types inherited from Eagle::TypedNode< double >
typedef double 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< T >
enum  { MULTIPLICITY = 1 , RANK = 0 , GRADE = 0 }
typedef void Chart_t
 An eventually associated coordinate system.
typedef T element_t
 The atomic element type.
typedef T type_t
 The template argument.
Public Member Functions inherited from Eagle::ConstantNode< ScalarNode >
 ConstantNode (const value_type &v)
 Construct constant node from a given value.
MemCore::RefPtr< Nodederive (const ScalarVariableNode &Variable) const override
 Derivation of a constant value always returns a zero value.
value_type eval (const Evaluator &) const override
Public Member Functions inherited from Eagle::TypedNode< double >
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.
Static Public Member Functions inherited from Eagle::MetaInfo< T >
static const element_tgetComponent (const T &t, int i)
 Access the ith component of a multi-component type.
Public Attributes inherited from Eagle::TypedNode< double >
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

A scalar node that always returns one.

Used to identify expressions that always return one.