![]() |
Belle II Software
release-08-02-04
|
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> More... | |
| void | print () const override |
| Print node. | |
| std::string | decompile () const override |
| Decompile Node back to a string. More... | |
| ~DataNode () | |
| Destructor. | |
Private Types | |
| typedef AbstractExpressionNode< AVariableManager >::Object | Object |
| Template argument dependent Particle type definition. | |
Private Member Functions | |
| DataNode (T value) | |
| Constructor. More... | |
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.
|
inlineexplicitprivate |
Constructor.
| value | (T): some constant value in cut may be of type double, int, bool |
Definition at line 897 of file CutNodes.h.
|
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.