![]() |
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 | |
| constexpr bool | has_subtype () const noexcept |
| return whether the value has a subtype | |
| 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 | |
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 |
Definition at line 4979 of file json.hpp.
Referenced by operator!=(), and operator==().
|
inlinenoexcept |
Definition at line 4984 of file json.hpp.
References nlohmann::b.
|
inlinenoexcept |
Definition at line 4989 of file json.hpp.
References nlohmann::b.
|
inlinenoexcept |
Definition at line 4994 of file json.hpp.
References nlohmann::b, m_has_subtype, and m_subtype.
|
inlinenoexcept |
Definition at line 5001 of file json.hpp.
References nlohmann::b, m_has_subtype, and m_subtype.
|
inlinenoexcept |
clears the binary subtype
Definition at line 5042 of file json.hpp.
References m_has_subtype, and m_subtype.
|
inlineconstexprnoexcept |
return whether the value has a subtype
Definition at line 5035 of file json.hpp.
References m_has_subtype.
|
inline |
Definition at line 5013 of file json.hpp.
References byte_container_with_subtype(), and nlohmann::rhs.
|
inline |
Definition at line 5007 of file json.hpp.
References byte_container_with_subtype(), m_has_subtype, m_subtype, and nlohmann::rhs.
|
inlinenoexcept |
sets the binary subtype
Definition at line 5020 of file json.hpp.
References m_has_subtype, and m_subtype.
|
inlineconstexprnoexcept |
return the binary subtype
Definition at line 5028 of file json.hpp.
References m_has_subtype, and m_subtype.
|
private |
Definition at line 5050 of file json.hpp.
Referenced by byte_container_with_subtype(), byte_container_with_subtype(), clear_subtype(), has_subtype(), operator==(), set_subtype(), and subtype().
|
private |
Definition at line 5049 of file json.hpp.
Referenced by byte_container_with_subtype(), byte_container_with_subtype(), clear_subtype(), operator==(), set_subtype(), and subtype().