ost::CRC32Digest - A crc32 collection/computation hash accumulator class.
Contents
Constructor & Destructor Documentation
ost::CRC32Digest::CRC32Digest()ost::CRC32Digest::CRC32Digest(constCRC32Digest&crc)
Detailed Description
A crc32 collection/computation hash accumulator class.
Author
Kevin Kraatz kraatz@arlut.utexas.edu
crc32 computation hash.
Examplescrc32.cpp.
Member Function Documentation
unsignedost::CRC32Digest::getDigest(unsignedchar*buffer)[virtual]
Implements ost::Digest.
uint32ost::CRC32Digest::getDigest(void)[inline]Examplescrc32.cpp.
unsignedost::CRC32Digest::getSize(void)[inline],[virtual]
Implements ost::Digest.
voidost::CRC32Digest::initDigest(void)[virtual]
Implements ost::Digest.
ost::CRC32Digest::operatorconstuint32()const[inline]CRC32Digest&ost::CRC32Digest::operator=(constCRC32Digest&right)unsignedcharost::CRC32Digest::overflow(unsignedcharoctet)[protected]voidost::CRC32Digest::putDigest(constunsignedchar*buffer,unsignedlength)[virtual]
Implements ost::Digest.
Examplescrc32.cpp.
std::ostream&ost::CRC32Digest::strDigest(std::ostream&os)[protected],[virtual]
Implements ost::Digest.
Name
ost::CRC32Digest - A crc32 collection/computation hash accumulator class.
Synopsis
#include <digest.h>
Inherits ost::Digest.
PublicMemberFunctionsCRC32Digest ()
CRC32Digest (const CRC32Digest &crc)
void initDigest (void)
unsigned getSize (void)
operatorconstuint32 () const
uint32getDigest (void)
unsigned getDigest (unsigned char *buffer)
void putDigest (const unsigned char *buffer, unsigned length)
CRC32Digest & operator= (const CRC32Digest &right)
ProtectedMemberFunctions
unsigned char overflow (unsigned char octet)
std::ostream & strDigest (std::ostream &os)
