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:

## Public Types
using | TripletT = std::tuple< XGBoostVersionT, XGBoostVersionT, XGBoostVersionT >

## Static Public Member Functions
static TripletT | Load (Json const &in)
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

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

## Member Function Documentation

## ◆ Load() [1/2]

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

## ◆ Load() [2/2]

static TripletT xgboost::Version::Load | ( | Json const & | in | ) |
| static

## ◆ Same()

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

## ◆ Save() [1/2]

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

## ◆ Save() [2/2]

static void xgboost::Version::Save | ( | Json * | out | ) |
| 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:

- /home/runner/work/xgboost/xgboost/src/common/version.h