![]() |
Disk ARchive 2.7.18
Full featured and portable backup and archiving tool
|
pure virtual class defining interface of a CRC object More...
#include <crc.hpp>
Inherited by libdar::crc_i, and libdar::crc_n.
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 |