RAIDA  1.9.0
IEvaluator.h
1 // -*- C++ -*-
2 // AID-GENERATED
3 // =========================================================================
4 // This class was generated by AID - Abstract Interface Definition
5 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it.
6 // =========================================================================
7 #ifndef AIDA_IEVALUATOR_H
8 #define AIDA_IEVALUATOR_H 1
9 
10 // This file is part of the AIDA library
11 // Copyright (C) 2002 by the AIDA team. All rights reserved.
12 // This library is free software and under the terms of the
13 // GNU Library General Public License described in the LGPL.txt
14 
15 #include <string>
16 
17 namespace AIDA {
18 
19 class ITuple;
20 
28 class IEvaluator {
29 
30 public:
32  virtual ~IEvaluator() { /* nop */; }
33 
41  virtual bool initialize(ITuple & tuple) = 0;
42 
49  virtual double evaluateDouble() const = 0;
50 
56  virtual std::string expression() const = 0;
57 }; // class
58 } // namespace AIDA
59 #endif /* ifndef AIDA_IEVALUATOR_H */
User&#39;s level interface of an IEvaluator.
Definition: IEvaluator.h:28
User level interface to a Tuple.
Definition: ITuple.h:40
virtual double evaluateDouble() const =0
Evaluate the IEvaluator from the data in the current row of the ITuple it is associated to...
virtual bool initialize(ITuple &tuple)=0
Initialize the IEvaluator and associate it to an ITuple.
virtual std::string expression() const =0
Get the expression that defined the IEvaluator.
virtual ~IEvaluator()
Destructor.
Definition: IEvaluator.h:32