Lucene++ - a full-featured, c++ search engine
API Documentation
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
include
StandardFilter.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 STANDARDFILTER_H
8
#define STANDARDFILTER_H
9
10
#include "
TokenFilter.h
"
11
12
namespace
Lucene
13
{
15
class
LPPAPI
StandardFilter
:
public
TokenFilter
16
{
17
public
:
19
StandardFilter
(
TokenStreamPtr
input);
20
virtual
~
StandardFilter
();
21
22
LUCENE_CLASS
(
StandardFilter
);
23
24
protected
:
25
TypeAttributePtr
typeAtt
;
26
TermAttributePtr
termAtt
;
27
28
protected
:
29
static
const
String& APOSTROPHE_TYPE();
30
static
const
String& ACRONYM_TYPE();
31
32
public
:
37
virtual
bool
incrementToken();
38
};
39
}
40
41
#endif
clucene.sourceforge.net