CMS 3D CMS Logo

lat::Adler32 Class Reference

Compute an Adler-32 checksum of a data stream. More...

#include <Iguana/Utilities/classlib/zip/Adler32.h>

Inheritance diagram for lat::Adler32:

lat::Checksum

List of all members.

Public Member Functions

 Adler32 (void)
virtual void reset (void)
virtual void update (const void *data, IOSize n)
virtual unsigned value (void) const

Private Attributes

unsigned m_value


Detailed Description

Compute an Adler-32 checksum of a data stream.

An Adler-32 checksum is almost as reliable as CRC-32 but much faster to compute.

Definition at line 20 of file Adler32.h.


Constructor & Destructor Documentation

lat::Adler32::Adler32 ( void   ) 


Member Function Documentation

virtual void lat::Adler32::reset ( void   )  [virtual]

Implements lat::Checksum.

virtual void lat::Adler32::update ( const void data,
IOSize  n 
) [virtual]

Implements lat::Checksum.

virtual unsigned lat::Adler32::value ( void   )  const [virtual]

Implements lat::Checksum.


Member Data Documentation

unsigned lat::Adler32::m_value [private]

Definition at line 33 of file Adler32.h.


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:48:16 2009 for CMSSW by  doxygen 1.5.4