|
hoshi-lang dev
Yet another programming language
|
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 (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 | |
Private Attributes | |
| subtype_type | m_subtype = 0 |
| bool | m_has_subtype = false |
an internal type for a backed binary type
| using container_type = BinaryType |
| using subtype_type = std::uint64_t |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
clears the binary subtype
Definition at line 6263 of file json.hpp.
References byte_container_with_subtype< BinaryType >::m_has_subtype, and byte_container_with_subtype< BinaryType >::m_subtype.
|
inlineconstexprnoexcept |
return whether the value has a subtype
Definition at line 6256 of file json.hpp.
References byte_container_with_subtype< BinaryType >::m_has_subtype.
|
inline |
|
inline |
Definition at line 6228 of file json.hpp.
References byte_container_with_subtype< BinaryType >::m_has_subtype, and byte_container_with_subtype< BinaryType >::m_subtype.
|
inlinenoexcept |
sets the binary subtype
Definition at line 6241 of file json.hpp.
References byte_container_with_subtype< BinaryType >::m_has_subtype, and byte_container_with_subtype< BinaryType >::m_subtype.
|
inlineconstexprnoexcept |
return the binary subtype
Definition at line 6249 of file json.hpp.
References byte_container_with_subtype< BinaryType >::m_has_subtype, and byte_container_with_subtype< BinaryType >::m_subtype.
|
private |
Definition at line 6271 of file json.hpp.
Referenced by byte_container_with_subtype< BinaryType >::clear_subtype(), byte_container_with_subtype< BinaryType >::has_subtype(), byte_container_with_subtype< BinaryType >::operator==(), byte_container_with_subtype< BinaryType >::set_subtype(), and byte_container_with_subtype< BinaryType >::subtype().
|
private |