Alphabetic Class Index   |   Class Inheritance Tree Index   |   Tool Index

Class: Checksummer

Parent class: std

Description:
This is an abstract base class for classes which calculate checksums and CRCs for a data stream. It is implemented as a streambuf. So the way to use it is to create a Checksummer, wrap it in an ostream, and then write your data to that ostream. The value() method will return the value of the checksum, and reset() will reset the value of the checksum as if no data had been read.

Data Fields

Constructors / Destructor
public Checksummer()
Constructor.
private ~Checksummer()

Methods
private pure virtual unsigned long value()
private pure virtual void reset()
private pure virtual void addToSum(unsigned char c)
private virtual int overflow(int c = EOF)

Operators


Alphabetic Class Index   |   Class Inheritance Tree Index   |   Tool Index