1 #ifndef canvas_Persistency_Provenance_Hash_h 2 #define canvas_Persistency_Provenance_Hash_h 44 static short Class_Version() noexcept;
52 bool isCompactForm() const noexcept;
54 std::
string compactForm() const;
55 bool operator<(
Hash<
I> const&) const;
56 bool operator>(
Hash<
I> const&) const;
57 bool operator==(
Hash<
I> const&) const;
58 bool operator!=(
Hash<
I> const&) const;
59 std::ostream& print(
std::ostream&) const;
128 return !
hash_.empty();
210 if (
hash_.size() == 16) {
214 if (
hash_.size() == 0) {
218 if (
hash_.size() == 32) {
225 <<
"art::Hash<> instance with data in illegal state:\n" 226 <<
hash_ <<
"\nPlease report this to the core framework developers";
233 return hash_.size() == 16;
245 operator<<(std::ostream& os, Hash<I>
const&
h)
std::string const & InvalidHash()
std::string toString() const
static short Class_Version() noexcept
std::ostream & print(std::ostream &) const
void fromHexifiedString(std::string const &s)
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
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
auto copy_all(FwdCont &, FwdIter)
Hash< I > & operator=(Hash< I > const &)
bool isCompactForm() const noexcept
std::string compactForm() const
std::string compactForm() const
bool operator!=(Hash< I > const &) const