Auxiliary class for version identifier.
More...
#include <JVersion.hh>
Auxiliary class for version identifier.
Definition at line 30 of file JVersion.hh.
◆ JVersion() [1/2]
JEEP::JVersion::JVersion |
( |
| ) |
|
|
inline |
◆ JVersion() [2/2]
JEEP::JVersion::JVersion |
( |
const std::string & |
variant | ) |
|
|
inline |
Constructor.
- Parameters
-
Definition at line 47 of file JVersion.hh.
◆ getVersion() [1/2]
const JVersion& JEEP::JVersion::getVersion |
( |
| ) |
const |
|
inline |
Get version.
- Returns
- version
Definition at line 57 of file JVersion.hh.
59 return static_cast<const JVersion&>(*
this);
◆ getVersion() [2/2]
JVersion& JEEP::JVersion::getVersion |
( |
| ) |
|
|
inline |
Get version.
- Returns
- version
Definition at line 68 of file JVersion.hh.
70 return static_cast<JVersion&>(*
this);
◆ setVersion()
void JEEP::JVersion::setVersion |
( |
const JVersion & |
version | ) |
|
|
inline |
Set version.
- Parameters
-
Definition at line 79 of file JVersion.hh.
81 static_cast<JVersion&>(*
this) = version;
◆ getVariant()
const std::string& JEEP::JVersion::getVariant |
( |
| ) |
const |
|
inline |
Get variant.
- Returns
- variant
Definition at line 90 of file JVersion.hh.
◆ setVariant()
void JEEP::JVersion::setVariant |
( |
const std::string & |
variant | ) |
|
|
inline |
◆ equals()
bool JEEP::JVersion::equals |
( |
const JVersion & |
version | ) |
const |
|
inline |
Equal method.
- Parameters
-
- Returns
- true if this version equal to given version; else false
Definition at line 113 of file JVersion.hh.
◆ operator>> [1/2]
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 126 of file JVersion.hh.
◆ operator<< [1/2]
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 139 of file JVersion.hh.
◆ operator>> [2/2]
Read version from input.
- Parameters
-
- Returns
- reader
Definition at line 152 of file JVersion.hh.
◆ operator<< [2/2]
Write version to output.
- Parameters
-
- Returns
- writer
Definition at line 165 of file JVersion.hh.
◆ __variant
std::string JEEP::JVersion::__variant |
|
protected |
The documentation for this class was generated from the following file: