7 #ifndef OFFSETATTRIBUTE_H
8 #define OFFSETATTRIBUTE_H
27 virtual String toString();
34 virtual int32_t startOffset();
38 virtual void setOffset(int32_t startOffset, int32_t endOffset);
42 virtual int32_t endOffset();
46 virtual int32_t hashCode();
Base class for Attributes that can be added to a AttributeSource.
Definition: Attribute.h:18
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition: LuceneTypes.h:539
int32_t _endOffset
Definition: OffsetAttribute.h:24
boost::shared_ptr< Attribute > AttributePtr
Definition: LuceneTypes.h:518
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12
The start and end character offset of a Token.
Definition: OffsetAttribute.h:15