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.
|
V5 |
Version with module status field.
|
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.
Version with module status field.
JDETECTOR::JDetectorVersion::JDetectorVersion |
( |
| ) |
|
|
inline |
JDETECTOR::JDetectorVersion::JDetectorVersion |
( |
const JVersion & |
version | ) |
|
|
inline |
Constructor.
- Parameters
-
Definition at line 70 of file JDetectorVersion.hh.
JVersion()
Default constructor.
bool JDETECTOR::JDetectorVersion::hasVersion |
( |
| ) |
const |
|
inline |
Check validity of version.
- Returns
- true if valid; else false
Definition at line 80 of file JDetectorVersion.hh.
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 93 of file JDetectorVersion.hh.
then fatal The output file must have the wildcard in the e g root fi eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS 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 106 of file JDetectorVersion.hh.
Read version from input.
- Parameters
-
- Returns
- reader
Definition at line 119 of file JDetectorVersion.hh.
then fatal The output file must have the wildcard in the e g root fi eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
std::string JDETECTOR::JVersion::version |
|
protectedinherited |
The documentation for this struct was generated from the following file: