xgboost
公共成员函数 | 所有成员列表
xgboost::UBJReader 类参考

用于读取 UBJSON 格式的类 https://ubjson.org/更多详情...

#include <json_io.h>

xgboost::UBJReader 继承图
Inheritance graph
xgboost::UBJReader 协作图
Collaboration graph

公共成员函数

Json Load () override
 
 JsonReader (StringView str)
 
- 继承自 xgboost::JsonReader 的公共成员函数
 JsonReader (StringView str)
 
virtual ~JsonReader ()=default
 

其他继承成员

- 继承自 xgboost::JsonReader 的公共类型
using Char = std::int8_t
 
- 继承自 xgboost::JsonReader 的保护成员函数
void SkipSpaces ()
 
Char GetNextChar ()
 
Char PeekNextChar ()
 
Char GetNextNonSpaceChar ()
 
Char GetConsecutiveChar (char expected_char)
 
void Error (std::string msg) const
 
void Expect (Char c, Char got)
 
virtual Json ParseString ()
 
virtual Json ParseNumber ()
 
virtual Json ParseBoolean ()
 
virtual Json ParseNull ()
 
Json Parse ()
 
- 继承自 xgboost::JsonReader 的保护属性
struct xgboost::JsonReader::SourceLocation cursor_
 
StringView raw_str_
 
- 继承自 xgboost::JsonReader 的静态保护属性
constexpr static size_t kMaxNumLength = std::numeric_limits<double>::max_digits10 + 1
 

详细描述

用于读取 UBJSON 格式的类 https://ubjson.org/

成员函数文档

◆ JsonReader()

xgboost::JsonReader::JsonReader
inlineexplicit

◆ Load()

Json xgboost::UBJReader::Load ( )
overridevirtual

重新实现自 xgboost::JsonReader


此类的文档生成自以下文件