xgboost
|
#include <json.h>
公有类型 | |
using | Map = std::map< std::string, Json, std::less<> > |
![]() | |
enum class | ValueKind { kString , kNumber , kInteger , kObject , kArray , kBoolean , kNull , kF32Array , kF64Array , kI8Array , kU8Array , kI16Array , kI32Array , kI64Array } |
LLVM RTTI 的简化实现。更多... | |
公有成员函数 | |
JsonObject () | |
JsonObject (Map &&object) noexcept | |
JsonObject (JsonObject const &that)=delete | |
JsonObject (JsonObject &&that) noexcept | |
void | Save (JsonWriter *writer) const override |
Json & | operator[] (int ind) override |
Json & | operator[] (std::string const &key) override |
Map const & | GetObject () && |
Map const & | GetObject () const & |
Map & | GetObject () & |
bool | operator== (Value const &rhs) const override |
Value & | operator= (Value const &rhs) override=delete |
~JsonObject () override=default | |
![]() | |
Value (ValueKind _kind) | |
ValueKind | Type () const |
virtual | ~Value ()=default |
std::string | TypeStr () const |
静态公有成员函数 | |
static bool | IsClassOf (Value const *value) |
using xgboost::JsonObject::Map = std::map<std::string, Json, std::less<> > |
|
inline |
|
noexcept |
|
delete |
|
noexcept |
|
overridedefault |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
重新实现自 xgboost::Value.
|
overridevirtual |
实现 xgboost::Value.
|
inlineoverridevirtual |
重新实现自 xgboost::Value.
|
inlineoverridevirtual |
重新实现自 xgboost::Value.
|
overridevirtual |
实现 xgboost::Value.