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
TokenStream.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 TOKENSTREAM_H
8
#define TOKENSTREAM_H
9
10
#include "
AttributeSource.h
"
11
12
namespace
Lucene
13
{
44
class
LPPAPI
TokenStream
:
public
AttributeSource
45
{
46
protected
:
48
TokenStream
();
49
51
TokenStream
(
AttributeSourcePtr
input);
52
54
TokenStream
(
AttributeFactoryPtr
factory);
55
56
public
:
57
virtual
~
TokenStream
();
58
59
LUCENE_CLASS
(
TokenStream
);
60
61
public
:
79
virtual
bool
incrementToken() = 0;
80
88
virtual
void
end();
89
96
virtual
void
reset();
97
99
virtual
void
close();
100
};
101
}
102
103
#endif
clucene.sourceforge.net