BinaryExpressionNode Node which connects two expression nodes with an arithemtic operation.
More...
#include <CutNodes.h>
|
typedef AVariableManager::Var | Var |
| Template argument dependent Variable type definition.
|
|
|
AVariableManager::VarVariant | evaluate (const Object *p) const override |
| Evaluation of the child nodes and return result as a variant<double, int, bool> apply arithmetic operation to the evaluations. More...
|
|
void | print () const override |
| Print node.
|
|
std::string | decompile () const override |
| Decompile Node back to a string. More...
|
|
| ~BinaryExpressionNode () |
| Destructor.
|
|
|
typedef AVariableManager::Object | Object |
| Template argument dependent Particle type definition.
|
|
template<class AVariableManager>
class Belle2::BinaryExpressionNode< AVariableManager >
BinaryExpressionNode Node which connects two expression nodes with an arithemtic operation.
Definition at line 726 of file CutNodes.h.
◆ BinaryExpressionNode()
Constructor.
- Parameters
-
left_node | (const boost::python::tuple&): tuple containing an expression node |
right_node | (const boost::python::tuple&): tuple containing an expression node |
aoperation | (ArithmeticOperator): arithmetic operator enum value |
Definition at line 872 of file CutNodes.h.
◆ decompile()
std::string decompile |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ evaluate()
AVariableManager::VarVariant evaluate |
( |
const Object * |
p | ) |
const |
|
inlineoverridevirtual |
Evaluation of the child nodes and return result as a variant<double, int, bool> apply arithmetic operation to the evaluations.
- Parameters
-
p | pointer to the object, that should be checked. |
Implements AbstractExpressionNode< AVariableManager >.
Definition at line 737 of file CutNodes.h.
The documentation for this class was generated from the following file: