JASSv2
Public Member Functions | Public Attributes | List of all members
JASS::index_postings_impact::impact Class Reference

Each impact is represented as an impact score, and a start and end pointer. More...

#include <index_postings_impact.h>

Public Member Functions

 impact ()
 Constructor.
 
compress_integer::integerbegin (void) const
 Return a pointer to the start of the document identifiers array (for use as an iterator). More...
 
compress_integer::integerend (void) const
 Return a pointer to the end of the document identifiers array (for use as an iterator). More...
 
compress_integer::integer size (void) const
 Return the numner of postings with this impact score. More...
 

Public Attributes

impact_type impact_score
 The impact score.
 
compress_integer::integerstart
 Pointer into the postings of the start of the document list for this impact score.
 
compress_integer::integerfinish
 Pointer into the postings of the end of the document list for this impact score.
 

Detailed Description

Each impact is represented as an impact score, and a start and end pointer.

Member Function Documentation

◆ begin()

compress_integer::integer* JASS::index_postings_impact::impact::begin ( void  ) const
inline

Return a pointer to the start of the document identifiers array (for use as an iterator).

Returns
Pointer to first document id.

◆ end()

compress_integer::integer* JASS::index_postings_impact::impact::end ( void  ) const
inline

Return a pointer to the end of the document identifiers array (for use as an iterator).

Returns
Pointer to the element immediately after the last document id.

◆ size()

compress_integer::integer JASS::index_postings_impact::impact::size ( void  ) const
inline

Return the numner of postings with this impact score.

Returns
number of postings with this impact score.

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