CERN Accelerating science

This website is no longer maintained. Its content may be obsolete. Please visit http://home.cern/ for current CERN information.

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

AIDA::IEvaluator Class Reference

#include <IEvaluator.h>

List of all members.

Public Methods

virtual ~IEvaluator ()
 Destructor. More...

virtual bool initialize (ITuple &tuple)=0
virtual double evaluateDouble () const=0
virtual const std::string& expression () const=0


Detailed Description

User's level interface of an IEvaluator.

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

Definition at line 28 of file IEvaluator.h.


Constructor & Destructor Documentation

AIDA::IEvaluator::~IEvaluator ( ) [inline, virtual]
 

Definition at line 32 of file IEvaluator.h.


Member Function Documentation

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.

const std::string & AIDA::IEvaluator::expression ( ) const [pure virtual]
 

Get the expression that defined the IEvaluator.

Returns:
The expression.

bool AIDA::IEvaluator::initialize ( ITuple & tuple ) [pure virtual]
 

Initialize the IEvaluator and associate it to an ITuple.

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


The documentation for this class was generated from the following file:
Generated at Tue Feb 18 15:48:24 2003 for AIDA_Interfaces by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001