xgboost
Public Member Functions | Static Public Member Functions | List of all members
xgboost::JsonNull Class Reference

#include <json.h>

Inheritance diagram for xgboost::JsonNull:
Inheritance graph
Collaboration diagram for xgboost::JsonNull:
Collaboration graph

Public Member Functions

 JsonNull ()
 
 JsonNull (std::nullptr_t)
 
 JsonNull (JsonNull &&) noexcept
 
void Save (JsonWriter *writer) const override
 
bool operator== (Value const &rhs) const override
 
Valueoperator= (Value const &rhs) override=delete
 
- Public Member Functions inherited from xgboost::Value
 Value (ValueKind _kind)
 
ValueKind Type () const
 
virtual ~Value ()=default
 
virtual Jsonoperator[] (std::string const &key)
 
virtual Jsonoperator[] (int ind)
 
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 , kF32Array ,
  kF64Array , kU8Array , kI32Array , kI64Array
}
 Simplified implementation of LLVM RTTI. More...
 

Constructor & Destructor Documentation

◆ JsonNull() [1/3]

xgboost::JsonNull::JsonNull ( )
inline

◆ JsonNull() [2/3]

xgboost::JsonNull::JsonNull ( std::nullptr_t  )
inline

◆ JsonNull() [3/3]

xgboost::JsonNull::JsonNull ( JsonNull &&  )
inlinenoexcept

Member Function Documentation

◆ IsClassOf()

static bool xgboost::JsonNull::IsClassOf ( Value const *  value)
inlinestatic

◆ operator=()

Value& xgboost::JsonNull::operator= ( Value const &  rhs)
overridevirtualdelete

Reimplemented from xgboost::Value.

◆ operator==()

bool xgboost::JsonNull::operator== ( Value const &  rhs) const
overridevirtual

Implements xgboost::Value.

◆ Save()

void xgboost::JsonNull::Save ( JsonWriter writer) const
overridevirtual

Implements xgboost::Value.


The documentation for this class was generated from the following file: