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
GAUDI_API std::ostream & operator<<(std::ostream &o, const Gaudi::Histo1DDef &histo)
the streamer operator for class Gaudi::Histo1DDef
bool operator!=(const T &v, const Property< TP, V, H > &p)
delegate (value != property) to property operator!=
GAUDI_API std::ostream & toStream(const Gaudi::StringKey &key, std::ostream &s)
send the object to stream (needed to use it as property)
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:
GAUDI_API StatusCode parse(std::vector< Gaudi::StringKey > &result, const std::string &input)
parse the vector of keys from the string
This class is used for returning status codes from appropriate routines.
bool operator!=(const StringKey &o) const
non equality Key
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 &)
decltype(std::declval< TP >()+std::declval< T >()) operator+(const T &v, const Property< TP, V, H > &p)
implemantation of (value + property)