119 bool operator==(const
Version& rhs) const noexcept;
128 bool operator!=(const
Version& rhs) const noexcept;
137 bool operator<(const
Version& rhs) const noexcept;
146 bool operator<=(const
Version& rhs) const noexcept;
155 bool operator>(const
Version& rhs) const noexcept;
164 bool operator>=(const
Version& rhs) const noexcept;
Contains defines controlling the Windows DLL export and import of symbols.
#define OTC_SDK_API
Only needed when working with Windows DLLs.
Definition Api.h:65
Represent a version with major, minor and patch version numbers.
Definition Version.h:24
OTC_SDK_API int compare(const Version &rhs) const noexcept
Compares the provided version with the stored one.
int getMajor() const noexcept
Returns the major version number.
Definition Version.h:175
bool operator!=(const Version &rhs) const noexcept
Return whether the provided version is not equal to the stored one.
Definition Version.h:195
int getPatch() const noexcept
Returns the patch version number.
Definition Version.h:185
bool operator>(const Version &rhs) const noexcept
Return whether the stored version is higher than to the provided one.
Definition Version.h:210
bool operator<(const Version &rhs) const noexcept
Return whether the stored version is lower than the provided one.
Definition Version.h:200
OTC_SDK_API Version() noexcept
Constructor.
bool operator>=(const Version &rhs) const noexcept
Return whether the stored version is higher than or equal to the provided one.
Definition Version.h:215
bool operator==(const Version &rhs) const noexcept
Return whether the provided version equals the stored one.
Definition Version.h:190
OTC_SDK_API std::string toString() const noexcept
Returns a string representation of the version.
int getMinor() const noexcept
Returns the minor version number.
Definition Version.h:180
OTC_SDK_API bool isValid() const noexcept
Returns whether the stored version is valid.
bool operator<=(const Version &rhs) const noexcept
Return whether the stored version is lower than or equal to the provided one.
Definition Version.h:205
Main SDK namespace.
Definition AlarmChannel.h:21
OTC_SDK_API std::ostream & operator<<(std::ostream &out, const AlarmChannelConfig &config) noexcept
Output stream operator for alarm channel configurations.