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

Public Member Functions

 TestValueRangeProcessor (bool &destroyed_)
 
Xapian::valueno operator() (std::string &, std::string &)
 Check for a valid range of this type. More...
 
- Public Member Functions inherited from Xapian::ValueRangeProcessor
 ValueRangeProcessor ()
 Default constructor. More...
 
virtual ~ValueRangeProcessor ()
 Destructor. More...
 
ValueRangeProcessorrelease ()
 Start reference counting this object. More...
 
const ValueRangeProcessorrelease () 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 796 of file api_none.cc.

Constructor & Destructor Documentation

◆ TestValueRangeProcessor()

TestValueRangeProcessor::TestValueRangeProcessor ( bool &  destroyed_)
inline

Definition at line 800 of file api_none.cc.

Member Function Documentation

◆ operator()()

Xapian::valueno TestValueRangeProcessor::operator() ( std::string &  begin,
std::string &  end 
)
inlinevirtual

Check for a valid range of this type.

Parameters
[in,out]beginThe start of the range as specified in the query string by the user. This parameter is a non-const reference so the ValueRangeProcessor can modify it to return the value to start the range with.
[in,out]endThe end of the range. This is also a non-const reference so it can be modified.
Returns
If this ValueRangeProcessor recognises the range BEGIN..END it returns the value slot number to range filter on. Otherwise it returns Xapian::BAD_VALUENO.

Implements Xapian::ValueRangeProcessor.

Definition at line 802 of file api_none.cc.

Member Data Documentation

◆ destroyed

DestroyedFlag TestValueRangeProcessor::destroyed
private

Definition at line 797 of file api_none.cc.


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