StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | List of all members
Filter< Filtered > Class Template Referenceabstract

#include <Filter.h>

Inheritance diagram for Filter< Filtered >:
EditableFilter< Filtered > EditableFilter< StiHit >

Public Member Functions

virtual bool accept (const Filtered *filtered) const =0
 
virtual void reset ()
 
virtual void unset ()
 
bool filter (const Filtered *filtered)
 
int getAnalyzedCount ()
 
int getAcceptedCount ()
 

Protected Attributes

int _analyzedCount
 
int _acceptedCount
 

Detailed Description

template<class Filtered>
class Filter< Filtered >

Abstract base class defining a filtering mechanism

This class does not implement a particular filter but rather simply define an interface for filtering classes which inherit from it.

Usage: Derived classes should use the following methods to implement the functionality of the filter. "accept( * ) overloaded to determine whether given filtered objet passes the filter requirements.

Definition at line 17 of file Filter.h.


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