xgboost

Classes | Namespaces | Typedefs | Functions
io.h File Reference

general stream interface for serialization, I/O More...

`#include <dmlc/io.h>`
`#include <rabit/rabit.h>`
`#include <string>`
`#include <cstring>`
`#include "common.h"`
Include dependency graph for io.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | xgboost::common::PeekableInStream
| Input stream that support additional PeekRead operation, besides read. More...
class | xgboost::common::FixedSizeStream
| A simple class used to consume ‘dmlc::Stream’ all at once. More...

## Namespaces
| xgboost
| namespace of xgboost
| xgboost::common

## Typedefs
using | xgboost::common::MemoryFixSizeBuffer = rabit::utils::MemoryFixSizeBuffer
using | xgboost::common::MemoryBufferStream = rabit::utils::MemoryBufferStream

## Functions
std::string | xgboost::common::LoadSequentialFile (std::string uri, bool stream=false)
| Helper function for loading consecutive file to avoid dmlc Stream when possible. More...
std::string | xgboost::common::FileExtension (std::string const &fname)

## Detailed Description

general stream interface for serialization, I/O

Copyright 2014 by Contributors

Author
  Tianqi Chen