1 #ifndef canvas_Persistency_Provenance_Hash_h 2 #define canvas_Persistency_Provenance_Hash_h 27 void fixup(std::string& hash);
39 explicit Hash(std::string
const&);
46 static short Class_Version() noexcept;
54 bool isCompactForm() const noexcept;
56 std::
string compactForm() const;
57 bool operator<(
Hash<I> const&) const;
58 bool operator>(
Hash<I> const&) const;
59 bool operator==(
Hash<I> const&) const;
60 bool operator!=(
Hash<I> const&) const;
61 std::ostream& print(
std::ostream&) const;
115 hash_ = std::move(rhs.hash_);
127 return !
hash_.empty();
202 return hash_.size() == 16;
214 operator<<(std::ostream& os, Hash<I>
const& h)
std::string const & InvalidHash()
static short Class_Version() noexcept
std::ostream & print(std::ostream &) const
std::string hash_to_string(std::string const &hash)
bool operator>(Hash< I > const &) const
void swap(Handle< T > &a, Handle< T > &b)
bool operator==(Hash< I > const &) const
bool operator<(Hash< I > const &) const
Hash< I > & operator=(Hash< I > const &)
bool isCompactForm() const noexcept
void fixup(std::string &hash)
std::string compactForm() const
bool operator!=(Hash< I > const &) const