Bayeux  3.4.1
Core Foundation library for SuperNEMO
reject_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 rejects
10  *
11  * History:
12  *
13  */
14 
15 #ifndef CUTS_REJECT_CUT_H
16 #define CUTS_REJECT_CUT_H 1
17 
18 // This project:
19 #include <cuts/i_cut.h>
20 
21 namespace cuts {
22 
24  class reject_cut : public i_cut
25  {
26 
27  public:
28 
30  reject_cut(datatools::logger::priority a_logging_priority =
32 
34  virtual ~reject_cut();
35 
37  virtual void initialize(const datatools::properties &,
40 
42  virtual void reset();
43 
44  protected :
45 
47  virtual int _accept();
48 
49  private:
50 
51  // Macro to automate the registration of the cut :
53 
54  };
55 
56 } // end of namespace cuts
57 
58 #endif // CUTS_REJECT_CUT_H
59 
60 /*
61 ** Local Variables: --
62 ** mode: c++ --
63 ** c-file-style: "gnu" --
64 ** tab-width: 2 --
65 ** End: --
66 */
virtual void initialize(const datatools::properties &, datatools::service_manager &, cuts::cut_handle_dict_type &)
Initialization.
priority
Priority levels for logging from most to least critical.
Definition: logger.h:82
virtual ~reject_cut()
Destructor.
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
virtual void reset()
Reset.
Top-level namespace of the Bayeux/cuts module library.
Definition: accept_cut.h:21
#define CUT_REGISTRATION_INTERFACE(T)
Definition: i_cut.h:411
reject_cut(datatools::logger::priority a_logging_priority=datatools::logger::PRIO_FATAL)
Constructor.
A cut that always rejects.
Definition: reject_cut.h:24
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
Service management class.
Definition: service_manager.h:57
A dictionary of arbitrary properties.
Definition: properties.h:125