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

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

#include <IFilter.h>

Inheritance diagram for AIDA::IFilter:
AIDA::IFilterROOT

Public Member Functions

virtual ~IFilter ()
 Destructor.
 
virtual bool initialize (ITuple &tuple)=0
 Initialize the IFilter and associate it to an ITuple. More...
 
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. More...
 
virtual std::string expression () const =0
 Get the expression that defined the IFilter. More...
 

Detailed Description

User's level interface of an IFilter.

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

Member Function Documentation

virtual bool AIDA::IFilter::accept ( ) const
pure virtual

Check if the IFilter accepts or not the data in the current row of the ITuple it is associated to.

Returns
true if the current data is accepted.

Implemented in AIDA::IFilterROOT.

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

Get the expression that defined the IFilter.

Returns
The expression.

Implemented in AIDA::IFilterROOT.

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

Initialize the IFilter and associate it to an ITuple.

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

Implemented in AIDA::IFilterROOT.


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