Public Member Functions | |
BitReader (const string &buf_) | |
Xapian::termpos | decode (Xapian::termpos outof) |
unsigned int | read_bits (int count) |
bool | check_all_gone () const |
void | decode_interpolative (vector< Xapian::termpos > &pos, int j, int k) |
Private Attributes | |
string | buf |
size_t | idx |
int | n_bits |
unsigned int | acc |
Definition at line 143 of file flint_positionlist.cc.
Xapian::BitReader::BitReader | ( | const string & | buf_ | ) | [inline] |
Definition at line 150 of file flint_positionlist.cc.
Xapian::termpos Xapian::BitReader::decode | ( | Xapian::termpos | outof | ) | [inline] |
Definition at line 151 of file flint_positionlist.cc.
References Assert, my_fls(), and read_bits().
Referenced by decode_interpolative(), FlintPositionListTable::positionlist_count(), and FlintPositionList::read_data().
unsigned int Xapian::BitReader::read_bits | ( | int | count | ) | [inline] |
Definition at line 167 of file flint_positionlist.cc.
References acc, Assert, buf, idx, and n_bits.
Referenced by decode(), FlintPositionListTable::positionlist_count(), and FlintPositionList::read_data().
bool Xapian::BitReader::check_all_gone | ( | ) | const [inline] |
void BitReader::decode_interpolative | ( | vector< Xapian::termpos > & | pos, | |
int | j, | |||
int | k | |||
) |
Definition at line 200 of file flint_positionlist.cc.
References decode().
Referenced by FlintPositionList::read_data().
string Xapian::BitReader::buf [private] |
Definition at line 145 of file flint_positionlist.cc.
Referenced by check_all_gone(), and read_bits().
size_t Xapian::BitReader::idx [private] |
Definition at line 146 of file flint_positionlist.cc.
Referenced by check_all_gone(), and read_bits().
int Xapian::BitReader::n_bits [private] |
Definition at line 147 of file flint_positionlist.cc.
Referenced by check_all_gone(), and read_bits().
unsigned int Xapian::BitReader::acc [private] |
Definition at line 148 of file flint_positionlist.cc.
Referenced by check_all_gone(), and read_bits().