xgboost
|
#include <json.h>
公共类型 | |
枚举类 | ValueKind { kString , kNumber , kInteger , kObject , kArray , kBoolean , kNull , kF32Array , kF64Array , kI8Array , kU8Array , kI16Array , kI32Array , kI64Array } |
LLVM RTTI 的简化实现。 更多... | |
公共成员函数 | |
Value (ValueKind _kind) | |
ValueKind | Type () const |
virtual | ~Value ()=default |
virtual void | Save (JsonWriter *writer) const =0 |
virtual Json & | operator[] (std::string const &key) |
virtual Json & | operator[] (int ind) |
virtual bool | operator== (Value const &rhs) const =0 |
virtual Value & | operator= (Value const &rhs)=delete |
std::string | TypeStr () const |
友元 | |
IntrusivePtrCell & | IntrusivePtrRefCount (xgboost::Value const *t) noexcept |
|
strong |
|
inlineexplicit |
|
virtualdefault |
|
pure virtual |
|
virtual |
在 xgboost::JsonObject 和 xgboost::JsonArray 中重新实现。
|
virtual |
在 xgboost::JsonObject 和 xgboost::JsonArray 中重新实现。
|
pure virtual |
|
inline |
std::string xgboost::Value::TypeStr | ( | ) | const |
|
friend |