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