RAIDA  1.9.0
Public Member Functions | List of all members
AIDA::IEvaluator Class Referenceabstract

User's level interface of an IEvaluator. More...

#include <IEvaluator.h>

Inheritance diagram for AIDA::IEvaluator:
AIDA::IEvaluatorROOT

Public Member Functions

virtual ~IEvaluator ()
 Destructor.
 
virtual bool initialize (ITuple &tuple)=0
 Initialize the IEvaluator and associate it to an ITuple. More...
 
virtual double evaluateDouble () const =0
 Evaluate the IEvaluator from the data in the current row of the ITuple it is associated to. More...
 
virtual std::string expression () const =0
 Get the expression that defined the IEvaluator. More...
 

Detailed Description

User's level interface of an IEvaluator.

Author
The AIDA team (http://aida.freehep.org/)

Member Function Documentation

virtual double AIDA::IEvaluator::evaluateDouble ( ) const
pure virtual

Evaluate the IEvaluator from the data in the current row of the ITuple it is associated to.

Returns
The current value of the Evaluator.

Implemented in AIDA::IEvaluatorROOT.

virtual std::string AIDA::IEvaluator::expression ( ) const
pure virtual

Get the expression that defined the IEvaluator.

Returns
The expression.

Implemented in AIDA::IEvaluatorROOT.

virtual bool AIDA::IEvaluator::initialize ( ITuple tuple)
pure virtual

Initialize the IEvaluator and associate it to an ITuple.

Parameters
tupleThe ITuple to which the IEvaluator is sssociated.
Returns
false If the IEvaluator and the ITuple are not compatible.

Implemented in AIDA::IEvaluatorROOT.


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