CoDiPack  3.0.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::NodeInterface< T_Impl > Struct Template Reference

Node side interface for the traversal of expressions. More...

#include <nodeInterface.hpp>

Inheritance diagram for codi::NodeInterface< T_Impl >:

Public Types

using Impl = T_Impl
 See NodeInterface.
 

Public Member Functions

inlineImpl const & cast () const
 Cast to the implementation.
 

Interface definition

static size_t constexpr LinkCount = false
 handle the expression as a leaf node.
 
template<size_t argNumber>
char const & getLink () const
 an expression.
 

Detailed Description

template<typename T_Impl>
struct codi::NodeInterface< T_Impl >

Node side interface for the traversal of expressions.

See the TraversalLogic and CompileTimeTraversalLogic for details on how this interface is used.

Implementations need to call the link methods for each argument of the node.

Template Parameters
T_Impl

Member Function Documentation

◆ getLink()

template<typename T_Impl>
template<size_t argNumber>
char const & codi::NodeInterface< T_Impl >::getLink ( ) const
inline

an expression.

Get the argument for the specific link. Usually

Member Data Documentation

◆ LinkCount

template<typename T_Impl>
size_t constexpr codi::NodeInterface< T_Impl >::LinkCount = false
staticconstexpr

handle the expression as a leaf node.

Number of links the expression has. Zero will


The documentation for this struct was generated from the following file: