Belle II Software development
|
Nodeclass with a single AbstractBooleanNode as child. More...
#include <CutNodes.h>
Public Types | |
typedef AVariableManager::Var | Var |
Template argument dependent Variable type definition. | |
Public Member Functions | |
bool | check (const Object *p) const override |
Check if Object passes this subexpression of the cut by calling check on the child node. | |
void | print () const override |
Print node brackets and negation keywords are added if m_bracketized, m_negation are set to true. | |
std::string | decompile () const override |
Decompile Node back to a string. | |
~UnaryBooleanNode () | |
Destructor. | |
Private Types | |
typedef AVariableManager::Object | Object |
Template argument dependent Particle type definition. | |
Private Member Functions | |
UnaryBooleanNode (Nodetuple node, bool negation, bool bracketized) | |
Private Attributes | |
std::unique_ptr< const AbstractBooleanNode< AVariableManager > > | m_bnode |
boolean subexpression of a cut | |
const bool | m_negation |
if the evaluation of m_bnode->check(p) should be negated in check() | |
const bool | m_bracketized |
if the boolean expression from which this node is compiled was in brackets, relevant in decompile to yield the original string | |
Friends | |
class | NodeFactory |
Nodeclass with a single AbstractBooleanNode as child.
Class for constructing Node objects of boost::python::tuple NodeFactory is a friend to all Node classes, in order to use their private Constructor.
check() returns the negated result of the child node if m_negation is true.
Definition at line 198 of file CutNodes.h.
|
private |
Template argument dependent Particle type definition.
Definition at line 202 of file CutNodes.h.
|
inherited |
Template argument dependent Variable type definition.
Definition at line 39 of file AbstractNodes.h.
|
inline |
|
inlineexplicitprivate |
node | (const boost::python::tuple&) tuple containing a boolean node |
negation | (bool): flag if check output of m_bnode should be returned negated |
bracketized | (bool): flag if cut substring was in brackets, used for preserving brackets when decompling to a string. |
Definition at line 255 of file CutNodes.h.
|
inlineoverridevirtual |
Check if Object passes this subexpression of the cut by calling check on the child node.
p | pointer to the object, that should be checked. |
Implements AbstractBooleanNode< AVariableManager >.
Definition at line 208 of file CutNodes.h.
|
inlineoverridevirtual |
Decompile Node back to a string.
Decompile(compile) should give the same result. brackets and negation keywords are added if m_bracketized, m_negation are set to true.
Implements AbstractBooleanNode< AVariableManager >.
Definition at line 232 of file CutNodes.h.
|
inlineoverridevirtual |
Print node brackets and negation keywords are added if m_bracketized, m_negation are set to true.
Implements AbstractBooleanNode< AVariableManager >.
Definition at line 220 of file CutNodes.h.
|
friend |
Definition at line 249 of file CutNodes.h.
|
private |
boolean subexpression of a cut
Definition at line 260 of file CutNodes.h.
|
private |
if the boolean expression from which this node is compiled was in brackets, relevant in decompile to yield the original string
Definition at line 263 of file CutNodes.h.
|
private |
if the evaluation of m_bnode->check(p) should be negated in check()
Definition at line 261 of file CutNodes.h.