Lucene++ - a full-featured, c++ search engine
API Documentation
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
virtual int32_t hashCode()=0
Subclasses must implement this method and should compute a hashCode similar to this:
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition: LuceneTypes.h:539
Base class for Attributes that can be added to a AttributeSource.
Definition: Attribute.h:18
virtual bool equals(const LuceneObjectPtr &other)=0
All values used for computation of hashCode() should be checked here for equality.
virtual void copyTo(const AttributePtr &target)=0
Copies the values from this Attribute into the passed-in target attribute. The target implementation ...
Definition: AbstractAllTermDocs.h:12
Base class for all Lucene classes.
Definition: LuceneObject.h:31
virtual void clear()=0
Clears the values in this Attribute and resets it to its default value. If this implementation implem...
boost::shared_ptr< Attribute > AttributePtr
Definition: LuceneTypes.h:518
virtual LuceneObjectPtr clone(const LuceneObjectPtr &other=LuceneObjectPtr())=0
Shallow clone. Subclasses must override this if they need to clone any members deeply.
clucene.sourceforge.net