xgboost
|
Describes both true and false. More...
#include <json.h>
Public Member Functions | |
JsonBoolean () | |
template<typename Bool , typename std::enable_if< std::is_same< Bool, bool >::value||std::is_same< Bool, bool const >::value >::type * = nullptr> | |
JsonBoolean (Bool value) | |
JsonBoolean (JsonBoolean &&value) noexcept | |
void | Save (JsonWriter *writer) const override |
bool const & | GetBoolean () && |
bool const & | GetBoolean () const & |
bool & | GetBoolean () & |
bool | operator== (Value const &rhs) const override |
Value & | operator= (Value const &rhs) override=delete |
![]() | |
Value (ValueKind _kind) | |
ValueKind | Type () const |
virtual | ~Value ()=default |
virtual Json & | operator[] (std::string const &key) |
virtual Json & | operator[] (int ind) |
std::string | TypeStr () const |
Static Public Member Functions | |
static bool | IsClassOf (Value const *value) |
Additional Inherited Members | |
![]() | |
enum class | ValueKind { kString , kNumber , kInteger , kObject , kArray , kBoolean , kNull , kF32Array , kF64Array , kU8Array , kI32Array , kI64Array } |
Simplified implementation of LLVM RTTI. More... | |
Describes both true and false.
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
Reimplemented from xgboost::Value.
|
overridevirtual |
Implements xgboost::Value.
|
overridevirtual |
Implements xgboost::Value.