18 #include "GaudiAlg/GaudiHistoID.h"
22 #include "boost/functional/hash.hpp"
49 std::ostringstream
s ;
58 if ( numeric() ) { s << numericID() ; }
59 else if ( literal() ) { s << literalID() ; }
60 else { s <<
"UNDEFINED" ; }
The namespace threadpool contains a thread pool and related utility classes.
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.