|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #ifndef ATHENAKERNEL_ISTRINGPOOL_H
16 #define ATHENAKERNEL_ISTRINGPOOL_H
20 #include "GaudiKernel/ClassID.h"
68 CLID& clid)
const = 0;
84 const std::string&
str,
89 #endif // not ATHENAKERNEL_ISTRINGPOOL_H
Abstract interface for looking up strings/CLIDs in a pool.
virtual sgkey_t stringToKey(const std::string &str, CLID clid)=0
Find the key for a string/CLID pair.
virtual ~IStringPool()
Destructor.
SG::sgkey_t sgkey_t
Type of the keys.
virtual void registerKey(sgkey_t key, const std::string &str, CLID clid)=0
Remember an additional mapping from key to string/CLID.
uint32_t CLID
The Class ID type.
uint32_t sgkey_t
Type used for hashed StoreGate key+CLID pairs.
Define the type used for hashed StoreGate key+CLID pairs.
virtual const std::string * keyToString(sgkey_t key) const =0
Find the string corresponding to a given key.
virtual const std::string * keyToString(sgkey_t key, CLID &clid) const =0
Find the string and CLID corresponding to a given key.