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
TermVectorOffsetInfo.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 TERMVECTOROFFSETINFO_H
8 #define TERMVECTOROFFSETINFO_H
9
10 #include "LuceneObject.h"
11
12 namespace Lucene
13 {
17 class LPPAPI TermVectorOffsetInfo : public LuceneObject
18 {
19 public:
20 TermVectorOffsetInfo(int32_t startOffset = 0, int32_t endOffset = 0);
21 virtual ~TermVectorOffsetInfo();
22
23 LUCENE_CLASS(TermVectorOffsetInfo);
24
25 protected:
26 int32_t startOffset;
27 int32_t endOffset;
28
29 public:
31 static const Collection<TermVectorOffsetInfoPtr> EMPTY_OFFSET_INFO();
32
34 int32_t getEndOffset();
35 void setEndOffset(int32_t endOffset);
36
38 int32_t getStartOffset();
39 void setStartOffset(int32_t startOffset);
40
43 virtual bool equals(LuceneObjectPtr other);
44
45 virtual int32_t hashCode();
46 };
47 }
48
49 #endif

clucene.sourceforge.net