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

CharStream.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2014 Alan Wright. All rights reserved.
3 // Distributable under the terms of either the Apache License (Version 2.0)
4 // or the GNU Lesser General Public License.
6
7 #ifndef CHARSTREAM_H
8 #define CHARSTREAM_H
9
10 #include "Reader.h"
11
12 namespace Lucene {
13
18 class LPPAPI CharStream : public Reader {
19 public:
20 virtual ~CharStream();
21 LUCENE_CLASS(CharStream);
22
23 public:
28 virtual int32_t correctOffset(int32_t currentOff) = 0;
29 };
30
31 }
32
33 #endif
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Lucene
Definition: AbstractAllTermDocs.h:12
Lucene::Reader
Abstract class for reading character streams.
Definition: Reader.h:15
Reader.h
Lucene::CharStream
CharStream adds correctOffset functionality over Reader. All Tokenizers accept a CharStream instead o...
Definition: CharStream.h:18

clucene.sourceforge.net