Pixie16 Analysis Software Suite
Analysis code for processing of .ldf files
Notebook.hpp
Go to the documentation of this file.
1 
6 #ifndef __NOTEBOOK_HPP__
7 #define __NOTEBOOK_HPP__
8 
9 #include <string>
10 #include <fstream>
11 
13 class Notebook {
14 public:
16  static Notebook* get();
17 
20  void report(std::string note);
21 
23  const std::string currentDateTime() const;
24 
26  ~Notebook();
27 
28 private:
29  Notebook();
30  Notebook(Notebook const&);
31  void operator=(Notebook const&);
32  static Notebook* instance;
33 
34  std::string mode_;
35  std::string file_name_;
36 };
37 #endif
void operator=(Notebook const &)
the copy constructor
std::string mode_
the mode for the notebook class
Definition: Notebook.hpp:34
void report(std::string note)
A class to output things to a notebook.
Definition: Notebook.hpp:13
static Notebook * instance
static instance of the class
Definition: Notebook.hpp:32
const std::string currentDateTime() const
std::string file_name_
the file name to output into
Definition: Notebook.hpp:35
Notebook()
Default constructor.