Goby3
3.1.5a
2024.05.23
|
an internal type for a backed binary type More...
#include <goby/util/thirdparty/nlohmann/json.hpp>
Public Types | |
using | container_type = BinaryType |
using | subtype_type = std::uint64_t |
Public Member Functions | |
byte_container_with_subtype () noexcept(noexcept(container_type())) | |
byte_container_with_subtype (const container_type &b) noexcept(noexcept(container_type(b))) | |
byte_container_with_subtype (container_type &&b) noexcept(noexcept(container_type(std::move(b)))) | |
byte_container_with_subtype (const container_type &b, subtype_type subtype_) noexcept(noexcept(container_type(b))) | |
byte_container_with_subtype (container_type &&b, subtype_type subtype_) noexcept(noexcept(container_type(std::move(b)))) | |
bool | operator== (const byte_container_with_subtype &rhs) const |
bool | operator!= (const byte_container_with_subtype &rhs) const |
void | set_subtype (subtype_type subtype_) noexcept |
sets the binary subtype More... | |
constexpr subtype_type | subtype () const noexcept |
return the binary subtype More... | |
constexpr bool | has_subtype () const noexcept |
return whether the value has a subtype More... | |
void | clear_subtype () noexcept |
clears the binary subtype More... | |
an internal type for a backed binary type
using byte_container_with_subtype< BinaryType >::container_type = BinaryType |
using byte_container_with_subtype< BinaryType >::subtype_type = std::uint64_t |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
clears the binary subtype
|
inlineconstexprnoexcept |
return whether the value has a subtype
|
inline |
|
inline |
|
inlinenoexcept |
sets the binary subtype
|
inlineconstexprnoexcept |
return the binary subtype