e08542c fix doc e95c962 remove I prefix from interface, serializable now takes in pointer git-subtree-dir: subtree/rabit git-subtree-split: e08542c6357bc044199e4876d9bea949d05f614c
28 lines
659 B
C++
28 lines
659 B
C++
/*!
|
|
* Copyright (c) 2014 by Contributors
|
|
* \file rabit_serializable.h
|
|
* \brief defines serializable interface of rabit
|
|
* \author Tianqi Chen
|
|
*/
|
|
#ifndef RABIT_RABIT_SERIALIZABLE_H_
|
|
#define RABIT_RABIT_SERIALIZABLE_H_
|
|
#include <vector>
|
|
#include <string>
|
|
#include "./rabit/utils.h"
|
|
#include "./dmlc/io.h"
|
|
|
|
namespace rabit {
|
|
/*!
|
|
* \brief defines stream used in rabit
|
|
* see definition of Stream in dmlc/io.h
|
|
*/
|
|
typedef dmlc::Stream Stream;
|
|
/*!
|
|
* \brief defines serializable objects used in rabit
|
|
* see definition of Serializable in dmlc/io.h
|
|
*/
|
|
typedef dmlc::Serializable Serializable;
|
|
|
|
} // namespace rabit
|
|
#endif // RABIT_RABIT_SERIALIZABLE_H_
|