#include <BasicDocStream.hpp>
Inheritance diagram for lemur::parse::BasicDocStream:
Public Member Functions | |
BasicDocStream () | |
BasicDocStream (const string &inputFile) | |
virtual | ~BasicDocStream () |
bool | hasMore () |
void | startDocIteration () |
start document iteration | |
lemur::api::Document * | nextDoc () |
return a pointer to next document (static memory, do not delete returned instance). hasMore() should be called before calling nextDoc() | |
Private Attributes | |
char | file [1024] |
ifstream * | ifs |
char | buf [2000] |
bool | nextTokenRead |
BasicTokenDoc | doc |
|
|
|
|
|
|
|
Implements lemur::api::DocStream. |
|
return a pointer to next document (static memory, do not delete returned instance). hasMore() should be called before calling nextDoc()
Implements lemur::api::DocStream. |
|
start document iteration
Implements lemur::api::DocStream. |
|
|
|
|
|
|
|
|
|
|