Disk ARchive
2.7.15
Full featured and portable backup and archiving tool
|
pure virtual class defining interface of a CRC object More...
#include <crc.hpp>
Public Member Functions | |
crc (const crc &ref)=default | |
crc (crc &&ref) noexcept=default | |
crc & | operator= (const crc &ref)=default |
crc & | operator= (crc &&ref) noexcept=default |
virtual bool | operator== (const crc &ref) const =0 |
bool | operator!= (const crc &ref) const |
virtual void | compute (const infinint &offset, const char *buffer, U_I length)=0 |
virtual void | compute (const char *buffer, U_I length)=0 |
virtual void | clear ()=0 |
virtual void | dump (proto_generic_file &f) const =0 |
virtual std::string | crc2str () const =0 |
virtual infinint | get_size () const =0 |
virtual crc * | clone () const =0 |
Static Public Attributes | |
static constexpr U_I | OLD_CRC_SIZE = 2 |