|
Medial Code Documentation
|
Describes both true and false. More...
#include <json.h>
Public Member Functions | |
| 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 |
Public Member Functions inherited from xgboost::Value | |
| 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 Public Member Functions | |
| static bool | IsClassOf (Value const *value) |
Additional Inherited Members | |
Public Types inherited from xgboost::Value | |
| enum class | ValueKind { kString , kNumber , kInteger , kObject , kArray , kBoolean , kNull , kNumberArray , kU8Array , kI32Array , kI64Array } |
| Simplified implementation of LLVM RTTI. | |
Describes both true and false.
|
overridevirtual |
Implements xgboost::Value.
|
overridevirtual |
Implements xgboost::Value.