![]() |
Belle II Software release-09-00-03
|
Template class for storing the Constants (int, double, bool) of the Cutstring. More...
#include <CutNodes.h>


Public Types | |
| typedef AVariableManager::Var | Var |
| Template argument dependent Variable type definition. | |
Public Member Functions | |
| AVariableManager::VarVariant | evaluate (const Object *p) const override |
| return m_value as a variant<double, int, bool> | |
| void | print () const override |
| Print node. | |
| std::string | decompile () const override |
| Decompile Node back to a string. | |
| ~DataNode () | |
| Destructor. | |
Private Types | |
| typedef AbstractExpressionNode< AVariableManager >::Object | Object |
| Template argument dependent Particle type definition. | |
Private Member Functions | |
| DataNode (T value) | |
| Constructor. | |
Private Attributes | |
| const T | m_value |
| constant of type T which is always returned by evaluate(const Object* p) | |
Friends | |
| class | NodeFactory |
Template class for storing the Constants (int, double, bool) of the Cutstring.
evaluate(p) returns the value.
Definition at line 886 of file CutNodes.h.
|
private |
Template argument dependent Particle type definition.
Definition at line 892 of file CutNodes.h.
|
inherited |
Template argument dependent Variable type definition.
Definition at line 75 of file AbstractNodes.h.
|
inlineexplicitprivate |
Constructor.
| value | (T): some constant value in cut may be of type double, int, bool |
Definition at line 897 of file CutNodes.h.
|
inline |
|
inlineoverridevirtual |
Decompile Node back to a string.
decompile(compile) should give the same result.
Implements AbstractExpressionNode< AVariableManager >.
Definition at line 923 of file CutNodes.h.
|
inlineoverridevirtual |
return m_value as a variant<double, int, bool>
| p | pointer to the object, that should be checked. Not needed here since we always return the constant m_value. |
Implements AbstractExpressionNode< AVariableManager >.
Definition at line 904 of file CutNodes.h.
|
inlineoverridevirtual |
Print node.
Implements AbstractExpressionNode< AVariableManager >.
Definition at line 913 of file CutNodes.h.
|
friend |
Definition at line 888 of file CutNodes.h.
|
private |
constant of type T which is always returned by evaluate(const Object* p)
Definition at line 898 of file CutNodes.h.