[Xapian-devel] Iterators

Michael Uvarov freeakk at gmail.com
Mon May 21 07:27:19 BST 2012


skip_to moves a cursor forward only.
That is why, I created a wrapper around iterators.

Here is a base class for them:
<https://github.com/freeakk/xapian/blob/master/c_src/termiter_gen.h>

And then I created few realizations of this interface:
<https://github.com/freeakk/xapian/blob/master/c_src/termiter_doc_gen.h>
<https://github.com/freeakk/xapian/blob/master/c_src/termiter_spy_gen.h>

After all, I can create an exemplar of one of this objects and store a
pointer on it as a property of the TermQlcTable.
<https://github.com/freeakk/xapian/blob/master/c_src/qlc_table.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20120521/959473ea/attachment.htm>


More information about the Xapian-devel mailing list