A updatable hash for sequences of unsigned ints.
More...
#include <uintseqhash.hh>
A updatable hash for sequences of unsigned ints.
◆ cmp()
int bliss::UintSeqHash::cmp |
( |
const UintSeqHash & |
other | ) |
const |
|
inline |
Compare the hash values of this and other. Return -1/0/1 if the value of this is smaller/equal/greater than that of other.
◆ get_value()
unsigned int bliss::UintSeqHash::get_value |
( |
| ) |
const |
|
inline |
Get the hash value of the sequence seen so far.
◆ is_equal()
bool bliss::UintSeqHash::is_equal |
( |
const UintSeqHash & |
other | ) |
const |
|
inline |
An abbreviation for cmp(other) == 0
◆ is_le()
bool bliss::UintSeqHash::is_le |
( |
const UintSeqHash & |
other | ) |
const |
|
inline |
An abbreviation for cmp(other) <= 0
◆ is_lt()
bool bliss::UintSeqHash::is_lt |
( |
const UintSeqHash & |
other | ) |
const |
|
inline |
An abbreviation for cmp(other) < 0
◆ reset()
void bliss::UintSeqHash::reset |
( |
| ) |
|
|
inline |
◆ update()
void bliss::UintSeqHash::update |
( |
unsigned int |
n | ) |
|
Add the unsigned int n to the sequence.
The documentation for this class was generated from the following files: