#include <json.h>
|
using | Int = int64_t |
|
enum class | ValueKind {
kString
, kNumber
, kInteger
, kObject
,
kArray
, kBoolean
, kNull
, kNumberArray
,
kU8Array
, kI32Array
, kI64Array
} |
| Simplified implementation of LLVM RTTI. More...
|
|
◆ Int
◆ JsonInteger() [1/6]
xgboost::JsonInteger::JsonInteger |
( |
| ) |
|
|
inline |
◆ JsonInteger() [2/6]
template<typename IntT , typename std::enable_if< std::is_same< IntT, Int >::value >::type * = nullptr>
xgboost::JsonInteger::JsonInteger |
( |
IntT |
value | ) |
|
|
inline |
◆ JsonInteger() [3/6]
template<typename IntT , typename std::enable_if< std::is_same< IntT, size_t >::value >::type * = nullptr>
xgboost::JsonInteger::JsonInteger |
( |
IntT |
value | ) |
|
|
inline |
◆ JsonInteger() [4/6]
template<typename IntT , typename std::enable_if< std::is_same< IntT, int32_t >::value >::type * = nullptr>
xgboost::JsonInteger::JsonInteger |
( |
IntT |
value | ) |
|
|
inline |
◆ JsonInteger() [5/6]
template<typename IntT , typename std::enable_if< std::is_same< IntT, uint32_t >::value &&!std::is_same< std::size_t, uint32_t >::value >::type * = nullptr>
xgboost::JsonInteger::JsonInteger |
( |
IntT |
value | ) |
|
|
inline |
◆ JsonInteger() [6/6]
xgboost::JsonInteger::JsonInteger |
( |
JsonInteger && |
that | ) |
|
|
inlinenoexcept |
◆ GetInteger() [1/3]
Int& xgboost::JsonInteger::GetInteger |
( |
| ) |
& |
|
inline |
◆ GetInteger() [2/3]
Int const& xgboost::JsonInteger::GetInteger |
( |
| ) |
&& |
|
inline |
◆ GetInteger() [3/3]
Int const& xgboost::JsonInteger::GetInteger |
( |
| ) |
const & |
|
inline |
◆ IsClassOf()
static bool xgboost::JsonInteger::IsClassOf |
( |
Value const * |
value | ) |
|
|
inlinestatic |
◆ operator==()
bool xgboost::JsonInteger::operator== |
( |
Value const & |
rhs | ) |
const |
|
overridevirtual |
◆ Save()
void xgboost::JsonInteger::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