|
xgboost
|
#include <json.h>


公共类型 | |
| 使用 | Float = float |
从 xgboost::Value 继承的公共类型 | |
| 枚举类 | ValueKind : std::int64_t { kString = 0 , kNumber = 1 , kInteger = 2 , kObject = 3 , kArray = 4 , kBoolean = 5 , kNull = 6 , kF32Array = 7 , kF64Array = 8 , kI8Array = 9 , kU8Array = 10 , kI16Array = 11 , kU16Array = 12 , kI32Array = 13 , kU32Array = 14 , kI64Array = 15 , kU64Array = 16 } |
| LLVM RTTI 的简化实现。更多... | |
公共成员函数 | |
| JsonNumber () | |
| 模板<typename FloatT , typename detail::IsSameT< FloatT, Float > * = nullptr> | |
| JsonNumber (FloatT value) | |
| 模板<typename FloatT , typename detail::IsF64T< FloatT > * = nullptr> | |
| JsonNumber (FloatT value) | |
| JsonNumber (JsonNumber const &that)=delete | |
| JsonNumber (JsonNumber &&that) noexcept | |
| void | Save (JsonWriter *writer) const override |
| Float const & | GetNumber () && |
| Float const & | GetNumber () const & |
| Float & | GetNumber () & |
| bool | operator== (Value const &rhs) const override |
| 值 & | operator= (Value const &rhs) override=delete |
从 xgboost::Value 继承的公共成员函数 | |
| Value (ValueKind _kind) | |
| ValueKind | Type () const |
| virtual | ~Value ()=default |
| virtual Json & | operator[] (std::string const &key) |
| virtual Json & | operator[] (int ind) |
| std::string | TypeStr () const |
静态公共成员函数 | |
| static bool | IsClassOf (Value const *value) |
| 使用 xgboost::JsonNumber::Float = float |
|
inline |
|
inline |
|
inline |
|
删除 |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
重新实现自 xgboost::Value。
|
overridevirtual |
实现自 xgboost::Value。
|
overridevirtual |
实现自 xgboost::Value。