Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

KeyfileDocListSegmentReader Class Reference

#include <KeyfileDocListSegmentReader.hpp>

List of all members.

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.


Detailed Description

Provides a reader for DocInfoLists from a give segment in a File.


Constructor & Destructor Documentation

KeyfileDocListSegmentReader::KeyfileDocListSegmentReader (  File *    stream,
std::string &    baseName,
int    segment,
int    readBufferSize
) 
 

Instantiate for a given file.

KeyfileDocListSegmentReader::~KeyfileDocListSegmentReader (    ) 
 


Member Function Documentation

File * KeyfileDocListSegmentReader::file (    ) 
 

Return the File this reader reads.

const std::string & KeyfileDocListSegmentReader::name (    ) 
 

Return the base name of the File this reader reads.

InvFPDocList * KeyfileDocListSegmentReader::next (    ) 
 

Return the next DocInfoList in the segment.

bool KeyfileDocListSegmentReader::operator< (  const KeyfileDocListSegmentReader &    other )  const
 

Compare two Readers for merging.

void KeyfileDocListSegmentReader::pop (    ) 
 

set the current DocInfoList to the next in the segment

int KeyfileDocListSegmentReader::segment (    ) 
 

Return which segment this reader reads.

InvFPDocList * KeyfileDocListSegmentReader::top (    ) 
 

Return the current DocInfoList in the segment.

const InvFPDocList * KeyfileDocListSegmentReader::top (    ) 
 

Return the current DocInfoList in the segment.


The documentation for this class was generated from the following files:
Generated on Wed Nov 3 12:59:43 2004 for Lemur Toolkit by doxygen1.2.18