13#ifndef ATHCONTAINERS_TOOLS_DVLDATABUCKET_H
14#define ATHCONTAINERS_TOOLS_DVLDATABUCKET_H
97 bool isConst =
true)
override;
110 bool isConst =
true)
override;
126 const std::type_info&
tinfo,
128 bool isConst =
true)
override;
146 virtual const std::type_info&
tinfo()
const override;
150 typedef std::pair<DataModel_detail::DVLInfoBase*, void*>
ent_t;
Holder to implement conversion copies for DataVector/DataList.
uint32_t CLID
The Class ID type.
char data[hepevt_bytes_allocation_ATLAS]
Identify view containers to be made persistent.
DVLDataBucket(T *data)
Constructor from a payload object.
DVLDataBucket & operator=(const DVLDataBucket &)
virtual void * cast(CLID clid, IRegisterTransient *irt=0, bool isConst=true) override
Return the contents of the DataBucket, converted to type given by clid.
virtual ~DVLDataBucket() override
Destructor.
virtual const CLID & clID() const override
The CLID for the class of object we're holding.
virtual const std::type_info & tinfo() const override
virtual void * cast(CLID clid, const std::type_info &tinfo, SG::IRegisterTransient *irt=0, bool isConst=true) override
Return the contents of the DataBucket, converted to type given by clid.
DVLDataBucket()
Default constructor.
DVLDataBucket(std::unique_ptr< U > data)
Constructor from a payload object.
std::pair< DataModel_detail::DVLInfoBase *, void * > ent_t
DVLDataBucket(const DVLDataBucket &other)
Copy constructor.
const std::type_info * m_ti
virtual void * cast(const std::type_info &tinfo, IRegisterTransient *irt=0, bool isConst=true) override
Return the contents of the DataBucket, converted to type given by std::type_info.
std::vector< ent_t > vec_t
Interface for registering a transient object in t2p map.