Belle II Software  release-08-01-10
AbstractBooleanNode< AVariableManager > Class Template Referenceabstract

A parsed cut-string naturally has a tree shape which incorporates the infomation of operator precedence and evaluation order of the statements. More...

#include <AbstractNodes.h>

Inheritance diagram for AbstractBooleanNode< AVariableManager >:

Public Types

typedef AVariableManager::Object Object
 Template argument dependent Particle type definition.
 
typedef AVariableManager::Var Var
 Template argument dependent Variable type definition.
 

Public Member Functions

virtual bool check (const Object *p) const =0
 pure virtual check function, has to be overridden in derived class
 
virtual void print () const =0
 pure virtual print function, has to be overridden in derived class
 
virtual std::string decompile () const =0
 pure virtual decompile function, has to be overridden in derived class
 
virtual ~AbstractBooleanNode ()
 Virtual destructor.
 

Detailed Description

template<class AVariableManager>
class Belle2::AbstractBooleanNode< AVariableManager >

A parsed cut-string naturally has a tree shape which incorporates the infomation of operator precedence and evaluation order of the statements.

For this application it is sufficient to derive a syntax directed translation of the abstract syntax tree. One can divide the Nodes into categories: BooleanNodes and ExpressionNodes BooleanNodes handle boolean statements and concatenations thereof. Every subclass must implement the check(Particle* p) function.

Definition at line 30 of file AbstractNodes.h.


The documentation for this class was generated from the following file: