Disk ARchive  2.7.15
Full featured and portable backup and archiving tool
Public Member Functions | Static Public Attributes | List of all members
libdar::crc Class Referenceabstract

pure virtual class defining interface of a CRC object More...

#include <crc.hpp>

+ Inheritance diagram for libdar::crc:
+ Collaboration diagram for libdar::crc:

Public Member Functions

 crc (const crc &ref)=default
 
 crc (crc &&ref) noexcept=default
 
crcoperator= (const crc &ref)=default
 
crcoperator= (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 crcclone () const =0
 

Static Public Attributes

static constexpr U_I OLD_CRC_SIZE = 2
 

Detailed Description

pure virtual class defining interface of a CRC object

Definition at line 46 of file crc.hpp.


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