11#ifndef ATHENAROOTCOMPS_ROOTDATABUCKETBRANCH_H
12#define ATHENAROOTCOMPS_ROOTDATABUCKETBRANCH_H 1
29 const std::string& type_name,
37 const std::type_info& ti,
59 bool isConst =
true)
override;
64 bool isConst =
true)
override;
69 virtual void lock()
override;
73 virtual const std::type_info&
tinfo()
const override
uint32_t CLID
The Class ID type.
virtual const CLID & clID() const override
virtual void relinquish() override
Give up ownership of the DataBucket contents.
DataBucketBranch(CLID clid, const RootType &type, void *ptr)
virtual ~DataBucketBranch() override
virtual void lock() override
If the held object derives from ILockable, call lock() on it.
DataBucketBranch(CLID clid, const std::string &type_name, void *ptr=NULL)
virtual const std::type_info & tinfo() const override
Return the type_info for the stored object.
virtual void * object() override
DataBucketBranch(CLID clid, const std::type_info &ti, void *ptr=NULL)
virtual void * cast(CLID clid, SG::IRegisterTransient *itr, bool isConst=true) override
Return the contents of the DataBucket, converted to type given by clid.
T * cast(SG::IRegisterTransient *irt=0, bool isConst=true)
Return the contents of the DataBucket, converted to type T.
Interface for registering a transient object in t2p map.
Some weak symbol referencing magic... These are declared in AthenaKernel/getMessageSvc....