#include <TaggedDocumentIterator.hpp>
Inheritance diagram for indri::parse::TaggedDocumentIterator:
Public Member Functions | |
TaggedDocumentIterator () | |
~TaggedDocumentIterator () | |
void | setTags (const char *startDoc, const char *endDoc, const char *endMetadata) |
void | open (const std::string &filename) |
void | close () |
UnparsedDocument * | nextDocument () |
Private Member Functions | |
bool | _readLine (char *&beginLine, size_t &lineLength) |
Private Attributes | |
UnparsedDocument | _document |
gzFile | _in |
indri::utility::Buffer | _buffer |
indri::utility::Buffer | _metaBuffer |
std::string | _lastMetadataTag |
std::string | _fileName |
const char * | _startDocTag |
const char * | _endDocTag |
const char * | _endMetadataTag |
int | _startDocTagLength |
int | _endDocTagLength |
int | _endMetadataTagLength |
|
|
|
|
|
|
|
Implements indri::parse::DocumentIterator. |
|
Implements indri::parse::DocumentIterator. |
|
Implements indri::parse::DocumentIterator. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|