Tanl Linguistic Pipeline

IXE::PostingList::HitsCursor Class Reference

Cursor over hit lists. More...

#include <PostingList.h>

List of all members.

Public Member Functions

 HitsCursor (short count, byte const *hitsOffset)
int next (unsigned min)
 Advance to the first hit which is >= min.
byte const * Current ()
unsigned nth (int n)
unsigned operator* ()

Detailed Description

Cursor over hit lists.


Member Function Documentation

int IXE::PostingList::HitsCursor::next ( unsigned  min  )  [inline]

Advance to the first hit which is >= min.

Returns:
the first hit which is >= min, noPosition if not present.

References IXE::parseEptacode().

unsigned IXE::PostingList::HitsCursor::nth ( int  n  )  [inline]
Returns:
the nth value in the hit list, if present, noPosition otherwise.

References IXE::parseEptacode().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
 
Copyright © 2005-2011 G. Attardi. Generated on 4 Mar 2011 by doxygen 1.6.1.