13#ifndef DATAMODELTESTDATACOMMON_PLINKS_V1_H
14#define DATAMODELTESTDATACOMMON_PLINKS_V1_H
Base class for elements of a container that can have aux data.
Class used for testing xAOD data reading/writing.
Provide an interface for finding inheritance information at run time.
#define SG_BASE(D, B)
Declare that class D derives from class B.
Auxiliary variable type allowing to store ElementLinks as packed 32-bit values.
For testing packed links.
ElementLink< CVec > vlink(size_t i) const
Get element i of the vector of links.
SG::Accessor< vlinks_type >::elt_span el_range
SG::PackedLink< CVec > plink_type
SG::ConstAccessor< vlinks_type >::const_elt_span const_el_range
ElementLink< CVec > plink() const
Get the single link.
const_el_range vlinks() const
Get the vector of links, as a const range.
std::vector< SG::PackedLink< CVec > > vlinks_type
void setVLink(size_t i, const ElementLink< CVec > &l)
Set element i of the vector of links.
void setPLink(const ElementLink< CVec > &l)
Set the single link.
void setVLinks(const std::vector< ElementLink< CVec > > &v)
Set the vector of links.
ElementLink implementation for ROOT usage.
Helper class to provide type-safe access to aux data.
Base class for elements of a container that can have aux data.
Helper class to provide constant type-safe access to aux data.
A packed version of ElementLink.