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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ISOLatin1AccentFilter.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 ISOLATIN1ACCENTFILTER_H
8 #define ISOLATIN1ACCENTFILTER_H
9 
10 #include "TokenFilter.h"
11 
12 namespace Lucene
13 {
21  class LPPAPI ISOLatin1AccentFilter : public TokenFilter
22  {
23  public:
25  virtual ~ISOLatin1AccentFilter();
26 
28 
29  protected:
30  CharArray output;
31  int32_t outputPos;
33 
34  public:
35  virtual bool incrementToken();
36 
38  void removeAccents(const wchar_t* input, int32_t length);
39  };
40 }
41 
42 #endif

clucene.sourceforge.net