15 #include <peak/dll_interface/peak_dll_interface_util.hpp> 37 Version(uint32_t major, uint32_t minor, uint32_t subminor);
57 uint32_t
Major()
const;
65 uint32_t
Minor()
const;
98 , m_subminor(subminor)
103 std::stringstream strStream;
107 return strStream.str();
150 return !(lhs < rhs) && !(lhs > rhs);
155 return !(lhs == rhs);
Implements versioning functionality.
Definition: peak_version.hpp:33
bool operator==(const Version &lhs, const Version &rhs)
Definition: peak_version.hpp:148
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:110
The "peak" namespace directly contains convenience functionality like the DeviceManager as well as th...
Definition: peak_dynamic_loader.h:32
bool operator<(const Version &lhs, const Version &rhs)
Definition: peak_version.hpp:125
bool operator>(const Version &lhs, const Version &rhs)
Definition: peak_version.hpp:143
bool operator!=(const Version &lhs, const Version &rhs)
Definition: peak_version.hpp:153
Version & operator=(const Version &other)=default
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:115
uint32_t Subminor() const
Returns the subminor part of the version which is the third part of the version scheme separated by d...
Definition: peak_version.hpp:120
std::string ToString() const
Returns the version as string.
Definition: peak_version.hpp:101