ATLAS Offline Software
Classes | Namespaces | Typedefs | Functions
sgkey_t.h File Reference
#include <cstdint>
#include <cstddef>
#include <unordered_map>
#include <unordered_set>
Include dependency graph for 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...