xapian-core  1.4.19
Public Member Functions | Private Attributes | List of all members
TestStopper Class Reference
+ Inheritance diagram for TestStopper:
+ Collaboration diagram for TestStopper:

Public Member Functions

 TestStopper (bool &destroyed_)
 
bool operator() (const std::string &) const
 Is term a stop-word? More...
 
- Public Member Functions inherited from Xapian::Stopper
 Stopper ()
 Default constructor. More...
 
virtual ~Stopper ()
 Class has virtual methods, so provide a virtual destructor. More...
 
virtual std::string get_description () const
 Return a string describing this object. More...
 
Stopperrelease ()
 Start reference counting this object. More...
 
const Stopperrelease () const
 Start reference counting this object. More...
 
- Public Member Functions inherited from Xapian::Internal::opt_intrusive_base
 opt_intrusive_base (const opt_intrusive_base &)
 
opt_intrusive_baseoperator= (const opt_intrusive_base &)
 
 opt_intrusive_base ()
 Construct object which is initially not reference counted. More...
 
virtual ~opt_intrusive_base ()
 
void ref () const
 
void unref () const
 

Private Attributes

DestroyedFlag destroyed
 

Additional Inherited Members

- Public Attributes inherited from Xapian::Internal::opt_intrusive_base
unsigned _refs
 Reference count. More...
 
- Protected Member Functions inherited from Xapian::Internal::opt_intrusive_base
void release () const
 Start reference counting. More...
 

Detailed Description

Definition at line 473 of file api_none.cc.

Constructor & Destructor Documentation

◆ TestStopper()

TestStopper::TestStopper ( bool &  destroyed_)
inline

Definition at line 477 of file api_none.cc.

Member Function Documentation

◆ operator()()

bool TestStopper::operator() ( const std::string &  term) const
inlinevirtual

Is term a stop-word?

Parameters
termThe term to test.

Implements Xapian::Stopper.

Definition at line 479 of file api_none.cc.

Member Data Documentation

◆ destroyed

DestroyedFlag TestStopper::destroyed
private

Definition at line 474 of file api_none.cc.


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