GNU CommonC++
Public Member Functions | Protected Member Functions | List of all members
ost::CRC32Digest Class Reference

A crc32 collection/computation hash accumulator class. More...

#include <digest.h>

Inheritance diagram for ost::CRC32Digest:
ost::Digest

Public Member Functions

 CRC32Digest ()
 
 CRC32Digest (const CRC32Digest &crc)
 
void initDigest (void)
 
unsigned getSize (void)
 
 operator const uint32 () const
 
uint32 getDigest (void)
 
unsigned getDigest (unsigned char *buffer)
 
void putDigest (const unsigned char *buffer, unsigned length)
 
CRC32Digestoperator= (const CRC32Digest &right)
 
- Public Member Functions inherited from ost::Digest
virtual ~Digest ()
 

Protected Member Functions

unsigned char overflow (unsigned char octet)
 
std::ostream & strDigest (std::ostream &os)
 
- Protected Member Functions inherited from ost::Digest
 Digest ()
 

Detailed Description

A crc32 collection/computation hash accumulator class.

Author
Kevin Kraatz kraat.nosp@m.z@ar.nosp@m.lut.u.nosp@m.texa.nosp@m.s.edu crc32 computation hash.
Examples:
crc32.cpp.

Constructor & Destructor Documentation

ost::CRC32Digest::CRC32Digest ( )
ost::CRC32Digest::CRC32Digest ( const CRC32Digest crc)

Member Function Documentation

uint32 ost::CRC32Digest::getDigest ( void  )
inline
Examples:
crc32.cpp.
unsigned ost::CRC32Digest::getDigest ( unsigned char *  buffer)
virtual

Implements ost::Digest.

unsigned ost::CRC32Digest::getSize ( void  )
inlinevirtual

Implements ost::Digest.

void ost::CRC32Digest::initDigest ( void  )
virtual

Implements ost::Digest.

ost::CRC32Digest::operator const uint32 ( ) const
inline
CRC32Digest& ost::CRC32Digest::operator= ( const CRC32Digest right)
unsigned char ost::CRC32Digest::overflow ( unsigned char  octet)
protected
void ost::CRC32Digest::putDigest ( const unsigned char *  buffer,
unsigned  length 
)
virtual

Implements ost::Digest.

Examples:
crc32.cpp.
std::ostream& ost::CRC32Digest::strDigest ( std::ostream &  os)
protectedvirtual

Implements ost::Digest.


The documentation for this class was generated from the following file: