Jpp
|
Auxiliary class for version identifier. More...
#include <JVersion.hh>
Public Member Functions | |
JVersion () | |
Default constructor. More... | |
JVersion (const std::string &variant) | |
Constructor. More... | |
const JVersion & | getVersion () const |
Get version. More... | |
JVersion & | getVersion () |
Get version. More... | |
void | setVersion (const JVersion &version) |
Set version. More... | |
const std::string & | getVariant () const |
Get variant. More... | |
void | setVariant (const std::string &variant) |
Set variant. More... | |
bool | equals (const JVersion &version) const |
Equal method. More... | |
Protected Attributes | |
std::string | __variant |
Friends | |
std::istream & | operator>> (std::istream &in, JVersion &version) |
Read version from input. More... | |
std::ostream & | operator<< (std::ostream &out, const JVersion &version) |
Write version to output. More... | |
JReader & | operator>> (JReader &in, JVersion &version) |
Read version from input. More... | |
JWriter & | operator<< (JWriter &out, const JVersion &version) |
Write version to output. More... | |
Auxiliary class for version identifier.
Definition at line 30 of file JVersion.hh.
|
inline |
Default constructor.
Definition at line 37 of file JVersion.hh.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Equal method.
version | version |
Definition at line 113 of file JVersion.hh.
|
friend |
Read version from input.
in | input stream |
version | version |
Definition at line 126 of file JVersion.hh.
|
friend |
Write version to output.
out | output stream |
version | version |
Definition at line 139 of file JVersion.hh.
Read version from input.
in | reader |
version | version |
Definition at line 152 of file JVersion.hh.
Write version to output.
out | writer |
version | version |
Definition at line 165 of file JVersion.hh.
|
protected |
Definition at line 171 of file JVersion.hh.