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) | |
void | Save (JsonWriter *writer) override |
Json & | operator[] (std::string const &key) override |
Json & | operator[] (int ind) override |
bool const & | getBoolean () && |
bool const & | getBoolean () const & |
bool & | getBoolean () & |
bool | operator== (Value const &rhs) const override |
Value & | operator= (Value const &rhs) override |
![]() | |
Value (ValueKind _kind) | |
ValueKind | Type () const |
virtual | ~Value ()=default |
std::string | TypeStr () const |
Static Public Member Functions | |
static bool | isClassOf (Value const *value) |
Additional Inherited Members | |
![]() | |
enum | ValueKind { ValueKind::String, ValueKind::Number, ValueKind::Integer, ValueKind::Object, ValueKind::Array, ValueKind::Boolean, ValueKind::Null } |
Simplified implementation of LLVM RTTI. More... | |
Describes both true and false.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
Implements xgboost::Value.
|
overridevirtual |
Implements xgboost::Value.
|
overridevirtual |
Implements xgboost::Value.
|
overridevirtual |
Implements xgboost::Value.
|
overridevirtual |
Implements xgboost::Value.