Auxiliary class for version identifier.
More...
#include <JVersion.hh>
Auxiliary class for version identifier.
Definition at line 30 of file JDetector/JVersion.hh.
JDETECTOR::JVersion::JVersion |
( |
| ) |
|
|
inline |
JDETECTOR::JVersion::JVersion |
( |
const std::string & |
variant | ) |
|
|
inline |
const JVersion& JDETECTOR::JVersion::getVersion |
( |
| ) |
const |
|
inline |
Get version.
- Returns
- version
Definition at line 56 of file JDetector/JVersion.hh.
58 return static_cast<const JVersion&
>(*this);
Auxiliary class for version identifier.
JVersion& JDETECTOR::JVersion::getVersion |
( |
| ) |
|
|
inline |
Get version.
- Returns
- version
Definition at line 67 of file JDetector/JVersion.hh.
69 return static_cast<JVersion&
>(*this);
Auxiliary class for version identifier.
void JDETECTOR::JVersion::setVersion |
( |
const JVersion & |
version | ) |
|
|
inline |
Set version.
- Parameters
-
Definition at line 78 of file JDetector/JVersion.hh.
Auxiliary class for version identifier.
const std::string& JDETECTOR::JVersion::getVariant |
( |
| ) |
const |
|
inline |
void JDETECTOR::JVersion::setVariant |
( |
const std::string & |
variant | ) |
|
|
inline |
bool JDETECTOR::JVersion::equals |
( |
const JVersion & |
version | ) |
const |
|
inline |
Equal method.
- Parameters
-
- Returns
- true if this version equal to given version; else false
Definition at line 112 of file JDetector/JVersion.hh.
const std::string & getVariant() const
Get variant.
std::istream& operator>> |
( |
std::istream & |
in, |
|
|
JVersion & |
version |
|
) |
| |
|
friend |
Read version from input.
- Parameters
-
in | input stream |
version | version |
- Returns
- input stream
Definition at line 125 of file JDetector/JVersion.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 JVersion & |
version |
|
) |
| |
|
friend |
Write version to output.
- Parameters
-
out | output stream |
version | version |
- Returns
- output stream
Definition at line 138 of file JDetector/JVersion.hh.
Read version from input.
- Parameters
-
- Returns
- reader
Definition at line 151 of file JDetector/JVersion.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::__variant |
|
protected |
The documentation for this struct was generated from the following file: