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

Public Member Functions

 TestKeyMaker (bool &destroyed_)
 
string operator() (const Xapian::Document &) const override
 Build a key string for a Document. More...
 
- Public Member Functions inherited from Xapian::KeyMaker
 KeyMaker ()
 Default constructor. More...
 
virtual ~KeyMaker ()
 Virtual destructor, because we have virtual methods. More...
 
KeyMakerrelease ()
 Start reference counting this object. More...
 
const KeyMakerrelease () 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 626 of file api_none.cc.

Constructor & Destructor Documentation

◆ TestKeyMaker()

TestKeyMaker::TestKeyMaker ( bool &  destroyed_)
inline

Definition at line 630 of file api_none.cc.

Member Function Documentation

◆ operator()()

string TestKeyMaker::operator() ( const Xapian::Document doc) const
inlineoverridevirtual

Build a key string for a Document.

These keys can be used for sorting or collapsing matching documents.

Parameters
docDocument object to build a key for.

Implements Xapian::KeyMaker.

Definition at line 632 of file api_none.cc.

Member Data Documentation

◆ destroyed

DestroyedFlag TestKeyMaker::destroyed
private

Definition at line 627 of file api_none.cc.


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