A postings list with a term, df, cf, and postings list of <d,tf> pairs.
More...
#include <ciff_lin.h>
|
|
void | clear (void) |
| | removes all content from the postings list
|
| |
A postings list with a term, df, cf, and postings list of <d,tf> pairs.
◆ get_next_postings()
| static error_code JASS::ciff_lin::postings_list::get_next_postings |
( |
postings_list & |
into, |
|
|
const uint8_t *& |
stream, |
|
|
const uint8_t * |
stream_end |
|
) |
| |
|
inlinestatic |
read a full postings list (inclding term, df, cf, etc.) from a protobuf encoded stream
- Parameters
-
| into | [out] The postings list being read |
| stream | [in, out] A reference to a pointer to the start of the value, points to the next byte on return. |
| stream_end | [in] A pointer to the byte after the last byte in the stream. |
- Returns
- OK on success, FAIL on error (unknown field number)
◆ get_next_postings_pair()
| static error_code JASS::ciff_lin::postings_list::get_next_postings_pair |
( |
posting & |
into, |
|
|
const uint8_t *& |
stream, |
|
|
const uint8_t * |
stream_end |
|
) |
| |
|
inlinestaticprivate |
read a <d,tf> pair from a protobuf encoded stream
- Parameters
-
| into | [out] The posting pair being read |
| stream | [in, out] A reference to a pointer to the start of the value, points to the next byte on return. |
| stream_end | [in] A pointer to the byte after the last byte in the stream. |
- Returns
- OK on success, FAIL on error (unknown field number)
The documentation for this class was generated from the following file: