Detector version.
More...
#include <JDetectorVersion.hh>
Detector version.
Definition at line 41 of file JDetectorVersion.hh.
Enumeration of version types.
Note that additional version types should be included in JGetDetectorVersion::JGetDetectorVersion.
| Enumerator |
|---|
| V1 |
First version.
|
| V2 |
Version with UTC time and UTM position data.
|
| V3 |
Version with PMT status field and comments.
|
| V4 |
Version with quaternion and time offset per module.
|
Definition at line 48 of file JDetectorVersion.hh.
Version with UTC time and UTM position data.
Version with PMT status field and comments.
Version with quaternion and time offset per module.
| JDETECTOR::JDetectorVersion::JDetectorVersion |
( |
| ) |
|
|
inline |
| JDETECTOR::JDetectorVersion::JDetectorVersion |
( |
const JVersion & |
version | ) |
|
|
inline |
Constructor.
- Parameters
-
Definition at line 69 of file JDetectorVersion.hh.
JVersion()
Default constructor.
| const std::string& JDETECTOR::JVersion::getVersion |
( |
| ) |
const |
|
inlineinherited |
| void JDETECTOR::JVersion::setVersion |
( |
const std::string & |
version | ) |
|
|
inlineinherited |
| bool JDETECTOR::JVersion::less |
( |
const JVersion & |
version | ) |
const |
|
inlineinherited |
Less-than method.
- Parameters
-
- Returns
- true if this version less than given version; else false
Definition at line 73 of file JDetector/JVersion.hh.
const std::string & getVersion() const
Get version.
Read version from input.
- Parameters
-
| in | input stream |
| version | version |
- Returns
- input stream
Definition at line 81 of file JDetectorVersion.hh.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
| std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const JDetectorVersion & |
version |
|
) |
| |
|
friend |
Write version to output.
- Parameters
-
| out | output stream |
| version | version |
- Returns
- output stream
Definition at line 94 of file JDetectorVersion.hh.
Read version from input.
- Parameters
-
- Returns
- reader
Definition at line 107 of file JDetectorVersion.hh.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
| std::string JDETECTOR::JVersion::version |
|
protectedinherited |
The documentation for this struct was generated from the following file: