a std::ostream class that can can wrap Stream objects, can use ostream with that output to underlying Stream
More...
#include <io.h>
a std::ostream class that can can wrap Stream objects, can use ostream with that output to underlying Stream
Usage example:
os << "hello world" << std::endl;
delete fs;
dmlc::ostream::ostream |
( |
Stream * |
stream, |
|
|
size_t |
buffer_size = (1 << 10) |
|
) |
| |
|
inlineexplicit |
construct std::ostream type
- Parameters
-
stream | the Stream output to be used |
buffer_size | internal streambuf size |
virtual dmlc::ostream::~ostream |
( |
| ) |
|
|
inlinevirtual |
size_t dmlc::ostream::bytes_written |
( |
void |
| ) |
const |
|
inline |
- Returns
- how many bytes we written so far
void dmlc::ostream::set_stream |
( |
Stream * |
stream | ) |
|
|
inline |
set internal stream to be stream, reset states
- Parameters
-
stream | new stream as output |
The documentation for this class was generated from the following file:
- /work/mxnet/3rdparty/dmlc-core/include/dmlc/io.h