|
xapian-core
2.0.0
|
A position list in a honey database. More...
#include <honey_positionlist.h>
Inheritance diagram for HoneyPositionList:
Collaboration diagram for HoneyPositionList:Public Member Functions | |
| HoneyPositionList (std::string &&data) | |
| Construct and initialise with data. More... | |
Public Member Functions inherited from HoneyBasePositionList | |
| HoneyBasePositionList () | |
| Default constructor. More... | |
| Xapian::termcount | get_approx_size () const |
| Returns size of position list. More... | |
| Xapian::termpos | back () const |
| Return the final entry in this positionlist. More... | |
| Xapian::termpos | get_position () const |
| Returns current position. More... | |
| bool | next () |
| Advance to the next term position in the list. More... | |
| bool | skip_to (Xapian::termpos termpos) |
| Advance to the first term position which is at least termpos. More... | |
Public Member Functions inherited from Xapian::PositionIterator::Internal | |
| virtual | ~Internal () |
| We have virtual methods and want to be able to delete derived classes using a pointer to the base class, so we need a virtual destructor. More... | |
Public Member Functions inherited from Xapian::Internal::intrusive_base | |
| intrusive_base () | |
| Construct with no references. More... | |
Private Member Functions | |
| HoneyPositionList (const HoneyPositionList &)=delete | |
| Copying is not allowed. More... | |
| HoneyPositionList & | operator= (const HoneyPositionList &)=delete |
| Assignment is not allowed. More... | |
Private Attributes | |
| std::string | pos_data |
| The encoded positional data being read by rd. More... | |
Additional Inherited Members | |
Public Attributes inherited from Xapian::Internal::intrusive_base | |
| unsigned | _refs |
| Reference count. More... | |
Protected Member Functions inherited from HoneyBasePositionList | |
| void | set_data (const std::string &data) |
| Set positional data and start to decode it. More... | |
Protected Member Functions inherited from Xapian::PositionIterator::Internal | |
| Internal () | |
| Only constructable as a base class for derived classes. More... | |
Protected Attributes inherited from HoneyBasePositionList | |
| BitReader | rd |
| Interpolative decoder. More... | |
| Xapian::termpos | current_pos |
| Current entry. More... | |
| Xapian::termpos | last |
| Last entry. More... | |
| Xapian::termcount | size |
| Number of entries. More... | |
| bool | have_started |
| Have we started iterating yet? More... | |
A position list in a honey database.
Definition at line 90 of file honey_positionlist.h.
|
privatedelete |
Copying is not allowed.
|
explicit |
Construct and initialise with data.
Definition at line 181 of file honey_positionlist.cc.
References LOGCALL_CTOR.
|
privatedelete |
Assignment is not allowed.
|
private |
The encoded positional data being read by rd.
Definition at line 92 of file honey_positionlist.h.