CLucene - a full-featured, c++ search engine
API Documentation
#include <Reader.h>
Public Member Functions | |
Reader (jsReader *reader, bool deleteReader) | |
virtual | ~Reader () |
int | read () |
int32_t | readLine (TCHAR *buffer) |
int32_t | read (const TCHAR *&start) |
Read at least 1 character, and as much as is conveniently available. | |
int32_t | read (const TCHAR *&start, int32_t len) |
int64_t | skip (int64_t ntoskip) |
int64_t | mark (int32_t readAheadlimit) |
int64_t | reset (int64_t pos) |
Data Fields | |
bool | deleteReader |
jsReader * | reader |
lucene::util::Reader::Reader | ( | jsReader * | reader, | |
bool | deleteReader | |||
) | [inline] |
virtual lucene::util::Reader::~Reader | ( | ) | [inline, virtual] |
int lucene::util::Reader::read | ( | ) | [inline] |
References jstreams::StreamBase< T >::getError(), and jstreams::StreamBase< T >::read().
int32_t lucene::util::Reader::readLine | ( | TCHAR * | buffer | ) | [inline] |
int32_t lucene::util::Reader::read | ( | const TCHAR *& | start | ) | [inline] |
Read at least 1 character, and as much as is conveniently available.
References jstreams::StreamBase< T >::getError(), and jstreams::StreamBase< T >::read().
int32_t lucene::util::Reader::read | ( | const TCHAR *& | start, | |
int32_t | len | |||
) | [inline] |
References jstreams::StreamBase< T >::getError(), and jstreams::StreamBase< T >::read().
int64_t lucene::util::Reader::skip | ( | int64_t | ntoskip | ) | [inline] |
References jstreams::StreamBase< T >::getError(), and jstreams::StreamBase< T >::skip().
int64_t lucene::util::Reader::mark | ( | int32_t | readAheadlimit | ) | [inline] |
Reimplemented in lucene::util::FileReader.
References jstreams::StreamBase< T >::getError(), and jstreams::StreamBase< T >::mark().
int64_t lucene::util::Reader::reset | ( | int64_t | pos | ) | [inline] |
Reimplemented in lucene::util::FileReader.
References jstreams::StreamBase< T >::getError(), and jstreams::StreamBase< T >::reset().