GNU CommonC++
Public Member Functions | Protected Member Functions

ost::CRC32Digest Class Reference

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

#include <digest.h>

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

List of all members.

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)

Protected Member Functions

unsigned char overflow (unsigned char octet)
std::ostream & strDigest (std::ostream &os)

Detailed Description

A crc32 collection/computation hash accumulator class.

Author:
Kevin Kraatz <kraatz@arlut.utexas.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  ) [inline, virtual]

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) [protected, virtual]

Implements ost::Digest.


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