CLucene - a full-featured, c++ search engine
API Documentation


lucene::store::RAMIndexInput Class Reference

#include <RAMDirectory.h>

Inheritance diagram for lucene::store::RAMIndexInput:
lucene::store::BufferedIndexInput lucene::store::IndexInput lucene::debug::LuceneBase

List of all members.

Public Member Functions

 RAMIndexInput (RAMFile *f)
 ~RAMIndexInput ()
IndexInputclone () const
void close ()
 Closes the stream to futher operations.
int64_t length ()
 The number of bytes in the file.
const char * getDirectoryType () const

Protected Member Functions

 RAMIndexInput (const RAMIndexInput &clone)
 IndexInput methods.
void readInternal (uint8_t *dest, const int32_t len)
 Expert: implements buffer refill.
void seekInternal (const int64_t pos)
 Random-at methods.

Constructor & Destructor Documentation

lucene::store::RAMIndexInput::RAMIndexInput ( const RAMIndexInput clone  )  [protected]

IndexInput methods.

lucene::store::RAMIndexInput::RAMIndexInput ( RAMFile f  ) 
lucene::store::RAMIndexInput::~RAMIndexInput (  ) 

Member Function Documentation

IndexInput* lucene::store::RAMIndexInput::clone (  )  const [virtual]
void lucene::store::RAMIndexInput::close (  )  [virtual]

Closes the stream to futher operations.

Reimplemented from lucene::store::BufferedIndexInput.

const char* lucene::store::RAMIndexInput::getDirectoryType (  )  const [virtual]
int64_t lucene::store::RAMIndexInput::length (  )  [virtual]

The number of bytes in the file.

Implements lucene::store::IndexInput.

void lucene::store::RAMIndexInput::readInternal ( uint8_t *  b,
const int32_t  len 
) [protected, virtual]

Expert: implements buffer refill.

Reads bytes from the current position in the input.

Parameters:
b the array to read bytes into
offset the offset in the array to start storing bytes
length the number of bytes to read

Implements lucene::store::BufferedIndexInput.

void lucene::store::RAMIndexInput::seekInternal ( const int64_t  pos  )  [protected, virtual]

Random-at methods.

Implements lucene::store::BufferedIndexInput.


The documentation for this class was generated from the following file:

clucene.sourceforge.net