21 #ifndef H_KARAZEH_HASHER_H 22 #define H_KARAZEH_HASHER_H 24 #include "karazeh_export.h" 50 return valid && checksum == digest;
54 return !valid || checksum != digest;
62 virtual digest_rc hex_digest(std::ifstream& src)
const = 0;
Definition: hasher.hpp:28
boost::filesystem::path path_t
Definition: karazeh.hpp:57
string_t name_
Definition: hasher.hpp:67
~digest_rc()
Definition: hasher.hpp:47
bool operator==(string_t const &checksum)
Definition: hasher.hpp:49
std::string string_t
Definition: karazeh.hpp:55
Definition: config.hpp:32
string_t const & name() const
Definition: hasher.hpp:65
virtual ~hasher()
Definition: hasher.hpp:33
hasher(string_t const &name)
Definition: hasher.hpp:32
bool valid
Definition: hasher.hpp:41
Definition: config.hpp:27
Definition: hasher.hpp:39
bool operator!=(string_t const &checksum)
Definition: hasher.hpp:53
string_t digest
Definition: hasher.hpp:44
digest_rc()
Definition: hasher.hpp:46