|
ATLAS Offline Software
|
Go to the documentation of this file.
13 #ifndef ATHCONTAINERS_PACKEDLINKCONVERSIONS_H
14 #define ATHCONTAINERS_PACKEDLINKCONVERSIONS_H
21 #include "AthLinks/ElementLink.h"
22 #include "AthLinks/DataLink.h"
105 template <
class VALLOC>
118 template <
class CONT>
171 template <
class VALLOC, ElementLinkRange<CONT> RANGE>
172 void set (std::vector<PLink_t, VALLOC>& plv,
const RANGE&
r);
181 template <
class VALLOC, ElementLinkRange<CONT> RANGE>
182 void insert (std::vector<PLink_t, VALLOC>& plv,
size_t pos,
const RANGE&
r);
203 #endif // not ATHCONTAINERS_PACKEDLINKCONVERSIONS_H
const_DataLink_span m_dlinks
Span over DataLinks.
typename PLVH::const_DataLink_span const_DataLink_span
Type of span over DataLinks.
Helper: Convert a vector of PackedLink to a span over ElementLinks.
Helper: Convert a PackedLink to an ElementLink.
PLVH::LinkedVector m_linkedVec
The vector of DataLinks.
const value_type operator()(const PackedLinkBase &plink) const
Convert a PackedLink to an ElementLink.
typename AuxDataTraits< PackedLink< CONT > >::const_span const_PackedLink_span
A span over the input PackedLink objects.
const_DataLink_span m_dlinks
Span over DataLinks.
Helper: Convert a PackedLink to an ElementLink and vice-versa.
Helper to access the IAuxTypeVector for an aux variable.
Helper functions for managing PackedLink variables.
Add to a range class conversions to containers.
PackedLink< CONT > PLink_t
The PackedLinks.
Helper functions for managing PackedLink variables.
ElementLink< CONT > Link_t
The (linked) data links.
size_t auxid_t
Identifier for a particular aux data item.
PackedLinkVectorConstConverter(const const_DataLink_span &dlinks)
Constructor.
PackedLinkConverter(AuxVectorData &container, SG::auxid_t auxid, SG::auxid_t linked_auxid)
Constructor.
Allow customizing how aux data types are treated.
Definition of PackedLink type.
Allow customizing how aux data types are treated.
Manage lookup of vectors of auxiliary data.
PackedLinkConstConverter(const const_DataLink_span &dlinks)
Constructor.
const value_type operator()(const PackedLinkBase &plink) const
Convert a PackedLink to an ElementLink.
DataLinkBase_span m_dlinks
Span over DataLinks.
typename PLVH::DataLinkBase_span DataLinkBase_span
Type of span over DataLinkBase's.
Add at() methods to a range class.
Add at() methods to a range class.
AuxVectorData & m_container
The container holding the variables.
detail::AuxDataConstSpan< DataLink< CONT > > const_DataLink_span
A packed version of ElementLink.
detail::AuxDataSpan< DataLinkBase > DataLinkBase_span
Spans over the linked DataLinks.
typename PLVH::DLink_t DLink_t
The linked DataLink type.
void set(PackedLinkBase &pl, const value_type &link)
Convert an ElementLink to a PackedLink.
void insert(std::vector< PLink_t, VALLOC > &plv, size_t pos, const RANGE &r)
Insert a range of ElementLinks into a vector of PackedLinks.
Add to a range class conversions to containers.
Manage lookup of vectors of auxiliary data.
void set(std::vector< PLink_t, VALLOC > &plv, const RANGE &r)
Convert a range of ElementLinks to a vector of PackedLinks.
value_type operator()(const std::vector< PackedLink< CONT >, VALLOC > &velt) const
Convert a vector of PackedLinks to a span over ElementLinks.
typename PLVH::PLink_t PLink_t
The PackedLink type.
typename PLVH::const_DataLink_span const_DataLink_span
Type of span over DataLinks.