ATLAS Offline Software
Loading...
Searching...
No Matches
sgkey_utilities.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
12
13#ifndef CXXUTILS_SGKEY_UTILITIES_H
14#define CXXUTILS_SGKEY_UTILITIES_H
15
16#include "SGCore/sgkey_t.h"
19
20
21namespace SG {
22
23 // Separating this avoids a cppcheck syntax error.
24 static constexpr auto s_sgkey_nullval =
26
28 template <class T>
30 sgkey_t, T,
34
35} // namespace SG
36
37
38#endif
Hash map from integers/pointers allowing concurrent, lockless reads.
Simple (non-deleting) Updater implementation.
Hash map from integers/pointers allowing concurrent, lockless reads.
Simple (non-deleting) Updater implementation.
uintptr_t ConcurrentHashmapVal_t
Type used for keys and values — an unsigned big enough to hold a pointer.
Forward declaration.
CxxUtils::ConcurrentMap< sgkey_t, T, CxxUtils::SimpleUpdater, SGKeyHash, SGKeyEqual, 0, s_sgkey_nullval > ConcurrentSGKeyMap
A concurrent map using sgkey_t as key.
uint32_t sgkey_t
Type used for hashed StoreGate key+CLID pairs.
Definition sgkey_t.h:32
static constexpr auto s_sgkey_nullval
Comparison functional for sgkey_t.
Definition sgkey_t.h:72
Hash functional for sgkey_t.
Definition sgkey_t.h:59