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
Spans.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 SPANS_H
8
#define SPANS_H
9
10
#include "
LuceneObject.h
"
11
12
namespace
Lucene {
13
17
class
LPPAPI
Spans
:
public
LuceneObject
{
18
public
:
19
virtual
~
Spans
();
20
LUCENE_CLASS
(
Spans
);
21
22
public
:
24
virtual
bool
next() = 0;
25
44
virtual
bool
skipTo(int32_t target) = 0;
45
47
virtual
int32_t doc() = 0;
48
50
virtual
int32_t start() = 0;
51
53
virtual
int32_t end() = 0;
54
66
virtual
Collection<ByteArray>
getPayload() = 0;
67
73
virtual
bool
isPayloadAvailable() = 0;
74
};
75
76
}
77
78
#endif
clucene.sourceforge.net