ATLAS Offline Software
Loading...
Searching...
No Matches
UpdateHandleKey.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3/*
4 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5*/
6
13
14
15#ifndef STOREGATE_UPDATEHANDLEKEY_H
16#define STOREGATE_UPDATEHANDLEKEY_H
17
18
21#include <concepts>
22
23
24namespace SG {
25
26
37template <class T>
39 : public VarHandleKey
40{
41public:
51 explicit
52 UpdateHandleKey (const std::string& key = "",
53 const std::string& storeName = StoreID::storeName(StoreID::EVENT_STORE));
54
68 template <std::derived_from<IProperty> OWNER>
69 inline UpdateHandleKey (OWNER* owner,
70 std::string name,
71 const std::string& key={},
72 std::string doc="");
81 UpdateHandleKey& operator= (const std::string& sgkey);
82};
83
84
85} // namespace SG
86
87
89
90
91#endif // not STOREGATE_UPDATEHANDLEKEY_H
macros to associate a CLID to a type
A property holding a SG store/key/clid from which a VarHandle is made.
UpdateHandleKey(OWNER *owner, std::string name, const std::string &key={}, std::string doc="")
auto-declaring Property Constructor.
UpdateHandleKey(const std::string &key="", const std::string &storeName=StoreID::storeName(StoreID::EVENT_STORE))
Constructor.
UpdateHandleKey & operator=(const std::string &sgkey)
Change the key of the object to which we're referring.
VarHandleKey(CLID clid, const std::string &sgkey, Gaudi::DataHandle::Mode a, const std::string &storeName=StoreID::storeName(StoreID::EVENT_STORE), bool isCond=false)
Constructor.
@ EVENT_STORE
Definition StoreID.h:26
static const std::string & storeName(const StoreID::type &s)
Definition StoreID.cxx:77
Forward declaration.