1 #ifndef DataFormats_Provenance_Hash_h 2 #define DataFormats_Provenance_Hash_h 29 namespace hash_detail {
38 std::ostream&
print_(std::ostream& os, value_type
const&
hash);
48 explicit Hash(value_type
const&
v);
65 bool operator<(Hash<I>
const&
other)
const;
69 std::ostream&
print(std::ostream& os)
const;
75 value_type compactForm()
const;
77 bool isCompactForm()
const;
80 size_t smallHash()
const;
98 return op(this->hash_,iOther.
hash_);
103 return op(this->hash_,temp.
hash_);
162 return this->
compareUsing(other, std::less<std::string>());
169 return this->
compareUsing(other, std::greater<std::string>());
176 return this->
compareUsing(other, std::equal_to<std::string>());
183 return this->
compareUsing(other, std::not_equal_to<std::string>());
249 operator<<(std::ostream& os, Hash<I>
const&
h) {
bool operator==(Hash< I > const &other) const
void toDigest_(cms::Digest &digest, value_type const &hash)
bool isCompactForm_(value_type const &hash)
bool isValid_(value_type const &hash)
value_type compactForm() const
void fixup_(value_type &hash)
std::ostream & print_(std::ostream &os, value_type const &hash)
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
static short Class_Version()
bool compareUsing(Hash< I > const &iOther, Op op) const
void toString_(std::string &result, value_type const &hash)
std::string print(const Track &, edm::Verbosity=edm::Concise)
Track print utility.
bool isCompactForm() const
void swap(Hash< I > &other)
std::ostream & print(std::ostream &os) const
bool operator<(Hash< I > const &other) const
size_t smallHash_(value_type const &hash)
std::string const & InvalidHash()
void swap(Hash< I > &a, Hash< I > &b)
Hash< I > & operator=(Hash< I > const &iRHS)
value_type compactForm_(value_type const &hash)
bool operator>(View< T > const &, View< T > const &)
bool operator!=(Hash< I > const &other) const
bool operator==(MD5Result const &a, MD5Result const &b)
bool operator>(Hash< I > const &other) const
size_t smallHash() const
returns a short hash which can be used with hashing containers
bool operator!=(MD5Result const &a, MD5Result const &b)
void toDigest(cms::Digest &digest) const
void toString(std::string &result) const
hash_detail::value_type value_type
void throwIfIllFormed(value_type const &hash)
void reset(double vett[256])