The tripple used in CIvocab.bin.
More...
#include <serialise_jass_v1.h>
|
|
slice | token |
| | The term as a string (needed for sorting the std::vector vocab_tripple array later)
|
| |
|
uint64_t | term |
| | The pointer to the \0 terminated string in the CI_vovab_terms.bin file.
|
| |
|
uint64_t | offset |
| | The pointer to the postings stored in the CIpostings.bin file.
|
| |
|
uint64_t | impacts |
| | The number of impacts that exist for this term.
|
| |
The tripple used in CIvocab.bin.
◆ vocab_tripple()
| JASS::serialise_jass_v1::vocab_tripple::vocab_tripple |
( |
const slice & |
string, |
|
|
uint64_t |
term, |
|
|
uint64_t |
offset, |
|
|
uint64_t |
impacts |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
| string | [in] The term that that this object represents. |
| term | [in] The location of this term in CIvocab_terms.bin. |
| offset | [in] The offset of the postings list in CIpostings.bin. |
| impacts | [in] The number of impacts in the postings list. |
◆ operator<()
| bool JASS::serialise_jass_v1::vocab_tripple::operator< |
( |
const vocab_tripple & |
other | ) |
const |
|
inline |
Compare (using strcmp() colaiting sequence) this object with another for less than.
- Parameters
-
| other | [in] The object to compare to |
- Returns
- true if this < other, else false
The documentation for this class was generated from the following file: