Template
|
byte_container_with_subtype< BinaryType > Class Template Reference
an internal type for a backed binary type More...
#include <json.hpp>
Inherits BinaryType.
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 | |
constexpr subtype_type | subtype () const noexcept |
return the binary subtype | |
constexpr bool | has_subtype () const noexcept |
return whether the value has a subtype | |
void | clear_subtype () noexcept |
clears the binary subtype | |
Detailed Description
template<typename BinaryType>
class byte_container_with_subtype< BinaryType >
class byte_container_with_subtype< BinaryType >
an internal type for a backed binary type
Member Typedef Documentation
◆ container_type
template<typename BinaryType >
using byte_container_with_subtype< BinaryType >::container_type = BinaryType |
◆ subtype_type
template<typename BinaryType >
using byte_container_with_subtype< BinaryType >::subtype_type = std::uint64_t |
Constructor & Destructor Documentation
◆ byte_container_with_subtype() [1/5]
template<typename BinaryType >
|
inlinenoexcept |
◆ byte_container_with_subtype() [2/5]
template<typename BinaryType >
|
inlinenoexcept |
◆ byte_container_with_subtype() [3/5]
template<typename BinaryType >
|
inlinenoexcept |
◆ byte_container_with_subtype() [4/5]
template<typename BinaryType >
|
inlinenoexcept |
◆ byte_container_with_subtype() [5/5]
template<typename BinaryType >
|
inlinenoexcept |
Member Function Documentation
◆ clear_subtype()
template<typename BinaryType >
|
inlinenoexcept |
clears the binary subtype
◆ has_subtype()
template<typename BinaryType >
|
inlineconstexprnoexcept |
return whether the value has a subtype
◆ operator!=()
template<typename BinaryType >
|
inline |
◆ operator==()
template<typename BinaryType >
|
inline |
◆ set_subtype()
template<typename BinaryType >
|
inlinenoexcept |
sets the binary subtype
◆ subtype()
template<typename BinaryType >
|
inlineconstexprnoexcept |
return the binary subtype
The documentation for this class was generated from the following file:
- include/nlohmann/json.hpp
Generated by 1.9.8