Belle II Software development
|
BooleanNode which has two AbstractExpressionNodes nodes and a ComparisonOperator. More...
#include <CutNodes.h>
Public Types | |
typedef AVariableManager::Var | Var |
Template argument dependent Variable type definition. | |
Public Member Functions | |
bool | check (const Object *p) const override |
Evaluate the Expression children nodes which yield std::variant values. | |
void | print () const override |
Print node. | |
std::string | decompile () const override |
Decompile Node back to a string. | |
~BinaryRelationalNode () | |
Destructor. | |
Private Types | |
typedef AVariableManager::Object | Object |
Template argument dependent Particle type definition. | |
Private Member Functions | |
BinaryRelationalNode (Nodetuple left_node, Nodetuple right_node, ComparisonOperator coperator) | |
Constructor. | |
Private Attributes | |
std::unique_ptr< const AbstractExpressionNode< AVariableManager > > | m_left_enode |
subexpression of a cut | |
std::unique_ptr< const AbstractExpressionNode< AVariableManager > > | m_right_enode |
subexpression of a cut | |
const ComparisonOperator | m_coperator |
comparison operator to be applied to the expression evaluations | |
Friends | |
class | NodeFactory |
BooleanNode which has two AbstractExpressionNodes nodes and a ComparisonOperator.
Check() evaluates the children nodes and compares the results with the specified operator.
Definition at line 427 of file CutNodes.h.
|
private |
Template argument dependent Particle type definition.
Definition at line 431 of file CutNodes.h.
|
inherited |
Template argument dependent Variable type definition.
Definition at line 39 of file AbstractNodes.h.
|
inline |
|
inlineexplicitprivate |
Constructor.
left_node | (const boost::python::tuple&): tuple containing an expression node |
right_node | (const boost::python::tuple&): tuple containing an expression node |
coperator | (ComparisonOperator): comparison operator enum value |
Definition at line 506 of file CutNodes.h.
|
inlineoverridevirtual |
Evaluate the Expression children nodes which yield std::variant values.
variant data types cannot be compared in relational expressions, every data type combination has to be considered.
p | pointer to the object, that should be checked. returns the boolean result of the relational expression. |
Implements AbstractBooleanNode< AVariableManager >.
Definition at line 439 of file CutNodes.h.
|
inlineoverridevirtual |
Decompile Node back to a string.
decompile(compile) should give the same result.
Implements AbstractBooleanNode< AVariableManager >.
Definition at line 483 of file CutNodes.h.
|
inlineoverridevirtual |
Print node.
Implements AbstractBooleanNode< AVariableManager >.
Definition at line 473 of file CutNodes.h.
|
friend |
Definition at line 499 of file CutNodes.h.
|
private |
comparison operator to be applied to the expression evaluations
Definition at line 513 of file CutNodes.h.
|
private |
subexpression of a cut
Definition at line 511 of file CutNodes.h.
|
private |
subexpression of a cut
Definition at line 512 of file CutNodes.h.