64 : major_(other.major_)
65 , minor_(other.minor_)
66 , patch_(other.patch_)
94 major_ = other.major_;
95 minor_ = other.minor_;
96 patch_ = other.patch_;
128 return !(left == right);
162 return (right < left);
167 ONIXS_CMEMDH_EXPORTED
175 ONIXS_CMEMDH_EXPORTED
Component() minor() const
'minor' component of the version.
#define ONIXS_CMEMDH_LTWT_CLASS
UInt16 VersionComponent
Alias for the version numeric component.
VersionComponent Component
Alias for the numeric component.
bool operator==(const Version &left, const Version &right)
Checks the given two instances for equality.
bool operator>(const Version &left, const Version &right)
std::string toStr(const Version &version)
Serializes Version instance into point-separated presentation.
Version(const Version &other)
Initializes as a copy of the other instance.
char Char
Character type alias.
#define ONIXS_CMEMDH_NAMESPACE_BEGIN
bool operator!=(const Version &left, const Version &right)
Checks the given two instances for inequality.
ONIXS_CMEMDH_EXPORTED bool fromStr(const Char *, size_t, Version &)
Component() major() const
'major' component of the version.
#define ONIXS_CMEMDH_LTWT_EXPORTED
UInt16 UInt16
uInt16 optional.
Version(Component major, Component minor, Component patch)
Initializes the instance from the given components.
Component patch() const
'patch' component of the version.
bool operator<(const Version &left, const Version &right)
#define ONIXS_CMEMDH_NAMESPACE_END