![]() |
The Gaudi Framework
v27r1
|
DataObjectHandleBase GaudiKernel/DataObjectHandleBase.h. More...
#include <GaudiKernel/DataObjectHandleBase.h>


Public Member Functions | |
| DataObjectHandleBase () | |
| DataObjectHandleBase (const DataObjID &k, Gaudi::DataHandle::Mode a, IDataHandleHolder *o) | |
| DataObjectHandleBase (const std::string &k, Gaudi::DataHandle::Mode a, IDataHandleHolder *o) | |
| virtual | ~DataObjectHandleBase () |
| const std::string | toString () const |
| const std::string | pythonRepr () const |
| void | fromString (const std::string &s) |
| bool | isOptional () const |
| Check if the data object declared is optional for the algorithm. More... | |
| void | setOptional (bool optional=true) |
| const std::vector< std::string > & | alternativeDataProductNames () const |
| void | setAlternativeDataProductNames (const std::vector< std::string > &alternativeAddresses) |
| bool | initialized () const |
| bool | wasRead () const |
| bool | wasWritten () const |
| bool | isValid () const |
Public Member Functions inherited from Gaudi::DataHandle | |
| DataHandle () | |
| DataHandle (const DataObjID &k, Mode a=Reader, IDataHandleHolder *owner=0) | |
| virtual | ~DataHandle () |
| virtual void | setOwner (IDataHandleHolder *o) |
| virtual IDataHandleHolder * | owner () const |
| virtual Mode | mode () const |
| virtual void | setKey (const DataObjID &key) |
| virtual void | updateKey (const std::string &key) |
| virtual const std::string & | objKey () const |
| virtual const DataObjID & | fullKey () const |
| virtual void | reset (bool) |
| virtual StatusCode | commit () |
Protected Member Functions | |
| void | setRead (bool wasRead=true) |
| void | setWritten (bool wasWritten=true) |
| void | init () |
Protected Member Functions inherited from Gaudi::DataHandle | |
| virtual void | setMode (const Mode &mode) |
Protected Attributes | |
| SmartIF< IDataProviderSvc > | m_EDS |
| SmartIF< IMessageSvc > | m_MS |
| bool | m_init |
| bool | m_goodType |
| bool | m_optional |
| bool | m_wasRead |
| bool | m_wasWritten |
| std::vector< std::string > | m_altNames |
Protected Attributes inherited from Gaudi::DataHandle | |
| DataObjID | m_key |
| IDataHandleHolder * | m_owner |
Friends | |
| std::ostream & | operator<< (std::ostream &str, const DataObjectHandleBase &d) |
Additional Inherited Members | |
Public Types inherited from Gaudi::DataHandle | |
| enum | Mode { Reader = 1<<2, Writer = 1<<4, Updater = Reader | Writer } |
DataObjectHandleBase GaudiKernel/DataObjectHandleBase.h.
Base class for handles to Data Objects in the Event Store, to simplify access via Properties.
provides accessors to AlternateNames, and Optional parameters
Definition at line 24 of file DataObjectHandleBase.h.
| DataObjectHandleBase::DataObjectHandleBase | ( | ) |
Definition at line 15 of file DataObjectHandleBase.cpp.
| DataObjectHandleBase::DataObjectHandleBase | ( | const DataObjID & | k, |
| Gaudi::DataHandle::Mode | a, | ||
| IDataHandleHolder * | o | ||
| ) |
Definition at line 20 of file DataObjectHandleBase.cpp.
| DataObjectHandleBase::DataObjectHandleBase | ( | const std::string & | k, |
| Gaudi::DataHandle::Mode | a, | ||
| IDataHandleHolder * | o | ||
| ) |
Definition at line 28 of file DataObjectHandleBase.cpp.
|
inlinevirtual |
Definition at line 34 of file DataObjectHandleBase.h.
|
inline |
Definition at line 48 of file DataObjectHandleBase.h.
| void DataObjectHandleBase::fromString | ( | const std::string & | s | ) |
Definition at line 54 of file DataObjectHandleBase.cpp.
|
protected |
Definition at line 61 of file DataObjectHandleBase.cpp.
|
inline |
Definition at line 52 of file DataObjectHandleBase.h.
|
inline |
Check if the data object declared is optional for the algorithm.
Definition at line 45 of file DataObjectHandleBase.h.
| bool DataObjectHandleBase::isValid | ( | ) | const |
Definition at line 93 of file DataObjectHandleBase.cpp.
|
virtual |
Reimplemented from Gaudi::DataHandle.
Definition at line 48 of file DataObjectHandleBase.cpp.
|
inline |
Definition at line 50 of file DataObjectHandleBase.h.
|
inline |
Definition at line 46 of file DataObjectHandleBase.h.
|
inlineprotected |
Definition at line 59 of file DataObjectHandleBase.h.
|
inlineprotected |
Definition at line 60 of file DataObjectHandleBase.h.
| const std::string DataObjectHandleBase::toString | ( | ) | const |
Definition at line 36 of file DataObjectHandleBase.cpp.
|
inline |
Definition at line 53 of file DataObjectHandleBase.h.
|
inline |
Definition at line 54 of file DataObjectHandleBase.h.
|
friend |
Definition at line 102 of file DataObjectHandleBase.cpp.
|
protected |
Definition at line 74 of file DataObjectHandleBase.h.
|
protected |
Definition at line 66 of file DataObjectHandleBase.h.
|
protected |
Definition at line 70 of file DataObjectHandleBase.h.
|
protected |
Definition at line 69 of file DataObjectHandleBase.h.
|
protected |
Definition at line 67 of file DataObjectHandleBase.h.
|
protected |
Definition at line 71 of file DataObjectHandleBase.h.
|
protected |
Definition at line 72 of file DataObjectHandleBase.h.
|
protected |
Definition at line 72 of file DataObjectHandleBase.h.