xgboost
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
xgboost::Version Struct Reference

#include <version.h>

Collaboration diagram for xgboost::Version:
Collaboration graph

Public Types

using TripletT = std::tuple< XGBoostVersionT, XGBoostVersionT, XGBoostVersionT >
 

Static Public Member Functions

static TripletT Load (Json const &in, bool check=false)
 
static void Save (Json *out)
 
static Version::TripletT Load (dmlc::Stream *fi)
 
static void Save (dmlc::Stream *fo)
 
static std::string String (TripletT const &version)
 
static TripletT Self ()
 
static bool Same (TripletT const &triplet)
 

Static Public Attributes

static const TripletT kInvalid
 

Member Typedef Documentation

◆ TripletT

Member Function Documentation

◆ Load() [1/2]

static TripletT xgboost::Version::Load ( Json const &  in,
bool  check = false 
)
static

◆ Load() [2/2]

static Version::TripletT xgboost::Version::Load ( dmlc::Stream *  fi)
static

◆ Same()

static bool xgboost::Version::Same ( TripletT const &  triplet)
static

◆ Save() [1/2]

static void xgboost::Version::Save ( Json out)
static

◆ Save() [2/2]

static void xgboost::Version::Save ( dmlc::Stream *  fo)
static

◆ Self()

static TripletT xgboost::Version::Self ( )
static

◆ String()

static std::string xgboost::Version::String ( TripletT const &  version)
static

Member Data Documentation

◆ kInvalid

const TripletT xgboost::Version::kInvalid
static

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