* backport dmlc header changes to rabit * use gitmodule to reference latest dmlc header files * include ref to dmlc-core fix cmake * update cmake file, add cmake build traivs task * try force using g++-4.8 * per feedback, update cmake
28 lines
656 B
C++
28 lines
656 B
C++
/*!
|
|
* Copyright (c) 2014 by Contributors
|
|
* \file serializable.h
|
|
* \brief defines serializable interface of rabit
|
|
* \author Tianqi Chen
|
|
*/
|
|
#ifndef RABIT_SERIALIZABLE_H_
|
|
#define RABIT_SERIALIZABLE_H_
|
|
#include <vector>
|
|
#include <string>
|
|
#include "./internal/utils.h"
|
|
#include "../../dmlc-core/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_SERIALIZABLE_H_
|