Version class containing the version information and helpers for comparison. More...
#include <version.h>
Public Member Functions | |
std::string const & | getVersionString () const |
bool | operator< (const Version &comparison) const |
bool | operator<= (const Version &comparison) const |
bool | operator== (const Version &comparison) const |
bool | operator> (const Version &comparison) const |
bool | operator>= (const Version &comparison) const |
void | setVersion (int major, int minor, int revision, int build) |
Version () | |
Version (int major, int minor, int revision, int build) | |
Version (const std::string &version) | |
~Version () | |
Public Attributes | |
int | v_build |
int | v_major |
int | v_minor |
int | v_revision |
std::string | v_string |
Version class containing the version information and helpers for comparison.
mocap_optitrack::Version::Version | ( | ) |
Definition at line 37 of file version.cpp.
mocap_optitrack::Version::Version | ( | int | major, |
int | minor, | ||
int | revision, | ||
int | build | ||
) |
Definition at line 42 of file version.cpp.
mocap_optitrack::Version::Version | ( | const std::string & | version | ) |
Definition at line 47 of file version.cpp.
mocap_optitrack::Version::~Version | ( | ) |
Definition at line 55 of file version.cpp.
std::string const & mocap_optitrack::Version::getVersionString | ( | ) | const |
Definition at line 70 of file version.cpp.
bool mocap_optitrack::Version::operator< | ( | const Version & | comparison | ) | const |
Definition at line 93 of file version.cpp.
bool mocap_optitrack::Version::operator<= | ( | const Version & | comparison | ) | const |
Definition at line 106 of file version.cpp.
bool mocap_optitrack::Version::operator== | ( | const Version & | comparison | ) | const |
Definition at line 111 of file version.cpp.
bool mocap_optitrack::Version::operator> | ( | const Version & | comparison | ) | const |
Definition at line 75 of file version.cpp.
bool mocap_optitrack::Version::operator>= | ( | const Version & | comparison | ) | const |
Definition at line 88 of file version.cpp.
void mocap_optitrack::Version::setVersion | ( | int | major, |
int | minor, | ||
int | revision, | ||
int | build | ||
) |
Definition at line 58 of file version.cpp.