|
xapian-core
2.0.0
|
A position list in a glass database. More...
#include <glass_positionlist.h>
Inheritance diagram for GlassPositionList:
Collaboration diagram for GlassPositionList:Public Member Functions | |
| GlassPositionList (std::string &&data) | |
| Construct and initialise with data. More... | |
Public Member Functions inherited from GlassBasePositionList | |
| GlassBasePositionList () | |
| 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 | |
| GlassPositionList (const GlassPositionList &)=delete | |
| Copying is not allowed. More... | |
| GlassPositionList & | operator= (const GlassPositionList &)=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 GlassBasePositionList | |
| void | set_data (std::string_view 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 GlassBasePositionList | |
| 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 glass database.
Definition at line 89 of file glass_positionlist.h.
|
privatedelete |
Copying is not allowed.
|
explicit |
Construct and initialise with data.
Definition at line 190 of file glass_positionlist.cc.
References LOGCALL_CTOR.
|
privatedelete |
Assignment is not allowed.
|
private |
The encoded positional data being read by rd.
Definition at line 91 of file glass_positionlist.h.