|
| TopicBloomFilterBase () |
|
| TopicBloomFilterBase (FixedHash< N > const &_h) |
|
void | addBloom (AbridgedTopic const &_h) |
|
void | removeBloom (AbridgedTopic const &_h) |
|
bool | containsBloom (AbridgedTopic const &_h) const |
|
void | addRaw (FixedHash< N > const &_h) |
|
void | removeRaw (FixedHash< N > const &_h) |
|
bool | containsRaw (FixedHash< N > const &_h) const |
|
| FixedHash () |
| Construct an empty hash. More...
|
|
template<unsigned M> |
| FixedHash (FixedHash< M > const &_h, ConstructFromHashType _t=AlignLeft) |
| Construct from another hash, filling with zeroes or cropping as necessary. More...
|
|
| FixedHash (Arith const &_arith) |
| Convert from the corresponding arithmetic type. More...
|
|
| FixedHash (unsigned _u) |
| Convert from unsigned. More...
|
|
| FixedHash (bytes const &_b, ConstructFromHashType _t=FailIfDifferent) |
| Explicitly construct, copying from a byte array. More...
|
|
| FixedHash (bytesConstRef _b, ConstructFromHashType _t=FailIfDifferent) |
| Explicitly construct, copying from a byte array. More...
|
|
| FixedHash (byte const *_bs, ConstructFromPointerType) |
| Explicitly construct, copying from a bytes in memory with given pointer. More...
|
|
| FixedHash (std::string const &_s, ConstructFromStringType _t=FromHex, ConstructFromHashType _ht=FailIfDifferent) |
| Explicitly construct, copying from a string. More...
|
|
| operator Arith () const |
| Convert to arithmetic type. More...
|
|
| operator bool () const |
|
bool | operator== (FixedHash const &_c) const |
|
bool | operator!= (FixedHash const &_c) const |
|
bool | operator< (FixedHash const &_c) const |
|
bool | operator>= (FixedHash const &_c) const |
|
bool | operator<= (FixedHash const &_c) const |
|
bool | operator> (FixedHash const &_c) const |
|
FixedHash & | operator^= (FixedHash const &_c) |
|
FixedHash | operator^ (FixedHash const &_c) const |
|
FixedHash & | operator|= (FixedHash const &_c) |
|
FixedHash | operator| (FixedHash const &_c) const |
|
FixedHash & | operator&= (FixedHash const &_c) |
|
FixedHash | operator& (FixedHash const &_c) const |
|
FixedHash | operator~ () const |
|
FixedHash & | operator++ () |
|
bool | contains (FixedHash const &_c) const |
|
byte & | operator[] (unsigned _i) |
|
byte | operator[] (unsigned _i) const |
|
std::string | abridged () const |
|
std::string | abridgedMiddle () const |
|
std::string | hex () const |
|
bytesRef | ref () |
|
bytesConstRef | ref () const |
|
byte * | data () |
|
byte const * | data () const |
|
bytes | asBytes () const |
|
std::array< byte, N > & | asArray () |
|
std::array< byte, N > const & | asArray () const |
|
template<class Engine > |
void | randomize (Engine &_eng) |
| Populate with random data. More...
|
|
template<unsigned P, unsigned M> |
FixedHash & | shiftBloom (FixedHash< M > const &_h) |
|
template<unsigned P, unsigned M> |
bool | containsBloom (FixedHash< M > const &_h) |
|
template<unsigned P, unsigned M> |
FixedHash< M > | bloomPart () const |
|
unsigned | firstBitSet () const |
| Returns the index of the first bit set to one, or size() * 8 if no bits are set. More...
|
|
void | clear () |
|
template<> |
bool | operator== (FixedHash< 32 > const &_other) const |
| Fast equality operator for h256. More...
|
|
template<unsigned N>
class dev::shh::TopicBloomFilterBase< N >
Definition at line 32 of file BloomFilter.h.