ATLAS Offline Software
Loading...
Searching...
No Matches
CurrentEventStore.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5// $Id$
12
13
15
16
17namespace SG {
18
19
20thread_local IProxyDict* CurrentEventStore::m_curStore = nullptr;
21
22
30
31
37{
38 IProxyDict* oldstore = m_curStore;
40 return oldstore;
41}
42
43
44} // namespace SG
Hold a pointer to the current event store.
static IProxyDict * store()
Fetch the current store.
static IProxyDict * setStore(IProxyDict *store)
Set the current store.
static IProxyDict * storeOol()
Fetch the current store (out-of-line version).
static thread_local IProxyDict * m_curStore
The current event store.
Forward declaration.