|  | Belle II Software
    light-2205-abys
    | 
FunctionNode Node class for handling MetaVariables in cuts. More...
#include <CutNodes.h>


| Public Member Functions | |
| AVariableManager::VarVariant | evaluate (const Object *p) const override | 
| evaluate m_var with p and return the result  More... | |
| void | print () const override | 
| Print node. | |
| std::string | decompile () const override | 
| Decompile Node back to a string.  More... | |
| void | processMetaVariable () | 
| Get MetaVariable from AVariableManager. | |
| ~FunctionNode () | |
| 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 | |
| FunctionNode (const std::string &functionName, const std::vector< std::string > &functionArguments) | |
| Constructor.  More... | |
| Private Attributes | |
| const std::string | m_name | 
| Function name of the MetaVariable. | |
| const std::vector< std::string > | m_arguments | 
| vector of string arguments of the MetaVariable | |
| const Var * | m_var | 
| set if there was a valid variable in this cut | |
| Friends | |
| class | NodeFactory | 
FunctionNode Node class for handling MetaVariables in cuts.
Definition at line 1013 of file CutNodes.h.
| 
 | inlineexplicitprivate | 
Constructor.
| functionName | (const std::string&): function name of the MetaVariable | 
| functionArguments | (const std::vector<std::string>&): function arguments of the MetaVariable | 
Definition at line 1077 of file CutNodes.h.
| 
 | inlineoverridevirtual | 
Decompile Node back to a string.
decompile(compile) should give the same result.
Implements AbstractExpressionNode< AVariableManager >.
Definition at line 1044 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 1027 of file CutNodes.h.