7 #ifndef TERMVECTOROFFSETINFO_H
8 #define TERMVECTOROFFSETINFO_H
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Base class for all Lucene classes.
Definition: LuceneObject.h:31
The TermVectorOffsetInfo class holds information pertaining to a Term in a TermPositionVector's offse...
Definition: TermVectorOffsetInfo.h:17
int32_t getStartOffset()
The accessor for the starting offset of the term.
void setEndOffset(int32_t endOffset)
virtual bool equals(const LuceneObjectPtr &other)
Two TermVectorOffsetInfos are equals if both the start and end offsets are the same.
virtual ~TermVectorOffsetInfo()
virtual int32_t hashCode()
Return hash code for this object.
int32_t endOffset
Definition: TermVectorOffsetInfo.h:26
static const Collection< TermVectorOffsetInfoPtr > EMPTY_OFFSET_INFO()
Convenience declaration when creating a TermPositionVector that stores only position information.
TermVectorOffsetInfo(int32_t startOffset=0, int32_t endOffset=0)
int32_t startOffset
Definition: TermVectorOffsetInfo.h:22
int32_t getEndOffset()
The accessor for the ending offset for the term.
void setStartOffset(int32_t startOffset)
Definition: AbstractAllTermDocs.h:12
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition: LuceneTypes.h:539