|
Jpp - the software that should make you happy
|
Auxiliary data structure for I/O of version number. More...
#include <JVersion.hh>
Public Member Functions | |
| JVersion () | |
| Default constructor. More... | |
| JVersion (const int major, const int minor, const int patch) | |
| Constructor. More... | |
| int | getMajorVersion () const |
| Get major version. More... | |
| int | getMinorVersion () const |
| Get minor version. More... | |
| int | getPatchVersion () const |
| Get patch version. More... | |
| bool | less (const JVersion &object) const |
| Compare database API version. More... | |
Static Public Attributes | |
| static const char | SEPARATOR = '.' |
Protected Attributes | |
| unsigned int | majorVersion |
| API major version. More... | |
| unsigned int | minorVersion |
| API minor version. More... | |
| unsigned int | patchVersion |
| API patch version. More... | |
Friends | |
| std::istream & | operator>> (std::istream &in, JVersion &object) |
| Read in version from input stream. More... | |
| std::ostream & | operator<< (std::ostream &out, const JVersion &object) |
| Write version to output stream. More... | |
Auxiliary data structure for I/O of version number.
Definition at line 32 of file Jeep/JVersion.hh.
|
inline |
Default constructor.
Definition at line 40 of file Jeep/JVersion.hh.
|
inline |
Constructor.
| major | major version |
| minor | minor version |
| patch | patch version |
Definition at line 54 of file Jeep/JVersion.hh.
|
inline |
Get major version.
Definition at line 68 of file Jeep/JVersion.hh.
|
inline |
Get minor version.
Definition at line 79 of file Jeep/JVersion.hh.
|
inline |
Get patch version.
Definition at line 90 of file Jeep/JVersion.hh.
|
inline |
Compare database API version.
| object | true if this version is less than given version; else false |
Definition at line 101 of file Jeep/JVersion.hh.
|
friend |
Read in version from input stream.
| in | input stream |
| object | database API version |
Definition at line 128 of file Jeep/JVersion.hh.
|
friend |
Write version to output stream.
| out | output stream |
| object | database API version |
Definition at line 163 of file Jeep/JVersion.hh.
|
static |
Definition at line 35 of file Jeep/JVersion.hh.
|
protected |
API major version.
Definition at line 174 of file Jeep/JVersion.hh.
|
protected |
API minor version.
Definition at line 175 of file Jeep/JVersion.hh.
|
protected |
API patch version.
Definition at line 176 of file Jeep/JVersion.hh.
1.8.5