Medial Code Documentation
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Friends
xgboost::Value Class Referenceabstract
Inheritance diagram for xgboost::Value:
xgboost::JsonArray xgboost::JsonBoolean xgboost::JsonInteger xgboost::JsonNull xgboost::JsonNumber xgboost::JsonObject xgboost::JsonString xgboost::JsonTypedArray< T, kind >

Public Types

enum class  ValueKind {
  kString , kNumber , kInteger , kObject ,
  kArray , kBoolean , kNull , kNumberArray ,
  kU8Array , kI32Array , kI64Array
}
 Simplified implementation of LLVM RTTI.
 

Public Member Functions

 Value (ValueKind _kind)
 
ValueKind Type () const
 
virtual void Save (JsonWriter *writer) const =0
 
virtual Jsonoperator[] (std::string const &key)
 
virtual Jsonoperator[] (int ind)
 
virtual bool operator== (Value const &rhs) const =0
 
virtual Valueoperator= (Value const &rhs)=delete
 
std::string TypeStr () const
 

Friends

IntrusivePtrCellIntrusivePtrRefCount (xgboost::Value const *t) noexcept
 

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