|
ATLAS Offline Software
|
Go to the documentation of this file.
18 #ifndef CXXUTILS_SGKEY_T_H
19 #define CXXUTILS_SGKEY_T_H
24 #include <unordered_map>
25 #include <unordered_set>
93 using SGKeyMap = std::unordered_map<sgkey_t, T>;
103 #endif // not CXXUTILS_SGKEY_T_H
Hash functional for sgkey_t.
constexpr bool sgkeyLess(const sgkey_t a, const sgkey_t b)
Compare two sgkeys for ordering.
constexpr uint32_t sgkeyShort(const sgkey_t k)
Convert a sgkey to the 32-bit form used for older data.
constexpr bool operator()(const sgkey_t a, const sgkey_t b) const
std::unordered_set< sgkey_t > SGKeySet
A set of sgkey_t values.
uint32_t sgkey_t
Type used for hashed StoreGate key+CLID pairs.
std::unordered_map< sgkey_t, T > SGKeyMap
A map using sgkey_t as a key.
constexpr size_t operator()(const sgkey_t k) const
constexpr bool sgkeyEqual(const sgkey_t a, const sgkey_t b)
Compare two sgkeys for equality.
Comparison functional for sgkey_t.