13#include <peak/dll_interface/peak_dll_interface_util.hpp>
36 Version(uint32_t major, uint32_t minor, uint32_t patch);
111 std::stringstream strStream;
115 return strStream.str();
164 return !(lhs < rhs) && !(lhs > rhs);
169 return !(lhs == rhs);
Implements versioning functionality.
Definition peak_version.hpp:33
PEAK_COMMON_NO_DISCARD uint32_t Major() const
Returns the major part of the version which is the first part of the version scheme separated by dots...
Definition peak_version.hpp:118
PEAK_COMMON_NO_DISCARD uint32_t Patch() const
Returns the minor part of the version which is the second part of the version scheme separated by dot...
Definition peak_version.hpp:133
PEAK_COMMON_NO_DISCARD uint32_t Subminor() const
Definition peak_version.hpp:128
Version & operator=(Version &&other)=default
PEAK_COMMON_NO_DISCARD std::string ToString() const
Returns the version as string.
Definition peak_version.hpp:109
Version(Version &&other)=default
PEAK_COMMON_NO_DISCARD uint32_t Minor() const
Returns the minor part of the version which is the second part of the version scheme separated by dot...
Definition peak_version.hpp:123
Version(const Version &other)=default
Version & operator=(const Version &other)=default
The "core" namespace contains the direct GenAPI and GenTL wrapper.
Definition peak_buffer.hpp:32
bool operator<(const Version &lhs, const Version &rhs)
Definition peak_version.hpp:139
bool operator>(const Version &lhs, const Version &rhs)
Definition peak_version.hpp:157
bool operator!=(const Version &lhs, const Version &rhs)
Definition peak_version.hpp:167
bool operator==(const Version &lhs, const Version &rhs)
Definition peak_version.hpp:162
The "peak" namespace directly contains convenience functionality like the DeviceManager as well as th...
Definition peak_buffer.hpp:29
#define PEAK_COMMON_DEPRECATED_MSG(MESSAGE)
Definition peak_common_defines.h:52
#define PEAK_COMMON_NO_DISCARD
Definition peak_common_defines.h:89