File version.hpp

Version class.

Functions

static inline std::ostream &operator<<(std::ostream &os, const Version &version)
namespace slamcore

Helper conversion methods

slamcore::ImageFormat \(\leftrightarrow\) BytesPerChannel

Get information about the client library

Functions

static inline std::ostream &operator<<(std::ostream &os, const Version &version)
class Version
#include <version.hpp>

Manage / Get information about the version of the client library

Public Functions

inline constexpr Version()
inline constexpr Version(const uint8_t vma, const uint8_t vmi, const uint8_t vpat)
inline constexpr bool operator==(const Version &other) const
inline constexpr bool operator<(const Version &other) const
inline constexpr bool operator<=(const Version &other) const
inline constexpr bool operator>(const Version &other) const
inline constexpr bool operator!=(const Version &other) const
inline constexpr bool operator>=(const Version &other) const
inline constexpr unsigned int getMajor() const
inline constexpr unsigned int getMinor() const
inline constexpr unsigned int getPatch() const

Private Members

uint8_t m_major
uint8_t m_minor
uint8_t m_patch