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);
bool operator<(const Version &left, const Version &right)
Identifies version of the product.
bool operator!=(const Version &left, const Version &right)
Version(const Version &other)
Initializes as clone of other instance.
Component minor() const
'minor' component of version.
Component major() const
'major' component of version.
UInt16 Component
Alias for the numeric component of version.
bool fromStr(const Char *, size_t, Version &)
Extracts version from point-separated presentation.
#define ONIXS_CMESTREAMLINEDMDH_NAMESPACE_END
#define ONIXS_CMESTREAMLINEDMDH_LTWT_CLASS
#define ONIXS_CMESTREAMLINEDMDH_EXPORTED
char Char
Character type alias.
bool operator==(const Version &left, const Version &right)
Compares with other instance for equality.
#define ONIXS_CMESTREAMLINEDMDH_LTWT_EXPORTED
bool operator>(const Version &left, const Version &right)
std::string toStr(const Version &version)
Serializes Version instance into point-separated presentation.
Version(Component major, Component minor, Component patch)
Initializes instances from all the components.
Component patch() const
'patch' component of version.
#define ONIXS_CMESTREAMLINEDMDH_NAMESPACE_BEGIN