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
CharArraySet.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 CHARARRAYSET_H
8
#define CHARARRAYSET_H
9
10
#include "
LuceneObject.h
"
11
12
namespace
Lucene {
13
17
class
LPPAPI
CharArraySet
:
public
LuceneObject
{
18
public
:
19
CharArraySet
(
bool
ignoreCase);
20
22
CharArraySet
(
HashSet<String>
entries,
bool
ignoreCase);
23
25
CharArraySet
(
Collection<String>
entries,
bool
ignoreCase);
26
27
virtual
~
CharArraySet
();
28
29
LUCENE_CLASS
(
CharArraySet
);
30
31
protected
:
32
HashSet<String>
entries;
33
bool
ignoreCase
;
34
35
public
:
36
virtual
bool
contains(
const
String& text);
37
39
virtual
bool
contains(
const
wchar_t
* text, int32_t offset, int32_t length);
40
42
virtual
bool
add(
const
String& text);
43
45
virtual
bool
add(CharArray text);
46
47
virtual
int32_t size();
48
virtual
bool
isEmpty();
49
50
HashSet<String>::iterator
begin();
51
HashSet<String>::iterator
end();
52
};
53
54
}
55
56
#endif
clucene.sourceforge.net