|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #ifndef STOREGATE_SG_READHANDLE_H
16 #define STOREGATE_SG_READHANDLE_H 1
23 #include "GaudiKernel/EventContext.h"
274 const EventContext& ctx);
297 const EventContext& ctx);
304 #include "StoreGate/ReadHandle.icc"
307 #ifndef NO_LEGACY_HANDLES
315 #endif //> !STOREGATE_SG_READHANDLE_H
Base class for VarHandle classes.
Property holding a SG store/key/clid from which a ReadHandle is made.
const_pointer_type checkedCPtr()
Helper: dereference the pointer.
const_pointer_type cptr()
Dereference the pointer.
Base class for VarHandle types.
ReadHandle(const ReadHandleKey< T > &key, const EventContext &ctx)
Constructor from a ReadHandleKey and an explicit event context.
const_reference_type operator*()
Dereference the pointer.
ReadHandle & operator=(const ReadHandle &rhs)
Assignment operator.
bool const RAWDATA *ch2 const
ReadHandle(ReadHandle &&rhs)
Move constructor.
Property holding a SG store/key/clid from which a ReadHandle is made.
a smart pointer to an object of a given type in an IProxyDict (such as StoreGateSvc)....
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
const_pointer_type cachedPtr() const
Return the cached pointer directly; no lookup.
Property holding a SG store/key/clid from which a WriteHandle is made.
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
::StatusCode StatusCode
StatusCode definition for legacy code.
const_pointer_type get() const
Dereference the pointer, but don't cache anything.
const_pointer_type operator->()
Dereference the pointer.
ReadHandle(const ReadHandle &rhs)
Copy constructor.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
Property holding a SG store/key/clid from which a WriteHandle is made.
ReadHandle(SG::DataProxy *proxy)
Constructor from a DataProxy.
virtual const std::string & key() const override final
Return the StoreGate ID for the referenced object.
A property holding a SG store/key/clid from which a VarHandle is made.
const_pointer_type ptr()
Dereference the pointer.
const T * const_pointer_type
const T & const_reference_type
ReadHandle(const std::string &sgkey, const std::string &storename=StoreID::storeName(StoreID::EVENT_STORE))
Constructor with full arguments.
ReadHandle & operator=(ReadHandle &&rhs)
Move operator.
ReadHandle(const ReadHandleKey< T > &key)
Constructor from a ReadHandleKey.
static const std::string & storeName(const StoreID::type &s)
ReadHandle()
Default constructor.
StatusCode alias(const WriteHandleKey< T > &key)
Make an alias.