|
Medial Code Documentation
|
Public Types | |
| enum class | ValueKind { kString , kNumber , kInteger , kObject , kArray , kBoolean , kNull , kNumberArray , kU8Array , kI32Array , kI64Array } |
| Simplified implementation of LLVM RTTI. | |
Public Member Functions | |
| Value (ValueKind _kind) | |
| ValueKind | Type () const |
| 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 |
Friends | |
| IntrusivePtrCell & | IntrusivePtrRefCount (xgboost::Value const *t) noexcept |