1 #ifndef GAUDIKERNEL_STRINGKEY_H 2 #define GAUDIKERNEL_STRINGKEY_H 1 49 bool empty()
const {
return m_str.empty(); }
121 bool __eq__(
const StringKey& right )
const;
125 bool __neq__(
const StringKey& right )
const;
147 template <
unsigned int N>
156 template <
unsigned int N>
158 return !( key1 == key2 );
171 template <
unsigned int N>
186 template <
unsigned int N>
281 #endif // GAUDIKERNEL_STRINGKEY_H
bool operator!=(const T &v, const Property< TP, V, H > &p)
delegate (value != property) to property operator!=
std::ostream & toStream(ITERATOR first, ITERATOR last, std::ostream &s, const std::string &open, const std::string &close, const std::string &delim)
the helper function to print the sequence
bool operator==(const T &v, const Property< TP, V, H > &p)
delegate (value == property) to property operator==
bool operator<=(const StringKey &o) const
less or equal key
const std::string & str() const
the actual string
std::string toString(const TYPE &obj)
the generic implementation of the type conversion to the string
bool operator!=(const std::string &o) const
non-equality string
bool operator>=(const StringKey &o) const
greater or equal key
StatusCode parse(GaudiUtils::HashMap< K, V > &result, const std::string &input)
Basic parser for the types of HashMap used in DODBasicMapper.
bool operator>(const StringKey &o) const
greater key
std::size_t m_hash
the hash:
The helper class to represent the efficient "key" for access.
bool operator<(const StringKey &o) const
less key It can be used as a key for std::map, e.g.
bool operator==(const StringKey &o) const
equality Key for efficiency reason compare the hash-values first
bool operator!=(const StringKey &o) const
non equality Key
std::size_t hash_value(const Gaudi::StringKey &key)
hash-function: heeded for boost::hash
std::string m_str
the actual string:
std::size_t __hash__() const
the actual access to the hash
This class is used for returning status codes from appropriate routines.
std::string operator+(const std::string &lhs, const Gaudi::StringKey &rhs)
std::size_t operator()(Gaudi::StringKey const &s) const
bool empty() const
empty key?
bool operator==(const std::string &o) const
equality, without hashing string rely on the native string equality
bool operator!() const
empty key?
Header file for std:chrono::duration-based Counters.
std::ostream & operator<<(std::ostream &o, const Gaudi::StringKey &key)
printout of the object reply on the native printout for the string