#include <OnixS/FIXEngine/FIX/Version.h>
Public Member Functions | |
Version (VersionComponent majorNumber, VersionComponent minorNumber, VersionComponent improvement, VersionComponent build) | |
VersionComponent | majorNumber () const |
VersionComponent | minorNumber () const |
VersionComponent | improvement () const |
VersionComponent | build () const |
bool | operator== (const Version &) const |
bool | operator!= (const Version &) const |
bool | operator< (const Version &) const |
bool | operator> (const Version &) const |
void | toString (std::string &) const |
std::string | toString () const |
Static Public Member Functions | |
static bool | parse (const char *, size_t, Version &) |
static Version | current () |
Provides access to single components which compound whole version, comparing and serialization/deserialization facilities.
Version | ( | VersionComponent | majorNumber, |
VersionComponent | minorNumber, | ||
VersionComponent | improvement, | ||
VersionComponent | build | ||
) |
Initializes instances from all the components.
VersionComponent build | ( | ) | const |
'build number' component of version.
|
static |
Identifies current version of the product.
VersionComponent improvement | ( | ) | const |
'improvement' component of version.
VersionComponent majorNumber | ( | ) | const |
'major' component of version.
VersionComponent minorNumber | ( | ) | const |
'minor' component of version.
bool operator!= | ( | const Version & | ) | const |
Compares with other instance for inequality.
bool operator< | ( | const Version & | ) | const |
Checks whether the version is less then the other.
bool operator== | ( | const Version & | ) | const |
Compares with other instance for equality.
bool operator> | ( | const Version & | ) | const |
Checks whether the version is grater then the other.
|
static |
Extracts version from point-separated presentation.
Updates version parameter if buffer is parsed successfully.
void toString | ( | std::string & | ) | const |
Serializes into point-separated presentation.
std::string toString | ( | ) | const |
Serializes into point-separated presentation.