1 #ifndef GAUDIKERNEL_STRINGKEY_H 2 #define GAUDIKERNEL_STRINGKEY_H 1 51 bool empty()
const {
return m_str.empty(); }
123 bool __eq__(
const StringKey& right )
const;
127 bool __neq__(
const StringKey& right )
const;
149 template <
unsigned int N>
159 template <
unsigned int N>
162 return !( key1 == key2 );
175 template <
unsigned int N>
191 template <
unsigned int N>
292 #endif // GAUDIKERNEL_STRINGKEY_H bool operator>=(const StringKey &o) const
greater or equal key
bool operator!=(const T &v, const Property< TP, V, H > &p)
delegate (value != property) to property operator!=
bool operator==(const T &v, const Property< TP, V, H > &p)
delegate (value == property) to property operator==
bool operator!() const
empty key?
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
less or equal key
std::size_t operator()(Gaudi::StringKey const &s) const
std::size_t m_hash
the hash:
The helper class to represent the efficient "key" for access.
bool empty() const
empty key?
bool operator!=(const std::string &o) const
non-equality string
bool operator==(const std::string &o) const
equality, without hashing string rely on the native string equality
std::size_t hash_value(const Gaudi::StringKey &key)
hash-function: heeded for boost::hash
std::string m_str
the actual string:
This class is used for returning status codes from appropriate routines.
std::ostream & toStream(const DataObjID &d, std::ostream &os)
StatusCode parse(DataObjID &dest, const std::string &src)
bool operator!=(const StringKey &o) const
non equality Key
decltype(auto) operator+(const T &v, const Property< TP, V, H > &p)
implemantation of (value + property)
bool operator==(const StringKey &o) const
equality Key for efficiency reason compare the hash-values first
bool operator>(const StringKey &o) const
greater key
std::size_t __hash__() const
the actual access to the hash
const std::string & str() const
the actual string
Helper functions to set/get the application return code.
std::string toString(const Type &)
std::ostream & operator<<(std::ostream &o, const Gaudi::StringKey &key)
printout of the object reply on the native printout for the string