Auxiliary class for historical event.
More...
#include <JHistory.hh>
|
std::ostream & | operator<< (std::ostream &out, const JEvent &event) |
| Write event to output stream.
|
|
Auxiliary class for historical event.
Definition at line 36 of file JHistory.hh.
◆ JEvent() [1/2]
◆ JEvent() [2/2]
JFIT::JEvent::JEvent |
( |
const int | type | ) |
|
|
inline |
Constructor.
- Parameters
-
Definition at line 50 of file JHistory.hh.
51 {
53
57 this->date = getDateAndTime();
58 }
std::string getGITVersion(const std::string &tag)
Get GIT version for given GIT tag.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
std::string git
GIT revision.
static const JUUID & rndm()
Generate random UUID.
◆ ~JEvent()
virtual JFIT::JEvent::~JEvent |
( |
| ) |
|
|
inlinevirtual |
◆ ClassDef()
JFIT::JEvent::ClassDef |
( |
JEvent | , |
|
|
2 | ) |
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | out, |
|
|
const JEvent & | event ) |
|
friend |
Write event to output stream.
- Parameters
-
out | output stream |
event | event |
- Returns
- output stream
Definition at line 75 of file JHistory.hh.
76 {
78
79 out << setw(3) << right << event.type << ' '
80 << setw(36) << left << event.uuid << ' '
81 << setw(20) << left << event.git << ' '
82 << setw(20) << left << event.date << right;
83
84 return out;
85 }
◆ type
◆ uuid
◆ git
std::string JFIT::JEvent::git |
◆ date
std::string JFIT::JEvent::date |
The documentation for this struct was generated from the following file: