CLucene - a full-featured, c++ search engine
API Documentation


lucene::search::ChainedFilter Class Reference

#include <ChainedFilter.h>

Inheritance diagram for lucene::search::ChainedFilter:

lucene::search::Filter

Public Member Functions

 LUCENE_STATIC_CONSTANT (int, OR=0)
 LUCENE_STATIC_CONSTANT (int, AND=1)
 LUCENE_STATIC_CONSTANT (int, ANDNOT=2)
 LUCENE_STATIC_CONSTANT (int, XOR=3)
 LUCENE_STATIC_CONSTANT (int, USER=5)
 LUCENE_STATIC_CONSTANT (int, DEFAULT=OR)
 ChainedFilter (Filter **filters, int op=DEFAULT)
 ChainedFilter (Filter **filters, int *_array)
virtual ~ChainedFilter ()
lucene::util::BitSetbits (lucene::index::IndexReader *reader)
 Returns a BitSet with true for documents which should be permitted in search results, and false for those that should not.
virtual Filterclone () const
TCHAR * toString ()

Protected Member Functions

 ChainedFilter (const ChainedFilter &copy)
lucene::util::BitSetbits (lucene::index::IndexReader *reader, int logic)
lucene::util::BitSetbits (lucene::index::IndexReader *reader, int *logicArray)
lucene::util::BitSetdoChain (lucene::util::BitSet *result, lucene::index::IndexReader *reader, int logic, Filter *filter)
virtual void doUserChain (lucene::util::BitSet *chain, lucene::util::BitSet *filter, int logic)
virtual const TCHAR * getLogicString (int logic)

Protected Attributes

Filter ** filters
int * logicArray
int logic

Constructor & Destructor Documentation

lucene::search::ChainedFilter::ChainedFilter ( const ChainedFilter copy  )  [protected]

lucene::search::ChainedFilter::ChainedFilter ( Filter **  filters,
int  op = DEFAULT 
)

lucene::search::ChainedFilter::ChainedFilter ( Filter **  filters,
int *  _array 
)

virtual lucene::search::ChainedFilter::~ChainedFilter (  )  [virtual]


Member Function Documentation

lucene::search::ChainedFilter::LUCENE_STATIC_CONSTANT ( int  ,
OR  = 0 
)

lucene::search::ChainedFilter::LUCENE_STATIC_CONSTANT ( int  ,
AND  = 1 
)

lucene::search::ChainedFilter::LUCENE_STATIC_CONSTANT ( int  ,
ANDNOT  = 2 
)

lucene::search::ChainedFilter::LUCENE_STATIC_CONSTANT ( int  ,
XOR  = 3 
)

lucene::search::ChainedFilter::LUCENE_STATIC_CONSTANT ( int  ,
USER  = 5 
)

lucene::search::ChainedFilter::LUCENE_STATIC_CONSTANT ( int  ,
DEFAULT  = OR 
)

lucene:: util ::BitSet* lucene::search::ChainedFilter::bits ( lucene::index::IndexReader reader,
int  logic 
) [protected]

lucene:: util ::BitSet* lucene::search::ChainedFilter::bits ( lucene::index::IndexReader reader,
int *  logicArray 
) [protected]

lucene:: util ::BitSet* lucene::search::ChainedFilter::doChain ( lucene::util::BitSet result,
lucene::index::IndexReader reader,
int  logic,
Filter filter 
) [protected]

virtual void lucene::search::ChainedFilter::doUserChain ( lucene::util::BitSet chain,
lucene::util::BitSet filter,
int  logic 
) [protected, virtual]

virtual const TCHAR* lucene::search::ChainedFilter::getLogicString ( int  logic  )  [protected, virtual]

lucene:: util ::BitSet* lucene::search::ChainedFilter::bits ( lucene::index::IndexReader reader  )  [virtual]

Returns a BitSet with true for documents which should be permitted in search results, and false for those that should not.

Implements lucene::search::Filter.

virtual Filter* lucene::search::ChainedFilter::clone (  )  const [virtual]

TCHAR* lucene::search::ChainedFilter::toString (  )  [virtual]


Field Documentation


The documentation for this class was generated from the following file:

clucene.sourceforge.net