|  | ATLAS Offline Software
    | 
Abstract interface for looking up strings/CLIDs in a pool. More...
#include <IStringPool.h>
| Public Types | |
| typedef SG::sgkey_t | sgkey_t | 
| Type of the keys.  More... | |
| Public Member Functions | |
| virtual | ~IStringPool () | 
| Destructor.  More... | |
| virtual sgkey_t | stringToKey (const std::string &str, CLID clid)=0 | 
| Find the key for a string/CLID pair.  More... | |
| virtual const std::string * | keyToString (sgkey_t key) const =0 | 
| Find the string corresponding to a given key.  More... | |
| virtual const std::string * | keyToString (sgkey_t key, CLID &clid) const =0 | 
| Find the string and CLID corresponding to a given key.  More... | |
| virtual void | registerKey (sgkey_t key, const std::string &str, CLID clid)=0 | 
| Remember an additional mapping from key to string/CLID.  More... | |
Abstract interface for looking up strings/CLIDs in a pool.
Definition at line 27 of file IStringPool.h.
| typedef SG::sgkey_t IStringPool::sgkey_t | 
Type of the keys.
Definition at line 34 of file IStringPool.h.
| 
 | inlinevirtual | 
Find the string corresponding to a given key.
| key | The key to look up. | 
stringToKey() or registerKey(). Find the string and CLID corresponding to a given key.
| key | The key to look up. | 
| clid[out] | The found CLID. | 
stringToKey() or registerKey(). | 
 | pure virtual | 
Remember an additional mapping from key to string/CLID.
| key | The key to enter. | 
| str | The string to enter. | 
| clid | The CLID associated with the string. | 
key already corresponds to a different string.This registers an additional mapping from a key to a string; it can be found later through lookup() on the string. Logs an error if key already corresponds to a different string. 
 1.8.18
 1.8.18