55 : major_(other.major_)
56 , minor_(other.minor_)
57 , patch_(other.patch_)
84 major_ = other.major_;
85 minor_ = other.minor_;
86 patch_ = other.patch_;
122 return !(left == right);
152 return (right < left);
157 ONIXS_CMEMDH_EXPORTED
165 ONIXS_CMEMDH_EXPORTED
#define ONIXS_CMEMDH_LTWT_CLASS
bool operator==(const Version &left, const Version &right)
Compares with other instance for equality.
bool operator>(const Version &left, const Version &right)
Component minor() const
'minor' component of version.
std::string toStr(const Version &version)
Serializes Version instance into point-separated presentation.
Version(const Version &other)
Initializes as clone of other instance.
char Char
Character type alias.
Component major() const
'major' component of version.
UInt16 Component
Alias for the numeric component of version.
#define ONIXS_CMEMDH_NAMESPACE_BEGIN
bool operator!=(const Version &left, const Version &right)
ONIXS_CMEMDH_EXPORTED bool fromStr(const Char *, size_t, Version &)
#define ONIXS_CMEMDH_LTWT_EXPORTED
Version(Component major, Component minor, Component patch)
Initializes instances from all the components.
Component patch() const
'patch' component of version.
bool operator<(const Version &left, const Version &right)
#define ONIXS_CMEMDH_NAMESPACE_END