#include <KeyfileDocListSegmentReader.hpp>
Public Methods | |
| KeyfileDocListSegmentReader (File *stream, std::string &baseName, int segment, int readBufferSize) | |
| Instantiate for a given file. | |
| ~KeyfileDocListSegmentReader () | |
| File * | file () |
| Return the File this reader reads. | |
| InvFPDocList * | next () |
| Return the next DocInfoList in the segment. | |
| bool | operator< (const KeyfileDocListSegmentReader &other) const |
| Compare two Readers for merging. | |
| const InvFPDocList * | top () const |
| Return the current DocInfoList in the segment. | |
| InvFPDocList * | top () |
| Return the current DocInfoList in the segment. | |
| void | pop () |
| set the current DocInfoList to the next in the segment | |
| int | segment () const |
| Return which segment this reader reads. | |
| const std::string & | name () const |
| Return the base name of the File this reader reads. | |
Private Attributes | |
| File * | _stream |
| ReadBuffer * | _file |
| InvFPDocList * | _top |
| int | _segment |
| std::string | _name |
|
||||||||||||||||||||
|
Instantiate for a given file.
|
|
|
|
|
|
Return the File this reader reads.
|
|
|
Return the base name of the File this reader reads.
|
|
|
Return the next DocInfoList in the segment.
|
|
|
Compare two Readers for merging.
|
|
|
set the current DocInfoList to the next in the segment
|
|
|
Return which segment this reader reads.
|
|
|
Return the current DocInfoList in the segment.
|
|
|
Return the current DocInfoList in the segment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.16