Go to the documentation of this file.
11 #ifndef GAUDIKERNEL_STRINGKEY_H
12 #define GAUDIKERNEL_STRINGKEY_H 1
60 bool empty()
const {
return m_str.empty(); }
142 bool __eq__(
const StringKey& right )
const;
144 bool __eq__( std::string_view right )
const;
146 bool __neq__(
const StringKey& right )
const;
148 bool __neq__(
const std::string_view right )
const;
254 #endif // GAUDIKERNEL_STRINGKEY_H
friend bool operator!=(const StringKey &lhs, const std::string &rhs)
std::string m_str
the actual string:
friend bool operator!=(const std::string &lhs, const StringKey &rhs)
std::size_t operator()(Gaudi::StringKey const &s) const
StatusCode parse(GaudiUtils::HashMap< K, V > &result, std::string_view input)
Basic parser for the types of HashMap used in DODBasicMapper.
friend bool operator!=(const StringKey &lhs, std::string_view rhs)
non-equality string
friend bool operator==(const StringKey &lhs, const std::string &rhs)
equality, without hashing string rely on the native string equality
__repr__
decorate the vector of properties
friend bool operator==(std::string_view lhs, const StringKey &rhs)
friend bool operator<(const StringKey &lhs, const StringKey &rhs)
less key It can be used as a key for std::map, e.g.
friend bool operator>(const StringKey &lhs, const StringKey &rhs)
greater key
friend bool operator==(const StringKey &lhs, const StringKey &rhs)
equality Key for efficiency reason compare the hash-values first
friend bool operator==(const StringKey &lhs, std::string_view rhs)
std::size_t m_hash
the hash:
friend bool operator==(const std::string &lhs, const StringKey &rhs)
friend bool operator<=(const StringKey &lhs, const StringKey &rhs)
less or equal key
StringKey(const char *key="")
constructor from plain C-string, perform hashing
bool operator!() const
empty key?
friend bool operator>=(const StringKey &lhs, const StringKey &rhs)
greater or equal key
std::size_t hash_value(const Gaudi::StringKey &key)
hash-function: heeded for boost::hash
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
friend bool operator!=(const StringKey &lhs, const StringKey &rhs)
non equality Key
std::string toString(const TYPE &obj)
the generic implementation of the type conversion to the string
__str__
decorate the printout for Gaudi::ParticleProperty
std::size_t __hash__() const
the actual access to the hash
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
const std::string & str() const
the actual string
std::ostream & operator<<(std::ostream &o, const Gaudi::StringKey &key)
printout of the object reply on the native printout for the string
friend bool operator!=(std::string_view lhs, const StringKey &rhs)
bool empty() const
empty key?
std::string operator+(const std::string &lhs, const Gaudi::StringKey &rhs)