Bayeux  3.4.1
Core Foundation library for SuperNEMO
multi_or_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-05-16
5  *
6  * License:
7  *
8  * Description:
9  * OR cut that combines many cuts
10  *
11  * History:
12  *
13  */
14 
15 #ifndef CUTS_MULTI_OR_CUT_H
16 #define CUTS_MULTI_OR_CUT_H 1
17 
18 // Standard library:
19 #include <string>
20 #include <list>
21 
22 // This project:
23 #include <cuts/i_multi_cut.h>
24 
25 namespace cuts {
26 
28  class multi_or_cut : public i_multi_cut
29  {
30  public:
31 
33  multi_or_cut(datatools::logger::priority a_logging_priority =
35 
37  virtual ~multi_or_cut();
38 
39  protected :
40 
42  virtual int _accept();
43 
44  private:
45 
46  // Macro to automate the registration of the cut :
48 
49  };
50 
51 } // end of namespace cuts
52 
53 #endif // CUTS_MULTI_OR_CUT_H
54 
55 /*
56 ** Local Variables: --
57 ** mode: c++ --
58 ** c-file-style: "gnu" --
59 ** tab-width: 2 --
60 ** End: --
61 */
The abstract base class for multi cuts.
Definition: i_multi_cut.h:32
virtual int _accept()
Selection.
multi_or_cut(datatools::logger::priority a_logging_priority=datatools::logger::PRIO_FATAL)
Constructor.
priority
Priority levels for logging from most to least critical.
Definition: logger.h:82
A multi OR cut.
Definition: multi_or_cut.h:28
A fatal error. The application will most likely terminate. This is the highest priority.
Definition: logger.h:85
Top-level namespace of the Bayeux/cuts module library.
Definition: accept_cut.h:21
virtual ~multi_or_cut()
Destructor.
#define CUT_REGISTRATION_INTERFACE(T)
Definition: i_cut.h:411