#include <json.h>
|
using | Int = int64_t |
|
enum | ValueKind {
ValueKind::kString,
ValueKind::kNumber,
ValueKind::kInteger,
ValueKind::kObject,
ValueKind::kArray,
ValueKind::kBoolean,
ValueKind::kNull,
ValueKind::kNumberArray,
ValueKind::kU8Array,
ValueKind::kI32Array,
ValueKind::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/runner/work/xgboost/xgboost/include/xgboost/json.h