Feel++ 0.111.0-preview.14
Finite Element Embedded Library in C++
nlohmann::byte_container_with_subtype< BinaryType > Class Template Reference

an internal type for a backed binary type More...

+ Inheritance diagram for nlohmann::byte_container_with_subtype< BinaryType >:
+ Collaboration diagram for nlohmann::byte_container_with_subtype< 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 (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...
 

Detailed Description

template<typename BinaryType>
class nlohmann::byte_container_with_subtype< BinaryType >

an internal type for a backed binary type

See also
https://json.nlohmann.me/api/byte_container_with_subtype/

Constructor & Destructor Documentation

◆ byte_container_with_subtype() [1/5]

◆ byte_container_with_subtype() [2/5]

◆ byte_container_with_subtype() [3/5]

◆ byte_container_with_subtype() [4/5]

template<typename BinaryType >
nlohmann::byte_container_with_subtype< BinaryType >::byte_container_with_subtype ( const container_type &  b,
subtype_type  subtype_ 
)
noexcept

◆ byte_container_with_subtype() [5/5]

template<typename BinaryType >
nlohmann::byte_container_with_subtype< BinaryType >::byte_container_with_subtype ( container_type &&  b,
subtype_type  subtype_ 
)
noexcept

Member Function Documentation

◆ clear_subtype()

template<typename BinaryType >
void nlohmann::byte_container_with_subtype< BinaryType >::clear_subtype ( )
noexcept

◆ has_subtype()

template<typename BinaryType >
constexpr bool nlohmann::byte_container_with_subtype< BinaryType >::has_subtype ( ) const
constexprnoexcept

return whether the value has a subtype

See also
https://json.nlohmann.me/api/byte_container_with_subtype/has_subtype/

◆ set_subtype()

template<typename BinaryType >
void nlohmann::byte_container_with_subtype< BinaryType >::set_subtype ( subtype_type  subtype_)
noexcept

◆ subtype()

template<typename BinaryType >
constexpr subtype_type nlohmann::byte_container_with_subtype< BinaryType >::subtype ( ) const
constexprnoexcept