ATLAS Offline Software
Loading...
Searching...
No Matches
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

namespace  SG
 Forward declaration.

Typedefs

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

Functions

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