21 #ifndef XAPIAN_INCLUDED_MATCHDECIDER_H
22 #define XAPIAN_INCLUDED_MATCHDECIDER_H
24 #if !defined XAPIAN_IN_XAPIAN_H && !defined XAPIAN_LIB_BUILD
25 # error Never use <xapian/matchdecider.h> directly; include <xapian.h> instead.
Compiler attribute macros.
Class representing a document.
Abstract base class for match deciders.
virtual bool operator()(const Xapian::Document &doc) const =0
Decide whether to accept a document.
MatchDecider() noexcept
Default constructor, needed by subclass constructors.
MatchDecider(const MatchDecider &)=delete
Don't allow copying.
virtual ~MatchDecider()
Virtual destructor, because we have virtual methods.
void operator=(const MatchDecider &)=delete
Don't allow assignment.
The Xapian namespace contains public interfaces for the Xapian library.
Define XAPIAN_VISIBILITY_* macros.
#define XAPIAN_VISIBILITY_DEFAULT