 |
ATLAS Offline Software
|
Go to the documentation of this file.
13 #ifndef STOREGATE_TYPELESSWRITEHANDLEKEY_H
14 #define STOREGATE_TYPELESSWRITEHANDLEKEY_H
48 const std::string&
key =
"",
66 template <
class OWNER,
70 const std::string&
name,
72 const std::string&
key={},
73 const std::string&
doc=
"")
76 auto p = owner->declareProperty(
name, *
this,
doc);
77 p->template setOwnerType<OWNER>();
107 #endif // not STOREGATE_TYPELESSWRITEHANDLEKEY_H
A property holding a SG store/key/clid from which a VarHandle is made.
TypelessWriteHandleKey & operator=(const std::string &sgkey)
Change the key of the object to which we're referring.
const std::string & key() const
Return the StoreGate ID for the referenced object.
Property holding a write key for which the type can be configured.
::StatusCode StatusCode
StatusCode definition for legacy code.
TypelessWriteHandleKey(OWNER *owner, const std::string &name, CLID clid=CLID_NULL, const std::string &key={}, const std::string &doc="")
auto-declaring Property constructor.
uint32_t CLID
The Class ID type.
CLID clid() const
Return the class ID for the referenced object.
A property holding a SG store/key/clid from which a VarHandle is made.
static const std::string & storeName(const StoreID::type &s)
virtual StatusCode assign(const std::string &key) override
Change the key of the object to which we're referring.
TypelessWriteHandleKey(CLID clid=CLID_NULL, const std::string &key="", const std::string &storeName=StoreID::storeName(StoreID::EVENT_STORE))
Constructor.