Specialization of the compat_num class for 16-bit compat numbers. More...
#include <uhd/utils/compat_check.hpp>
Public Member Functions | |
compat_num16 (const uint16_t compat_val) | |
compat_num16 (const uint8_t major, const uint8_t minor) | |
uint16_t | get () const |
Public Member Functions inherited from uhd::compat_num< uint8_t, uint8_t > | |
constexpr | compat_num (uint8_t major, uint8_t minor) |
uint8_t | get_major () const |
uint8_t | get_minor () const |
bool | operator== (const compat_num< uint8_t, uint8_t > &rhs) const |
bool | operator!= (const compat_num< uint8_t, uint8_t > &rhs) const |
bool | operator< (const compat_num< uint8_t, uint8_t > &rhs) const |
bool | operator<= (const compat_num< uint8_t, uint8_t > &rhs) const |
bool | operator> (const compat_num< uint8_t, uint8_t > &rhs) const |
bool | operator>= (const compat_num< uint8_t, uint8_t > &rhs) const |
std::string | to_string () const |
Additional Inherited Members | |
Protected Attributes inherited from uhd::compat_num< uint8_t, uint8_t > | |
uint8_t | _major |
uint8_t | _minor |
Specialization of the compat_num class for 16-bit compat numbers.
|
inline |
|
inline |
|
inline |