#include <Digest.h>
Definition at line 54 of file Digest.h.
Public Member Functions | |
virtual bool | contains (int item)=0 |
check to see if an item is in the digest | |
virtual int | insert (int item, int suppress=1)=0 |
inserts an item | |
virtual void | serialize (unsigned char *buffer)=0 |
serializes the digest into the buffer | |
virtual void | import (unsigned char *buffer)=0 |
deserializes the buffer into the digest | |
virtual int | size_compacted_in_bytes ()=0 |
returns the size of the digest in bytes (for serialization) | |
virtual void | reset ()=0 |
resets the digest to empty | |
virtual int | get_lowest_sequence ()=0 |
returns the lowest sequence represented (yes or no) in the digest |
virtual int digest::insert | ( | int | item, | |
int | suppress = 1 | |||
) | [pure virtual] |
inserts an item
item | the item to insert | |
suppress | when feasible, tells the filter whether to suppress dropping values |
Implemented in bitmap_digest.
virtual void digest::serialize | ( | unsigned char * | buffer | ) | [pure virtual] |
serializes the digest into the buffer
Implemented in bitmap_digest.
virtual void digest::import | ( | unsigned char * | buffer | ) | [pure virtual] |
deserializes the buffer into the digest
Implemented in bitmap_digest.