|
ATLAS Offline Software
|
Go to the documentation of this file.
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;
175 #endif // not ATHCONTAINERS_TOOLS_DVLDATABUCKET_H
Interface for registering a transient object in t2p map.
const std::type_info * m_ti
The std::type_info for the class of object we're holding.
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.
char data[hepevt_bytes_allocation_ATLAS]
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 const CLID & clID() const override
The CLID for the class of object we're holding.
std::vector< ent_t > vec_t
DVLDataBucket(T *data)
Constructor from a payload object.
Holder to implement conversion copies for DataVector/DataList.
DVLDataBucket(const DVLDataBucket &other)
Copy constructor.
virtual const std::type_info & tinfo() const override
The std::type_info for the class of object we're holding.
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.
virtual ~DVLDataBucket() override
Destructor.
DVLDataBucket()
Default constructor.
uint32_t CLID
The Class ID type.
CLID m_clid
The CLID for the class of object we're holding.
std::pair< DataModel_detail::DVLInfoBase *, void * > ent_t
A DataBucket specialized for DataVector/DataList.
DVLDataBucket & operator=(const DVLDataBucket &)
DVLDataBucket(std::unique_ptr< U > data)
Constructor from a payload object.
Identify view containers to be made persistent.