Bayeux  3.4.1
Core Foundation library for SuperNEMO
accept_cut.h
Go to the documentation of this file.
1 /* Author(s) : Francois Mauger <mauger@lpccaen.in2p3.fr>
3  * Creation date: 2010-09-18
4  * Last modified: 2013-04-22
5  *
6  * License:
7  *
8  * Description:
9  * Cut that always accepts
10  *
11  * History:
12  *
13  */
14 
15 #ifndef CUTS_ACCEPT_CUT_H
16 #define CUTS_ACCEPT_CUT_H 1
17 
18 // This project:
19 #include <cuts/i_cut.h>
20 
21 namespace cuts {
22 
24  class accept_cut : public cuts::i_cut
25  {
26  public:
27 
29  accept_cut(datatools::logger::priority a_logging_priority =
31 
33  virtual ~accept_cut();
34 
36  virtual void initialize(const datatools::properties &,
39 
41  virtual void reset();
42 
43  protected :
44 
46  virtual int _accept();
47 
48  private:
49 
52 
53  };
54 
55 } // end of namespace cuts
56 
57 #endif // CUTS_ACCEPT_CUT_H
58 
59 /*
60 ** Local Variables: --
61 ** mode: c++ --
62 ** c-file-style: "gnu" --
63 ** tab-width: 2 --
64 ** End: --
65 */
priority
Priority levels for logging from most to least critical.
Definition: logger.h:82
A fatal error. The application will most likely terminate. This is the highest priority.
Definition: logger.h:85
The cut abstract base class (interface)
Definition: i_cut.h:62
A cut that always accepts.
Definition: accept_cut.h:24
Top-level namespace of the Bayeux/cuts module library.
Definition: accept_cut.h:21
#define CUT_REGISTRATION_INTERFACE(T)
Definition: i_cut.h:411
virtual ~accept_cut()
Destructor.
accept_cut(datatools::logger::priority a_logging_priority=datatools::logger::PRIO_FATAL)
Constructor.
virtual int _accept()
Selection.
std::map< std::string, cut_entry_type > cut_handle_dict_type
Alias type of a dictionary of cut entry.
Definition: cut_tools.h:175
virtual void initialize(const datatools::properties &, datatools::service_manager &, cuts::cut_handle_dict_type &)
Initialization.
Service management class.
Definition: service_manager.h:57
virtual void reset()
Reset.
A dictionary of arbitrary properties.
Definition: properties.h:125