#include <Checksum.h++>

Public Member Functions | |
| virtual | ~Checksum () throw () |
| Destructor. | |
| virtual void | update (const byte_t *buf, size_t len)=0 throw () |
| Update the checksum with more data. | |
| uint32_t | finish () throw () |
| Finish generating the checksum. | |
| void | reset () throw () |
| Reset the object for a new checksum. | |
Protected Member Functions | |
| Checksum () throw () | |
| Constructor. | |
Protected Attributes | |
| uint32_t | _sum |
| The current checksum value. | |
| ~Checksum | ( | ) | throw () [virtual] |
Destructor.
| Checksum | ( | ) | throw () [protected] |
Constructor.
| uint32_t finish | ( | ) | throw () |
| void reset | ( | ) | throw () |
| virtual void update | ( | const byte_t * | buf, | |
| size_t | len | |||
| ) | throw () [pure virtual] |
Update the checksum with more data.
| buf | A pointer to the data. | |
| len | The length of the data. |
Implemented in CRC32Checksum.
uint32_t _sum [protected] |
The current checksum value.
1.5.9