ATLAS Offline Software
Classes | Namespaces | Typedefs | Functions
CxxUtils/CxxUtils/sgkey_t.h File Reference

Define the type used for hashed StoreGate key+CLID pairs. More...

#include <cstdint>
#include <cstddef>
#include <unordered_map>
#include <unordered_set>
Include dependency graph for CxxUtils/CxxUtils/sgkey_t.h:

Go to the source code of this file.

Classes

struct  SG::SGKeyHash
 Hash functional for sgkey_t. More...
 
struct  SG::SGKeyEqual
 Comparison functional for sgkey_t. More...
 

Namespaces

 SG
 Forward declaration.
 

Typedefs

typedef uint32_t SG::sgkey_t
 Type used for hashed StoreGate key+CLID pairs. More...
 
template<class T >
using SG::SGKeyMap = std::unordered_map< sgkey_t, T >
 A map using sgkey_t as a key. More...
 
using SG::SGKeySet = std::unordered_set< sgkey_t >
 A set of sgkey_t values. More...
 

Functions

constexpr bool SG::sgkeyEqual (const sgkey_t a, const sgkey_t b)
 Compare two sgkeys for equality. More...
 
constexpr bool SG::sgkeyLess (const sgkey_t a, const sgkey_t b)
 Compare two sgkeys for ordering. More...
 
constexpr uint32_t SG::sgkeyShort (const sgkey_t k)
 Convert a sgkey to the 32-bit form used for older data. More...
 

Detailed Description

Define the type used for hashed StoreGate key+CLID pairs.

Author
scott snyder snyde.nosp@m.r@bn.nosp@m.l.gov
Date
Nov, 2013 These are managed by IProxyDict. This definition was broken out from there due to dependency issues. This would more naturally be in AthenaKernel, but we put it in CxxUtils so that it can be used by xAOD standalone code as well.

Definition in file CxxUtils/CxxUtils/sgkey_t.h.