17 namespace hash_detail {
33 switch (hash.size()) {
45 <<
"Empty edm::Hash<> instance:\n" <<
"\nPlease report this to the core framework developers";
49 <<
"edm::Hash<> instance with data in illegal state:\n"
51 <<
"\nPlease report this to the core framework developers";
59 std::hash<std::string>
h;
60 if (hash.size()==16) {
68 return 16 == hash.size();
79 if (hash.size() % 2 == 1) {
81 <<
"Ill-formed Hash instance. "
82 <<
"Please report this to the core framework developers";
void toDigest_(cms::Digest &digest, value_type const &hash)
bool isCompactForm_(value_type const &hash)
bool isValid_(value_type const &hash)
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.
void toString_(std::string &result, value_type const &hash)
void fromHexifiedString(std::string const &s)
size_t smallHash_(value_type const &hash)
std::string const & InvalidHash()
value_type compactForm_(value_type const &hash)
std::string compactForm() const
std::string toString() const
Func copy_all(ForwardSequence &s, Func f)
wrappers for copy
void throwIfIllFormed(value_type const &hash)
void append(std::string const &s)