![]() |
ATLAS Offline Software
|
Helper object for holding something through a THolder. More...
Public Member Functions | |
| HolderBucket (const std::string &key, const std::type_info &ti, xAOD::Event &event) | |
| Constructor with an existing holder. More... | |
| void * | object () override |
| Return the object held. More... | |
| const std::type_info & | tinfo () const override |
| Return the type_info of the stored object. More... | |
| void * | cast (CLID, SG::IRegisterTransient *, bool) override |
| Return the object, cast to a CLID's type. More... | |
| void * | cast (const std::type_info &tinfo, SG::IRegisterTransient *, bool isConst) override |
| Return the object, cast to a certain type. More... | |
| void * | cast (CLID, const std::type_info &tinfo, SG::IRegisterTransient *irt, bool isConst) override |
| Return the object, cast to type. More... | |
| void | relinquish () override |
| Give up ownership of the bucket's contents. A no-op. More... | |
| void | lock () override |
| Lock the held object. A no-op. More... | |
| template<class T > | |
| T * | cast (SG::IRegisterTransient *irt=0, bool isConst=true) |
Return the contents of the DataBucket, converted to type T. More... | |
Private Attributes | |
| const std::string | m_key |
| The key of the object. More... | |
| const std::type_info & | m_ti |
| The type info of the object. More... | |
| xAOD::Event & | m_event |
| The original Event object. More... | |
Helper object for holding something through a THolder.
Definition at line 42 of file EventIProxyDict.cxx.
|
inline |
|
inlineoverridevirtual |
Return the object, cast to type.
Reimplemented from DataBucketBase.
Definition at line 122 of file EventIProxyDict.cxx.
|
inlineoverridevirtual |
Return the object, cast to a CLID's type.
Implements DataBucketBase.
Definition at line 81 of file EventIProxyDict.cxx.
|
inlineoverridevirtual |
Return the object, cast to a certain type.
Implements DataBucketBase.
Definition at line 88 of file EventIProxyDict.cxx.
|
inherited |
Return the contents of the DataBucket, converted to type T.
Note that only derived->base conversions are allowed here. T must have a valid Class ID for this to work.
| irt | To be called if we make a new instance. |
| isConst | True if the object being converted is regarded as const. |
|
inlineoverridevirtual |
Lock the held object. A no-op.
Implements DataBucketBase.
Definition at line 130 of file EventIProxyDict.cxx.
|
inlineoverridevirtual |
Return the object held.
Implements DataBucketBase.
Definition at line 51 of file EventIProxyDict.cxx.
|
inlineoverridevirtual |
Give up ownership of the bucket's contents. A no-op.
Implements DataBucketBase.
Definition at line 128 of file EventIProxyDict.cxx.
|
inlineoverridevirtual |
Return the type_info of the stored object.
Implements DataBucketBase.
Definition at line 78 of file EventIProxyDict.cxx.
|
private |
The original Event object.
Definition at line 138 of file EventIProxyDict.cxx.
|
private |
The key of the object.
Definition at line 134 of file EventIProxyDict.cxx.
|
private |
The type info of the object.
Definition at line 136 of file EventIProxyDict.cxx.
1.8.18