|
using | Int = int64_t |
|
enum class | ValueKind {
kString
, kNumber
, kInteger
, kObject
,
kArray
, kBoolean
, kNull
, kNumberArray
,
kU8Array
, kI32Array
, kI64Array
} |
| Simplified implementation of LLVM RTTI.
|
|
|
template<typename IntT , typename std::enable_if< std::is_same< IntT, Int >::value >::type * = nullptr> |
| JsonInteger (IntT value) |
|
template<typename IntT , typename std::enable_if< std::is_same< IntT, size_t >::value >::type * = nullptr> |
| JsonInteger (IntT value) |
|
template<typename IntT , typename std::enable_if< std::is_same< IntT, int32_t >::value >::type * = nullptr> |
| JsonInteger (IntT value) |
|
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> |
| JsonInteger (IntT value) |
|
| JsonInteger (JsonInteger &&that) noexcept |
|
bool | operator== (Value const &rhs) const override |
|
Int const & | GetInteger () && |
|
Int const & | GetInteger () const & |
|
Int & | GetInteger () & |
|
void | Save (JsonWriter *writer) const override |
|
| Value (ValueKind _kind) |
|
ValueKind | Type () const |
|
virtual Json & | operator[] (std::string const &key) |
|
virtual Json & | operator[] (int ind) |
|
virtual Value & | operator= (Value const &rhs)=delete |
|
std::string | TypeStr () const |
|
|
static bool | IsClassOf (Value const *value) |
|
◆ 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 files:
- External/xgboost/include/xgboost/json.h
- External/xgboost/src/common/json.cc