25 #include "boost/functional/hash.hpp"
53 std::ostringstream
s ;
62 if ( numeric() ) { s << numericID() ; }
63 else if ( literal() ) { s << literalID() ; }
64 else { s <<
"UNDEFINED" ; }
size_t m_hash
the hash value of ID
GAUDI_API std::ostream & fillStream(std::ostream &s) const
int NumericID
type for internal numeric ID
std::size_t hash_value(const Gaudi::StringKey &key)
hash-function: heeded for boost::hash
ID(const NumericID id=-1)
Implicit constructor from a numeric ID.
std::string LiteralID
type for internal literal ID
GAUDI_API LiteralID idAsString() const
Return ID as string, for both numeric and literal IDs.
LiteralID m_aID
Internal alpha-numeric ID.