mxnet
Public Member Functions | List of all members
dmlc::RecordIOReader Class Reference

reader of binary recordio to reads in record from stream More...

#include <recordio.h>

Collaboration diagram for dmlc::RecordIOReader:
Collaboration graph

Public Member Functions

 RecordIOReader (Stream *stream)
 constructor More...
 
bool NextRecord (std::string *out_rec)
 read next complete record from stream More...
 
void Seek (size_t pos)
 seek to certain position of the input stream More...
 
size_t Tell (void)
 tell the current position of the input stream More...
 

Detailed Description

reader of binary recordio to reads in record from stream

See also
RecordIOWriter

Constructor & Destructor Documentation

dmlc::RecordIOReader::RecordIOReader ( Stream stream)
inlineexplicit

constructor

Parameters
streamthe stream to be constructed

Member Function Documentation

bool dmlc::RecordIOReader::NextRecord ( std::string *  out_rec)

read next complete record from stream

Parameters
out_recused to store output record in string
Returns
true of read was successful, false if end of stream was reached
void dmlc::RecordIOReader::Seek ( size_t  pos)
inline

seek to certain position of the input stream

size_t dmlc::RecordIOReader::Tell ( void  )
inline

tell the current position of the input stream


The documentation for this class was generated from the following file: