7#ifndef SEGMENTINFOCOLLECTION_H
8#define SEGMENTINFOCOLLECTION_H
36 void remove(int32_t start, int32_t end);
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Base class for all Lucene classes.
Definition: LuceneObject.h:31
A collection of SegmentInfo objects to be used as a base class for SegmentInfos.
Definition: SegmentInfoCollection.h:15
int32_t find(const SegmentInfoPtr &info)
virtual ~SegmentInfoCollection()
bool equals(const LuceneObjectPtr &other)
Return whether two objects are equal.
void remove(int32_t start, int32_t end)
Collection< SegmentInfoPtr > segmentInfos
Definition: SegmentInfoCollection.h:23
virtual LuceneObjectPtr clone(const LuceneObjectPtr &other=LuceneObjectPtr())
Return clone of this object.
bool contains(const SegmentInfoPtr &info)
void add(const SegmentInfoPtr &info)
void add(int32_t pos, const SegmentInfoPtr &info)
void addAll(const SegmentInfoCollectionPtr &segmentInfos)
Definition: AbstractAllTermDocs.h:12
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition: LuceneTypes.h:539
boost::shared_ptr< SegmentInfoCollection > SegmentInfoCollectionPtr
Definition: LuceneTypes.h:209
boost::shared_ptr< SegmentInfo > SegmentInfoPtr
Definition: LuceneTypes.h:208