Belle II Software
release-08-01-10
|
Wrapper class for static node compile functions. More...
#include <NodeFactory.h>
Static Public Member Functions | |
template<class AVariableManager > | |
static std::unique_ptr< const AbstractBooleanNode< AVariableManager > > | compile_boolean_node (Nodetuple tuple) |
This template function creates a boolean node from a boost::python::tuple The Python Parser encodes the node type as int as the first argument of each tuple. More... | |
template<class AVariableManager > | |
static std::unique_ptr< const AbstractExpressionNode< AVariableManager > > | compile_expression_node (Nodetuple tuple) |
This template function creates a ExpressionNode from a boost::python::tuple The Python Parser encodes the node type as int in the first argument of each tuple. More... | |
Wrapper class for static node compile functions.
Definition at line 64 of file NodeFactory.h.
|
inlinestatic |
This template function creates a boolean node from a boost::python::tuple The Python Parser encodes the node type as int as the first argument of each tuple.
Node types are decoded via the NodeType enum defined in framework/utilities/include/AbstractNodes.h e.g (2, (11, True)) is a UnaryRelationalNode (nodetype value 2), which has a BooleanNode(nodetype value 11) as a child. List of Nodes:
tuple | (const boost::python::tuple&): python tuple generated from the parser |
Definition at line 80 of file NodeFactory.h.
|
inlinestatic |
This template function creates a ExpressionNode from a boost::python::tuple The Python Parser encodes the node type as int in the first argument of each tuple.
Node types are decoded via the NodeType enum defined in framework/utilities/include/AbstractNodes.h e.g (9, 1.2) is a DataNode<double> with value 1.2 List of Nodes:
Definition at line 141 of file NodeFactory.h.