ost::CRC16Digest - A crc16 collection/compution hash accumulator class.
Contents
Constructor & Destructor Documentation
ost::CRC16Digest::CRC16Digest()ost::CRC16Digest::CRC16Digest(constCRC16Digest&crc)virtualost::CRC16Digest::~CRC16Digest()[inline],[virtual]
Detailed Description
A crc16 collection/compution hash accumulator class.
Author
David Sugar dyfet@ostel.com
crc16 computation hash.
Member Function Documentation
unsignedost::CRC16Digest::getDigest(unsignedchar*buffer)[virtual]
Implements ost::Digest.
uint16ost::CRC16Digest::getDigest(void)[inline]unsignedost::CRC16Digest::getSize(void)[inline],[virtual]
Implements ost::Digest.
voidost::CRC16Digest::initDigest(uint16crc)[inline]voidost::CRC16Digest::initDigest(void)[inline],[virtual]
Implements ost::Digest.
References initDigest().
Referenced by initDigest().
ost::CRC16Digest::operatorconstuint16()const[inline]CRC16Digest&ost::CRC16Digest::operator=(constCRC16Digest&right)intost::CRC16Digest::overflow(intc)[protected]voidost::CRC16Digest::putDigest(constunsignedchar*buffer,unsignedlength)[virtual]
Implements ost::Digest.
std::ostream&ost::CRC16Digest::strDigest(std::ostream&os)[protected],[virtual]
Implements ost::Digest.
Name
ost::CRC16Digest - A crc16 collection/compution hash accumulator class.
Synopsis
#include <digest.h>
Inherits ost::Digest.
PublicMemberFunctionsCRC16Digest ()
CRC16Digest (const CRC16Digest &crc)
virtual ~CRC16Digest ()
void initDigest (uint16 crc)
void initDigest (void)
unsigned getSize (void)
CRC16Digest & operator= (const CRC16Digest &right)
operatorconstuint16 () const
uint16getDigest (void)
unsigned getDigest (unsigned char *buffer)
void putDigest (const unsigned char *buffer, unsigned length)
ProtectedMemberFunctions
int overflow (int c)
std::ostream & strDigest (std::ostream &os)
