|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #ifndef ASG_DATA_HANDLES_WRITE_HANDLE_H
16 #define ASG_DATA_HANDLES_WRITE_HANDLE_H
18 #ifndef XAOD_STANDALONE
95 explicit WriteHandle (
const WriteHandleKey<T>&
key,
const EventContext& ctx);
199 template <
class AUXSTORE>
201 std::unique_ptr<AUXSTORE>
store);
661 const EventContext& ctx);
char data[hepevt_bytes_allocation_ATLAS]
WriteHandle & operator=(const WriteHandle &rhs)
Assignment operator.
Base class for VarHandle types.
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())
Handle class for recording to StoreGate.
::StatusCode StatusCode
StatusCode definition for legacy code.
std::string store() const
Return the name of the store holding the object we are proxying.
reference_type operator*()
Dereference the pointer.
const T * const_pointer_type
~WriteHandle()
Destructor.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
virtual const std::string & key() const override final
Return the StoreGate ID for the referenced object.
const T & const_reference_type
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
void * m_ptr
The object to which we are bound.
const_pointer_type put(std::unique_ptr< T > data, bool returnExisting=false) const
Record an object to the store.
WriteHandle()
Default constructor.