![]() |
The Gaudi Framework
v41r0 (bdbe7744)
|
specialization for AnyDataWithViewWrapper More...
#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/DataObjectHandle.h>


Public Member Functions | |
| View * | get () const |
| Retrieve object from transient data store. | |
| View * | getIfExists () const |
| const View * | put (std::unique_ptr< AnyDataWithViewWrapper< View, Owned > > objectp) const |
| Register object in transient store. | |
| const View * | put (Owned &&obj) const |
| std::optional< std::size_t > | size () const |
| Size of boxed item, if boxed item has a 'size' method. | |
| std::string | pythonRepr () const override |
| DataObjectHandleBase (DataObjID k, Gaudi::DataHandle::Mode a, IDataHandleHolder *owner) | |
| DataObjectHandleBase (std::string k, Gaudi::DataHandle::Mode a, IDataHandleHolder *owner) | |
| DataObjectHandleBase (const DataObjectHandleBase &)=delete | |
| DataObjectHandleBase (DataObjectHandleBase &&) | |
| bool | exist () const |
| Check the existence of the object in the transient store. | |
| AnyDataWithViewWrapper< View, Owned > * | getOrCreate () const |
| Get object from store or create a new one if it doesn't exist. | |
| Public Member Functions inherited from DataObjectHandleBase | |
| DataObjectHandleBase (DataObjID k, Gaudi::DataHandle::Mode a, IDataHandleHolder *owner) | |
| DataObjectHandleBase (std::string k, Gaudi::DataHandle::Mode a, IDataHandleHolder *owner) | |
| ~DataObjectHandleBase () override | |
| DataObjectHandleBase (const DataObjectHandleBase &)=delete | |
| DataObjectHandleBase (DataObjectHandleBase &&) | |
| DataObjectHandleBase & | operator= (const DataObjectHandleBase &) |
| bool | isValid () const |
| Public Member Functions inherited from Gaudi::DataHandle | |
| DataHandle (DataObjID k, Mode a=Reader, IDataHandleHolder *owner=nullptr) | |
| DataHandle (DataObjID k, bool isCond, Mode a=Reader, IDataHandleHolder *owner=nullptr) | |
| virtual | ~DataHandle ()=default |
| virtual void | setOwner (IDataHandleHolder *o) |
| virtual IDataHandleHolder * | owner () const |
| virtual Mode | mode () const |
| virtual void | setKey (DataObjID key) |
| virtual void | updateKey (std::string key) |
| virtual const std::string & | objKey () const |
| virtual const DataObjID & | fullKey () const |
| virtual void | reset (bool) |
| virtual bool | isCondition () const |
Private Member Functions | |
| AnyDataWithViewWrapper< View, Owned > * | _get (bool mustExist) const |
Additional Inherited Members | |
| Public Types inherited from Gaudi::DataHandle | |
| enum | Mode { Reader = 1 << 2 , Writer = 1 << 4 } |
| using | PropertyType = DataHandleProperty |
| Protected Member Functions inherited from DataObjectHandleBase | |
| bool | init () override |
| DataObject * | fetch () const |
| Protected Attributes inherited from DataObjectHandleBase | |
| SmartIF< IDataProviderSvc > | m_EDS |
| SmartIF< IMessageSvc > | m_MS |
| bool | m_init = false |
| Protected Attributes inherited from Gaudi::DataHandle | |
| DataObjID | m_key = { "NONE" } |
| The key of the object behind this DataHandle Although it may look strange to have it mutable, this can actually change in case the object had alternative names, and it should not be visible to the end user, for which the Handle is still the same. | |
| IDataHandleHolder * | m_owner = nullptr |
| Static Protected Attributes inherited from Gaudi::DataHandle | |
| static const std::string | default_type = "unknown_t" |
specialization for AnyDataWithViewWrapper
Definition at line 379 of file DataObjectHandle.h.
|
inlineprivate |
Definition at line 417 of file DataObjectHandle.h.
| ( | const DataObjectHandleBase & | ) |
| ( | DataObjectHandleBase && | other | ) |
| ( | DataObjID | k, | |
| Gaudi::DataHandle::Mode | a, | ||
| IDataHandleHolder * | owner ) |
| ( | std::string | k, | |
| Gaudi::DataHandle::Mode | a, | ||
| IDataHandleHolder * | owner ) |
|
inline |
Check the existence of the object in the transient store.
Definition at line 128 of file DataObjectHandle.h.
|
inline |
Retrieve object from transient data store.
Definition at line 386 of file DataObjectHandle.h.
|
inline |
| AnyDataWithViewWrapper< View, Owned > * DataObjectHandle< AnyDataWithViewWrapper< View, Owned > >::getOrCreate | ( | ) | const |
Get object from store or create a new one if it doesn't exist.
Definition at line 133 of file DataObjectHandle.h.
|
inline |
Definition at line 402 of file DataObjectHandle.h.
|
inline |
Register object in transient store.
Definition at line 395 of file DataObjectHandle.h.
|
inlineoverridevirtual |
Reimplemented from Gaudi::DataHandle.
Definition at line 411 of file DataObjectHandle.h.
|
inline |
Size of boxed item, if boxed item has a 'size' method.
Definition at line 409 of file DataObjectHandle.h.