NexusForce 1.0.0
A rigorously engineered full-stack C++ backend library.
载入中...
搜索中...
未找到
序列化

序列化与反序列化组件 更多...

class  neforce::serialize::binary_serializer
 二进制序列化器 更多...
class  neforce::serialize::json_serializer
 JSON 序列化器 更多...
struct  neforce::serialize::serialize_context
 序列化上下文 更多...

函数

bool neforce::serialize::is_arithmetic_type (const reflect::type_id tid) noexcept
 判断指定类型 ID 是否为基础算术类型
bool neforce::serialize::is_char_type (const reflect::type_id tid) noexcept
 判断指定类型 ID 是否为字符类型
bool neforce::serialize::is_string_type (const reflect::type_id tid) noexcept
 判断指定类型 ID 是否为字符串类型

详细描述

序列化与反序列化组件

函数说明

◆ is_arithmetic_type()

bool neforce::serialize::is_arithmetic_type ( const reflect::type_id tid)
inlinenodiscardnoexcept

判断指定类型 ID 是否为基础算术类型

参数
tid类型 ID
返回
是基础算术类型返回 true

在文件 serializer_base.hpp38 行定义.

引用了 is_arithmetic_type() , 以及 neforce::reflect::type_id_for().

被这些函数引用 is_arithmetic_type().

◆ is_char_type()

bool neforce::serialize::is_char_type ( const reflect::type_id tid)
inlinenodiscardnoexcept

判断指定类型 ID 是否为字符类型

参数
tid类型 ID
返回
是字符类型返回 true

在文件 serializer_base.hpp58 行定义.

引用了 is_char_type() , 以及 neforce::reflect::type_id_for().

被这些函数引用 is_char_type().

◆ is_string_type()

bool neforce::serialize::is_string_type ( const reflect::type_id tid)
inlinenodiscardnoexcept

判断指定类型 ID 是否为字符串类型

参数
tid类型 ID
返回
是字符串类型返回 true

在文件 serializer_base.hpp71 行定义.

引用了 is_string_type() , 以及 neforce::reflect::type_id_for().

被这些函数引用 is_string_type().