Belle II Software light-2406-ragdoll
|
Class which stores the name of a variable. More...
#include <CutNodes.h>
Public Member Functions | |
AVariableManager::VarVariant | evaluate (const Object *p) const override |
evaluate m_var with p and return the result | |
void | print () const override |
Print node. | |
std::string | decompile () const override |
Decompile Node back to a string. | |
void | processVariable () |
Get variable from AVariableManger. | |
~IdentifierNode () | |
Destructor. | |
Private Types | |
typedef AVariableManager::Object | Object |
Template argument dependent Particle type definition. | |
typedef AVariableManager::Var | Var |
Template argument dependent Variable type definition. | |
Private Member Functions | |
IdentifierNode (const std::string &name) | |
Constructor. | |
Private Attributes | |
const std::string | m_name |
name of the variable | |
const Var * | m_var |
set if there was a valid variable in this cut | |
Friends | |
class | NodeFactory |
Class which stores the name of a variable.
Variable evaluation with the variable manager
Definition at line 941 of file CutNodes.h.
|
private |
Template argument dependent Particle type definition.
Definition at line 945 of file CutNodes.h.
|
private |
Template argument dependent Variable type definition.
Definition at line 949 of file CutNodes.h.
|
inline |
|
inlineexplicitprivate |
Constructor.
name | (const std::string&): name of the identifier in cut |
Definition at line 1003 of file CutNodes.h.
|
inlineoverridevirtual |
Decompile Node back to a string.
decompile(compile) should give the same result.
Implements AbstractExpressionNode< AVariableManager >.
Definition at line 975 of file CutNodes.h.
|
inlineoverridevirtual |
evaluate m_var with p and return the result
p | pointer to the object, for which m_var should be evaluated. |
Implements AbstractExpressionNode< AVariableManager >.
Definition at line 955 of file CutNodes.h.
|
inlineoverridevirtual |
Print node.
Implements AbstractExpressionNode< AVariableManager >.
Definition at line 966 of file CutNodes.h.
|
inline |
Get variable from AVariableManger.
Definition at line 983 of file CutNodes.h.
|
friend |
Definition at line 998 of file CutNodes.h.
|
private |
name of the variable
Definition at line 1004 of file CutNodes.h.
|
private |
set if there was a valid variable in this cut
Definition at line 1005 of file CutNodes.h.