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_CONFLATEDUDP_EXPORTED
175 ONIXS_CONFLATEDUDP_EXPORTED
bool operator<(const Version &left, const Version &right)
Version(const Version &other)
Initializes as a copy of the other instance.
Component() major() const
'major' component of the version.
#define ONIXS_CONFLATEDUDP_LTWT_EXPORTED
Component() minor() const
'minor' component of the version.
Component patch() const
'patch' component of the version.
bool operator!=(const Version &left, const Version &right)
Checks the given two instances for inequality.
char Char
Character type alias.
std::string toStr(const Version &version)
Serializes Version instance into point-separated presentation.
bool operator==(const Version &left, const Version &right)
Checks the given two instances for equality.
ONIXS_CONFLATEDUDP_EXPORTED bool fromStr(const Char *, size_t, Version &)
#define ONIXS_CONFLATEDUDP_NAMESPACE_END
bool operator>(const Version &left, const Version &right)
VersionComponent Component
Alias for the numeric component.
UInt16 VersionComponent
Alias for the version numeric component.
#define ONIXS_CONFLATEDUDP_LTWT_CLASS
#define ONIXS_CONFLATEDUDP_NAMESPACE_BEGIN
Version(Component major, Component minor, Component patch)
Initializes the instance from the given components.