Medial Code Documentation
Loading...
Searching...
No Matches
Public Member Functions
dmlc::RecordIOReader Class Reference

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

#include <recordio.h>

Public Member Functions

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

Detailed Description

reader of binary recordio to reads in record from stream

See also
RecordIOWriter

Constructor & Destructor Documentation

◆ RecordIOReader()

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

constructor

Parameters
streamthe stream to be constructed

Member Function Documentation

◆ NextRecord()

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

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