Auxiliary data structure for I/O of database API versions.
More...
#include <JDBSupportkit.hh>
Auxiliary data structure for I/O of database API versions.
Definition at line 135 of file JDBSupportkit.hh.
JDATABASE::JDBAPIVersion::JDBAPIVersion |
( |
| ) |
|
|
inline |
Default constructor.
Definition at line 142 of file JDBSupportkit.hh.
JVersion()
Default constructor.
JDATABASE::JDBAPIVersion::JDBAPIVersion |
( |
const int |
major, |
|
|
const int |
minor, |
|
|
const int |
patch |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
major | major version |
minor | minor version |
patch | patch version |
Definition at line 154 of file JDBSupportkit.hh.
JVersion()
Default constructor.
bool JDATABASE::JDBAPIVersion::is_valid |
( |
| ) |
const |
|
inline |
Check validity.
- Returns
- true if valid; else false
Definition at line 166 of file JDBSupportkit.hh.
int getMajorVersion() const
Get major version.
int getPatchVersion() const
Get patch version.
int getMinorVersion() const
Get minor version.
JVersion()
Default constructor.
int JEEP::JVersion::getMajorVersion |
( |
| ) |
const |
|
inlineinherited |
Get major version.
- Returns
- major version.
Definition at line 68 of file Jeep/JVersion.hh.
unsigned int majorVersion
API major version.
int JEEP::JVersion::getMinorVersion |
( |
| ) |
const |
|
inlineinherited |
Get minor version.
- Returns
- minor version.
Definition at line 79 of file Jeep/JVersion.hh.
unsigned int minorVersion
API minor version.
int JEEP::JVersion::getPatchVersion |
( |
| ) |
const |
|
inlineinherited |
Get patch version.
- Returns
- patch version.
Definition at line 90 of file Jeep/JVersion.hh.
unsigned int patchVersion
API patch version.
bool JEEP::JVersion::less |
( |
const JVersion & |
object | ) |
const |
|
inlineinherited |
Compare database API version.
- Parameters
-
object | true if this version is less than given version; else false |
Definition at line 101 of file Jeep/JVersion.hh.
111 return this->minorVersion <
object.minorVersion;
116 return this->majorVersion <
object.majorVersion;
unsigned int majorVersion
API major version.
unsigned int minorVersion
API minor version.
unsigned int patchVersion
API patch version.
const char JEEP::JVersion::SEPARATOR = '.' |
|
staticinherited |
unsigned int JEEP::JVersion::majorVersion |
|
protectedinherited |
unsigned int JEEP::JVersion::minorVersion |
|
protectedinherited |
unsigned int JEEP::JVersion::patchVersion |
|
protectedinherited |
The documentation for this struct was generated from the following file: