#include <json.h>
|
using | Float = float |
|
enum class | ValueKind {
kString
, kNumber
, kInteger
, kObject
,
kArray
, kBoolean
, kNull
, kF32Array
,
kF64Array
, kU8Array
, kI32Array
, kI64Array
} |
| Simplified implementation of LLVM RTTI. More...
|
|
◆ Float
◆ JsonNumber() [1/5]
xgboost::JsonNumber::JsonNumber |
( |
| ) |
|
|
inline |
◆ JsonNumber() [2/5]
template<typename FloatT , typename std::enable_if< std::is_same< FloatT, Float >::value >::type * = nullptr>
xgboost::JsonNumber::JsonNumber |
( |
FloatT |
value | ) |
|
|
inline |
◆ JsonNumber() [3/5]
template<typename FloatT , typename std::enable_if< std::is_same< FloatT, double >::value >::type * = 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/stable/include/xgboost/json.h