The Vish Visualization Shell 0.3
Vish
Public Member Functions | List of all members
Eagle::TernaryOperatorNode< TernaryFunctor > Struct Template Reference

Template node class to perform ternary operations on evaluate-able nodes. More...

#include <ocean/parzival/OperatorNode.hpp>

Inheritance diagram for Eagle::TernaryOperatorNode< TernaryFunctor >:

Public Member Functions

MemCore::RefPtr< Nodederive (const ScalarVariableNode &Variable) const override
 

Detailed Description

template<class TernaryFunctor>
struct Eagle::TernaryOperatorNode< TernaryFunctor >

Template node class to perform ternary operations on evaluate-able nodes.

Parameters
TernaryFunctorA class that export three typedef's, named
  1. LeftNode_t
  2. MiddleNode_t
  3. RightNode_t
  4. ResultNode_t and a static member function eval() that takes appropriatve values. It is expected that the exported typedef's relate to child classes of Node , such as ScalarNode or VectorNode, though this is not an absolute requirement.

Member Function Documentation

◆ derive()

template<class TernaryFunctor >
MemCore::RefPtr< Node > Eagle::TernaryOperatorNode< TernaryFunctor >::derive ( const ScalarVariableNode Variable) const
inlineoverride
Todo:
Ternary derivation not yet implemented