karazeh
A cross-platform software updating library.
kzh::hasher::digest_rc Struct Reference

#include <hasher.hpp>

Public Member Functions

 digest_rc ()
 
 ~digest_rc ()
 
bool operator!= (string_t const &checksum)
 
bool operator== (string_t const &checksum)
 

Public Attributes

string_t digest
 
bool valid
 

Detailed Description

all hashers must return this struct as a result of their digest calculation method

Constructor & Destructor Documentation

kzh::hasher::digest_rc::digest_rc ( )
inline
kzh::hasher::digest_rc::~digest_rc ( )
inline

Member Function Documentation

bool kzh::hasher::digest_rc::operator!= ( string_t const &  checksum)
inline
bool kzh::hasher::digest_rc::operator== ( string_t const &  checksum)
inline

Member Data Documentation

bool kzh::hasher::digest_rc::valid

must indicate whether the digest was calculated successfully

Referenced by kzh::md5_hasher::hex_digest(), and TEST_CASE().


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