Go to the documentation of this file. 1 #ifndef DataFormats_Provenance_Hash_h
2 #define DataFormats_Provenance_Hash_h
29 namespace hash_detail {
69 std::ostream&
print(std::ostream& os)
const;
91 template <
typename Op>
95 if (meCF == otherCF) {
147 return this->compareUsing(
other, std::less<std::string>());
152 return this->compareUsing(
other, std::greater<std::string>());
157 return this->compareUsing(
other, std::equal_to<std::string>());
162 return this->compareUsing(
other, std::not_equal_to<std::string>());
182 hash_.swap(
other.hash_);
void swap(Hash< I > &a, Hash< I > &b)
bool operator<(Hash< I > const &other) const
bool isCompactForm() const
void swap(Hash< I > &other)
void toString_(std::string &result, value_type const &hash)
void fixup_(value_type &hash)
void toDigest_(cms::Digest &digest, value_type const &hash)
bool isValid_(value_type const &hash)
void throwIfIllFormed() const
bool operator>(DTCELinkId const &lhs, DTCELinkId const &rhs)
static short Class_Version()
void toDigest(cms::Digest &digest) const
size_t smallHash() const
returns a short hash which can be used with hashing containers
Hash< I > & operator=(Hash< I > const &iRHS)
size_t smallHash_(value_type const &hash)
const bool isValid(const Frame &aFrame, const FrameQuality &aQuality, const uint16_t aExpectedPos)
bool operator==(const QGLikelihoodParameters &lhs, const QGLikelihoodCategory &rhs)
Test if parameters are compatible with category.
bool operator!=(DTCELinkId const &lhs, DTCELinkId const &rhs)
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
value_type compactForm_(value_type const &hash)
void toString(std::string &result) const
value_type compactForm() const
bool compareUsing(Hash< I > const &iOther, Op op) const
void throwIfIllFormed(value_type const &hash)
bool operator!=(Hash< I > const &other) const
std::ostream & operator<<(std::ostream &os, Hash< I > const &h)
std::ostream & print(std::ostream &os) const
void reset(double vett[256])
hash_detail::value_type value_type
bool operator<(DTCELinkId const &lhs, DTCELinkId const &rhs)
bool operator>(Hash< I > const &other) const
std::ostream & print_(std::ostream &os, value_type const &hash)
bool isCompactForm_(value_type const &hash)
Namespace of DDCMS conversion namespace.
bool operator==(Hash< I > const &other) const
std::string const & InvalidHash()