#include <json.h>
|
| using | Float = float |
| |
| enum class | 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
} |
| | Simplified implementation of LLVM RTTI. More...
|
| |
◆ Float
◆ JsonNumber() [1/5]
| xgboost::JsonNumber::JsonNumber |
( |
| ) |
|
|
inline |
◆ JsonNumber() [2/5]
template<typename FloatT , typename detail::IsSameT< FloatT, Float > * = nullptr>
| xgboost::JsonNumber::JsonNumber |
( |
FloatT |
value | ) |
|
|
inline |
◆ JsonNumber() [3/5]
template<typename FloatT , typename detail::IsF64T< FloatT > * = nullptr>
| xgboost::JsonNumber::JsonNumber |
( |
FloatT |
value | ) |
|
|
inline |
◆ JsonNumber() [4/5]
| xgboost::JsonNumber::JsonNumber |
( |
JsonNumber const & |
that | ) |
|
|
delete |
◆ JsonNumber() [5/5]
| xgboost::JsonNumber::JsonNumber |
( |
JsonNumber && |
that | ) |
|
|
inlinenoexcept |
◆ GetNumber() [1/3]
| Float& xgboost::JsonNumber::GetNumber |
( |
| ) |
& |
|
inline |
◆ GetNumber() [2/3]
| Float const& xgboost::JsonNumber::GetNumber |
( |
| ) |
&& |
|
inline |
◆ GetNumber() [3/3]
| Float const& xgboost::JsonNumber::GetNumber |
( |
| ) |
const & |
|
inline |
◆ IsClassOf()
| static bool xgboost::JsonNumber::IsClassOf |
( |
Value const * |
value | ) |
|
|
inlinestatic |
◆ operator=()
| Value& xgboost::JsonNumber::operator= |
( |
Value const & |
rhs | ) |
|
|
overridevirtualdelete |
◆ operator==()
| bool xgboost::JsonNumber::operator== |
( |
Value const & |
rhs | ) |
const |
|
overridevirtual |
◆ Save()
| void xgboost::JsonNumber::Save |
( |
JsonWriter * |
writer | ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/xgboost/checkouts/latest/include/xgboost/json.h