Eclipse SUMO - Simulation of Urban MObility
|
an internal type for a backed binary type More...
#include <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 (const container_type &b, subtype_type subtype_) noexcept(noexcept(container_type(b))) | |
byte_container_with_subtype (container_type &&b) noexcept(noexcept(container_type(std::move(b)))) | |
byte_container_with_subtype (container_type &&b, subtype_type subtype_) noexcept(noexcept(container_type(std::move(b)))) | |
void | clear_subtype () noexcept |
clears the binary subtype More... | |
constexpr bool | has_subtype () const noexcept |
return whether the value has a subtype More... | |
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... | |
Private Attributes | |
bool | m_has_subtype = false |
subtype_type | m_subtype = 0 |
an internal type for a backed binary type
using nlohmann::byte_container_with_subtype< BinaryType >::container_type = BinaryType |
using nlohmann::byte_container_with_subtype< BinaryType >::subtype_type = std::uint64_t |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
clears the binary subtype
Definition at line 5042 of file json.hpp.
References nlohmann::byte_container_with_subtype< BinaryType >::m_has_subtype, and nlohmann::byte_container_with_subtype< BinaryType >::m_subtype.
|
inlineconstexprnoexcept |
return whether the value has a subtype
Definition at line 5035 of file json.hpp.
References nlohmann::byte_container_with_subtype< BinaryType >::m_has_subtype.
|
inline |
|
inline |
Definition at line 5007 of file json.hpp.
References nlohmann::byte_container_with_subtype< BinaryType >::m_has_subtype, and nlohmann::byte_container_with_subtype< BinaryType >::m_subtype.
|
inlinenoexcept |
sets the binary subtype
Definition at line 5020 of file json.hpp.
References nlohmann::byte_container_with_subtype< BinaryType >::m_has_subtype, and nlohmann::byte_container_with_subtype< BinaryType >::m_subtype.
|
inlineconstexprnoexcept |
return the binary subtype
Definition at line 5028 of file json.hpp.
References nlohmann::byte_container_with_subtype< BinaryType >::m_has_subtype, and nlohmann::byte_container_with_subtype< BinaryType >::m_subtype.
|
private |
Definition at line 5050 of file json.hpp.
Referenced by nlohmann::byte_container_with_subtype< BinaryType >::clear_subtype(), nlohmann::byte_container_with_subtype< BinaryType >::has_subtype(), nlohmann::byte_container_with_subtype< BinaryType >::operator==(), nlohmann::byte_container_with_subtype< BinaryType >::set_subtype(), and nlohmann::byte_container_with_subtype< BinaryType >::subtype().
|
private |
Definition at line 5049 of file json.hpp.
Referenced by nlohmann::byte_container_with_subtype< BinaryType >::clear_subtype(), nlohmann::byte_container_with_subtype< BinaryType >::operator==(), nlohmann::byte_container_with_subtype< BinaryType >::set_subtype(), and nlohmann::byte_container_with_subtype< BinaryType >::subtype().