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

Loading...
Searching...
No Matches
TokenFilter.h
Go to the documentation of this file.
1
2// 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 TOKENFILTER_H
8#define TOKENFILTER_H
9
10#include "TokenStream.h"
11
12 namespace Lucene {
13
18 class LPPAPI TokenFilter : public TokenStream {
19 protected:
21 TokenFilter(const TokenStreamPtr& input);
22
23 public:
24 virtual ~TokenFilter();
25
26 LUCENE_CLASS(TokenFilter);
27
28 protected:
30 TokenStreamPtr input;
31
32 public:
35 virtual void end();
36
38 virtual void close();
39
41 virtual void reset();
42};
43
44}
45
46#endif
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
TokenStream.h
Lucene::TokenFilter::reset
virtual void reset()
Reset the filter as well as the input TokenStream.
Lucene::TokenFilter::close
virtual void close()
Close the input TokenStream.
Lucene::TokenFilter::~TokenFilter
virtual ~TokenFilter()
Lucene::TokenFilter::end
virtual void end()
Performs end-of-stream operations, if any, and calls then end() on the input TokenStream....
Lucene::TokenFilter::TokenFilter
TokenFilter(const TokenStreamPtr &input)
Construct a token stream filtering the given input.
Lucene::TokenFilter::input
TokenStreamPtr input
The source of tokens for this filter.
Definition TokenFilter.h:30
Lucene::TokenStream::TokenStream
TokenStream()
A TokenStream using the default attribute factory.
Lucene
Definition AbstractAllTermDocs.h:12
Lucene::TokenStreamPtr
boost::shared_ptr< TokenStream > TokenStreamPtr
Definition LuceneTypes.h:63

clucene.sourceforge.net