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)
 
void Save (JsonWriter *writer) override
 
Jsonoperator[] (std::string const &key) override
 
Jsonoperator[] (int ind) override
 
bool operator== (Value const &rhs) const override
 
Valueoperator= (Value const &rhs) override
 
- Public Member Functions inherited from xgboost::Value
 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

- Public Types inherited from xgboost::Value
enum  ValueKind {
  ValueKind::String, ValueKind::Number, ValueKind::Integer, ValueKind::Object,
  ValueKind::Array, ValueKind::Boolean, ValueKind::Null
}
 Simplified implementation of LLVM RTTI. More...
 

Constructor & Destructor Documentation

◆ JsonNull() [1/2]

xgboost::JsonNull::JsonNull ( )
inline

◆ JsonNull() [2/2]

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

Member Function Documentation

◆ isClassOf()

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

◆ operator=()

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

Implements xgboost::Value.

◆ operator==()

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

Implements xgboost::Value.

◆ operator[]() [1/2]

Json& xgboost::JsonNull::operator[] ( std::string const &  key)
overridevirtual

Implements xgboost::Value.

◆ operator[]() [2/2]

Json& xgboost::JsonNull::operator[] ( int  ind)
overridevirtual

Implements xgboost::Value.

◆ Save()

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

Implements xgboost::Value.


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