CLucene - a full-featured, c++ search engine
API Documentation
#include <IndexInput.h>

Public Member Functions | |
| IndexInputStream (IndexInput *input) | |
| ~IndexInputStream () | |
| int32_t | fillBuffer (char *start, int32_t space) |
| This function must be implemented by the subclasses. | |
This class is used by the FieldReader to create binary fields. You can then use a GZipInputStream to read compressed data or any of the other JStream stream types.
| lucene::store::IndexInputStream::IndexInputStream | ( | IndexInput * | input | ) |
| lucene::store::IndexInputStream::~IndexInputStream | ( | ) |
| int32_t lucene::store::IndexInputStream::fillBuffer | ( | char * | start, | |
| int32_t | space | |||
| ) | [virtual] |
This function must be implemented by the subclasses.
It should write a maximum of space characters at the buffer position pointed to by start. If no more data is avaiable due to end of file, -1 should be returned. If an error occurs, the status should be set to Error, an error message should be set and the function must return -1.
Implements jstreams::BufferedInputStream< char >.