RAIDA  1.9.0
IFilter.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_IFILTER_H
8 #define AIDA_IFILTER_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 IFilter {
29 
30 public:
32  virtual ~IFilter() { /* nop */; }
33 
41  virtual bool initialize(ITuple & tuple) = 0;
42 
49  virtual bool accept() const = 0;
50 
56  virtual std::string expression() const = 0;
57 }; // class
58 } // namespace AIDA
59 #endif /* ifndef AIDA_IFILTER_H */
virtual bool accept() const =0
Check if the IFilter accepts or not the data in the current row of the ITuple it is associated to...
virtual ~IFilter()
Destructor.
Definition: IFilter.h:32
User level interface to a Tuple.
Definition: ITuple.h:40
User&#39;s level interface of an IFilter.
Definition: IFilter.h:28
virtual std::string expression() const =0
Get the expression that defined the IFilter.
virtual bool initialize(ITuple &tuple)=0
Initialize the IFilter and associate it to an ITuple.