 |
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef STOREGATE_SG_READHANDLE_H
13 #define STOREGATE_SG_READHANDLE_H 1
20 #include "GaudiKernel/EventContext.h"
103 const EventContext& ctx);
113 const std::string& storename,
114 const EventContext& ctx);
154 const EventContext& ctx) =
delete;
297 const EventContext& ctx);
320 const EventContext& ctx);
327 #include "StoreGate/ReadHandle.icc"
330 #ifndef NO_LEGACY_HANDLES
338 #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.
ReadHandle(SG::ReadHandleKey< T > &&key)=delete
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.
ReadHandle(const std::string &sgkey, const std::string &storename, const EventContext &ctx)
Constructor specifying the key as a string, with context.
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(SG::ReadHandleKey< T > &&key, const EventContext &ctx)=delete
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 specifying the key as a string.
ReadHandle(const std::string &sgkey, const EventContext &ctx)
Constructor specifying the key as a string, with context.
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.