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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
CachingTokenFilter.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2011 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 CACHINGTOKENFILTER_H
8 #define CACHINGTOKENFILTER_H
9 
10 #include "TokenFilter.h"
11 
12 namespace Lucene
13 {
19  class LPPAPI CachingTokenFilter : public TokenFilter
20  {
21  public:
23  virtual ~CachingTokenFilter();
24 
26 
27  protected:
31 
32  public:
33  virtual bool incrementToken();
34  virtual void end();
35  virtual void reset();
36 
37  protected:
38  void fillCache();
39  };
40 }
41 
42 #endif

clucene.sourceforge.net