slot 0.0.1
A real time UI render framework
载入中...
搜索中...
未找到
Public 类型 | Public 成员函数 | Private 属性 | 所有成员列表
byte_container_with_subtype< BinaryType > 模板类 参考

an internal type for a backed binary type 更多...

#include <json.hpp>

类 byte_container_with_subtype< BinaryType > 继承关系图:
Inheritance graph
[图例]
byte_container_with_subtype< BinaryType > 的协作图:
Collaboration graph
[图例]

Public 类型

using container_type = BinaryType
 
using subtype_type = std::uint64_t
 

Public 成员函数

 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 属性

subtype_type m_subtype = 0
 
bool m_has_subtype = false
 

详细描述

template<typename BinaryType>
class byte_container_with_subtype< BinaryType >

an internal type for a backed binary type

参见
https://json.nlohmann.me/api/byte_container_with_subtype/

成员类型定义说明

◆ 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

构造及析构函数说明

◆ byte_container_with_subtype() [1/5]

template<typename BinaryType >
byte_container_with_subtype< BinaryType >::byte_container_with_subtype ( )
inlinenoexcept

◆ byte_container_with_subtype() [2/5]

template<typename BinaryType >
byte_container_with_subtype< BinaryType >::byte_container_with_subtype ( const container_type & b)
inlinenoexcept

◆ byte_container_with_subtype() [3/5]

template<typename BinaryType >
byte_container_with_subtype< BinaryType >::byte_container_with_subtype ( container_type && b)
inlinenoexcept

◆ byte_container_with_subtype() [4/5]

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

◆ byte_container_with_subtype() [5/5]

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

成员函数说明

◆ clear_subtype()

template<typename BinaryType >
void byte_container_with_subtype< BinaryType >::clear_subtype ( )
inlinenoexcept

◆ has_subtype()

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

return whether the value has a subtype

参见
https://json.nlohmann.me/api/byte_container_with_subtype/has_subtype/

◆ operator!=()

template<typename BinaryType >
bool byte_container_with_subtype< BinaryType >::operator!= ( const byte_container_with_subtype< BinaryType > & rhs) const
inline

◆ operator==()

template<typename BinaryType >
bool byte_container_with_subtype< BinaryType >::operator== ( const byte_container_with_subtype< BinaryType > & rhs) const
inline

◆ set_subtype()

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

◆ subtype()

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

类成员变量说明

◆ m_has_subtype

template<typename BinaryType >
bool byte_container_with_subtype< BinaryType >::m_has_subtype = false
private

◆ m_subtype

template<typename BinaryType >
subtype_type byte_container_with_subtype< BinaryType >::m_subtype = 0
private

该类的文档由以下文件生成: