CMS 3D CMS Logo

Adler32.h

Go to the documentation of this file.
00001 #ifndef CLASSLIB_ADLER32_H
00002 # define CLASSLIB_ADLER32_H
00003 
00004 //<<<<<< INCLUDES                                                       >>>>>>
00005 
00006 # include "classlib/zip/Checksum.h"
00007 
00008 namespace lat {
00009 //<<<<<< PUBLIC DEFINES                                                 >>>>>>
00010 //<<<<<< PUBLIC CONSTANTS                                               >>>>>>
00011 //<<<<<< PUBLIC TYPES                                                   >>>>>>
00012 //<<<<<< PUBLIC VARIABLES                                               >>>>>>
00013 //<<<<<< PUBLIC FUNCTIONS                                               >>>>>>
00014 //<<<<<< CLASS DECLARATIONS                                             >>>>>>
00015 
00020 class Adler32 : public Checksum
00021 {
00022 public:
00023     Adler32 (void);
00024     // implicit copy constructor
00025     // implicit destructor
00026     // implicit copy constructor
00027 
00028     virtual unsigned    value (void) const;
00029     virtual void        update (const void *data, IOSize n);
00030     virtual void        reset (void);
00031 
00032 private:
00033     unsigned            m_value;        //< Current checksum value
00034 };
00035 
00036 //<<<<<< INLINE PUBLIC FUNCTIONS                                        >>>>>>
00037 //<<<<<< INLINE MEMBER FUNCTIONS                                        >>>>>>
00038 
00039 } // namespace lat
00040 #endif // CLASSLIB_ADLER32_H

Generated on Tue Jun 9 17:38:59 2009 for CMSSW by  doxygen 1.5.4