#include <json.h>
|
enum | ValueKind {
ValueKind::kString,
ValueKind::kNumber,
ValueKind::kInteger,
ValueKind::kObject,
ValueKind::kArray,
ValueKind::kBoolean,
ValueKind::kNull,
ValueKind::kNumberArray,
ValueKind::kU8Array,
ValueKind::kI32Array,
ValueKind::kI64Array
} |
| Simplified implementation of LLVM RTTI. More...
|
|
◆ JsonObject() [1/4]
xgboost::JsonObject::JsonObject |
( |
| ) |
|
|
inline |
◆ JsonObject() [2/4]
xgboost::JsonObject::JsonObject |
( |
std::map< std::string, Json > && |
object | ) |
|
|
noexcept |
◆ JsonObject() [3/4]
xgboost::JsonObject::JsonObject |
( |
JsonObject const & |
that | ) |
|
|
delete |
◆ JsonObject() [4/4]
xgboost::JsonObject::JsonObject |
( |
JsonObject && |
that | ) |
|
|
noexcept |
◆ ~JsonObject()
xgboost::JsonObject::~JsonObject |
( |
| ) |
|
|
overridedefault |
◆ GetObject() [1/3]
std::map<std::string, Json>& xgboost::JsonObject::GetObject |
( |
| ) |
& |
|
inline |
◆ GetObject() [2/3]
std::map<std::string, Json> const& xgboost::JsonObject::GetObject |
( |
| ) |
&& |
|
inline |
◆ GetObject() [3/3]
std::map<std::string, Json> const& xgboost::JsonObject::GetObject |
( |
| ) |
const & |
|
inline |
◆ IsClassOf()
static bool xgboost::JsonObject::IsClassOf |
( |
Value const * |
value | ) |
|
|
inlinestatic |
◆ operator==()
bool xgboost::JsonObject::operator== |
( |
Value const & |
rhs | ) |
const |
|
overridevirtual |
◆ operator[]() [1/2]
Json& xgboost::JsonObject::operator[] |
( |
int |
ind | ) |
|
|
inlineoverridevirtual |
◆ operator[]() [2/2]
Json& xgboost::JsonObject::operator[] |
( |
std::string const & |
key | ) |
|
|
inlineoverridevirtual |
◆ Save()
void xgboost::JsonObject::Save |
( |
JsonWriter * |
writer | ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following file:
- /home/runner/work/xgboost/xgboost/include/xgboost/json.h