#include <json.h>
|
enum class | ValueKind {
kString
, kNumber
, kInteger
, kObject
,
kArray
, kBoolean
, kNull
, kF32Array
,
kF64Array
, kI8Array
, kU8Array
, kI16Array
,
kI32Array
, kI64Array
} |
| Simplified implementation of LLVM RTTI. More...
|
|
◆ ValueKind
Simplified implementation of LLVM RTTI.
Enumerator |
---|
kString | |
kNumber | |
kInteger | |
kObject | |
kArray | |
kBoolean | |
kNull | |
kF32Array | |
kF64Array | |
kI8Array | |
kU8Array | |
kI16Array | |
kI32Array | |
kI64Array | |
◆ Value()
◆ ~Value()
virtual xgboost::Value::~Value |
( |
| ) |
|
|
virtualdefault |
◆ operator=()
virtual Value& xgboost::Value::operator= |
( |
Value const & |
rhs | ) |
|
|
virtualdelete |
◆ operator==()
virtual bool xgboost::Value::operator== |
( |
Value const & |
rhs | ) |
const |
|
pure virtual |
◆ operator[]() [1/2]
virtual Json& xgboost::Value::operator[] |
( |
int |
ind | ) |
|
|
virtual |
◆ operator[]() [2/2]
virtual Json& xgboost::Value::operator[] |
( |
std::string const & |
key | ) |
|
|
virtual |
◆ Save()
virtual void xgboost::Value::Save |
( |
JsonWriter * |
writer | ) |
const |
|
pure virtual |
◆ Type()
◆ TypeStr()
std::string xgboost::Value::TypeStr |
( |
| ) |
const |
◆ IntrusivePtrRefCount
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/xgboost/checkouts/stable/include/xgboost/json.h