Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

indri::file::SequentialReadBuffer Class Reference

#include <SequentialReadBuffer.hpp>

List of all members.

Public Member Functions

 SequentialReadBuffer (File &file)
 SequentialReadBuffer (File &file, size_t length)
void cache (UINT64 position, size_t length)
size_t read (void *buffer, UINT64 position, size_t length)
size_t read (void *buffer, size_t length)
const void * peek (size_t length)
const void * read (size_t length)
void seek (UINT64 position)
void clear ()
UINT64 position ()

Private Attributes

File_file
UINT64 _position
InternalFileBuffer _current


Constructor & Destructor Documentation

indri::file::SequentialReadBuffer::SequentialReadBuffer File file  )  [inline]
 

indri::file::SequentialReadBuffer::SequentialReadBuffer File file,
size_t  length
[inline]
 


Member Function Documentation

void indri::file::SequentialReadBuffer::cache UINT64  position,
size_t  length
[inline]
 

void indri::file::SequentialReadBuffer::clear void   )  [inline]
 

const void* indri::file::SequentialReadBuffer::peek size_t  length  )  [inline]
 

UINT64 indri::file::SequentialReadBuffer::position  )  [inline]
 

const void* indri::file::SequentialReadBuffer::read size_t  length  )  [inline]
 

size_t indri::file::SequentialReadBuffer::read void *  buffer,
size_t  length
[inline]
 

size_t indri::file::SequentialReadBuffer::read void *  buffer,
UINT64  position,
size_t  length
[inline]
 

void indri::file::SequentialReadBuffer::seek UINT64  position  )  [inline]
 


Member Data Documentation

InternalFileBuffer indri::file::SequentialReadBuffer::_current [private]
 

File& indri::file::SequentialReadBuffer::_file [private]
 

UINT64 indri::file::SequentialReadBuffer::_position [private]
 


The documentation for this class was generated from the following file:
Generated on Tue Jun 15 11:03:00 2010 for Lemur by doxygen 1.3.4