Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
10 #include <boost/enable_shared_from_this.hpp>
13 #ifdef LPP_USE_CYCLIC_CHECK
14 #define LUCENE_INTERFACE(Name) \
15 static String _getClassName() { return L###Name; } \
16 virtual String getClassName() { return L###Name; } \
17 CycleCheckT<Name> cycleCheck;
19 #define LUCENE_INTERFACE(Name) \
20 static String _getClassName() { return L###Name; } \
21 virtual String getClassName() { return L###Name; }
24 #define LUCENE_CLASS(Name) \
25 LUCENE_INTERFACE(Name); \
26 boost::shared_ptr<Name> shared_from_this() { return boost::static_pointer_cast<Name>(LuceneObject::shared_from_this()); } \
57 virtual String toString();
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition: LuceneTypes.h:539
virtual int32_t hashCode()
Return hash code for this object.
virtual bool equals(const LuceneObjectPtr &other)
Return whether two objects are equal.
Definition: AbstractAllTermDocs.h:12
Base class for all Lucene classes.
Definition: LuceneObject.h:31
virtual LuceneObjectPtr clone(const LuceneObjectPtr &other=LuceneObjectPtr())
Return clone of this object.
virtual void initialize()
Called directly after instantiation to create objects that depend on this object being fully construc...
virtual int32_t compareTo(const LuceneObjectPtr &other)
Compare two objects.
Base class for all Lucene synchronised classes.
Definition: LuceneSync.h:15
clucene.sourceforge.net