Bayeux  3.4.1
Core Foundation library for SuperNEMO
datatools.h
Go to the documentation of this file.
1 
5 #ifndef DATATOOLS_DATATOOLS_H
6 #define DATATOOLS_DATATOOLS_H 1
7 
8 // Third Party:
9 // - Boost:
10 #include <boost/noncopyable.hpp>
11 #include <boost/cstdint.hpp>
12 
13 // This project:
14 #include <datatools/logger.h>
16 
18 namespace datatools {
19 
21  namespace detail {
22 
24  struct sys : private boost::noncopyable
25  {
27  sys();
28 
30  virtual ~sys();
31 
34 
36  static const sys & const_instance();
37 
38  private:
39 
40  logger::priority _logging_;
41 
42  };
43 
44  } // end of namespace detail
45 
47  void initialize(int argc_ = 0, char * argv_[] = 0, uint32_t flags_ = 0);
48 
50  void terminate();
51 
52 }
53 
54 #endif // DATATOOLS_DATATOOLS_H
55 
56 // Local Variables: --
57 // mode: c++ --
58 // c-file-style: "gnu" --
59 // tab-width: 2 --
60 // End: --
priority
Priority levels for logging from most to least critical.
Definition: logger.h:82
logger::priority get_logging() const
Return the logging priority.
Describe the datatools API configuration.
void initialize(int argc_=0, char *argv_[]=0, uint32_t flags_=0)
Initialize the datatools library and kernel.
static const sys & const_instance()
Access to the 'sys' singleton (read-only)
void terminate()
Terminate the datatools library and kernel.
virtual ~sys()
Destructor.
The Bayeux/datatools library top-level namespace.
Definition: algo.h:13
Utilities for logging information.
sys()
Default constructor.
System class for developpers:
Definition: datatools.h:24