50 int major = 0, minor = 0, revision = 0, build = 0;
51 std::sscanf(version.c_str(),
"%d.%d.%d.%d", &major, &minor, &revision, &build);
65 std::stringstream sstr;
90 return ((*
this > comparison) || (*
this == comparison));
108 return ((*
this < comparison) || (*
this == comparison));
std::string const & getVersionString() const
bool operator==(const Version &comparison) const
void setVersion(int major, int minor, int revision, int build)
bool operator>(const Version &comparison) const
Version class containing the version information and helpers for comparison.
bool operator<=(const Version &comparison) const
bool operator>=(const Version &comparison) const
bool operator<(const Version &comparison) const