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

AbstractExpressionNode Superclass for all nodes which host expressions. More...

#include <AbstractNodes.h>

Inheritance diagram for AbstractExpressionNode< 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 AVariableManager::VarVariant evaluate (const Object *p) const =0
 pure virtual evaluate 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 ~AbstractExpressionNode ()
 Virtual destructor.
 

Detailed Description

template<class AVariableManager>
class Belle2::AbstractExpressionNode< AVariableManager >

AbstractExpressionNode Superclass for all nodes which host expressions.

Every child class must override the evaluate member, which returns the value of its expression as a variant<double, int, bool>.

Definition at line 66 of file AbstractNodes.h.


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