ATLAS Offline Software
Public Types | Public Member Functions | Private Attributes | List of all members
SG::detail::PackedLinkVectorConstConverter< CONT > Class Template Reference

Helper: Convert a vector of PackedLink to a span over ElementLinks. More...

#include <PackedLinkConversions.h>

Collaboration diagram for SG::detail::PackedLinkVectorConstConverter< CONT >:

Public Types

using PLVH = PackedLinkVectorHelper< CONT >
 
using const_PackedLink_span = typename AuxDataTraits< PackedLink< CONT > >::const_span
 A span over the input PackedLink objects. More...
 
using value_type = CxxUtils::range_with_conv< CxxUtils::transform_view_with_at< const_PackedLink_span, detail::PackedLinkConstConverter< CONT > > >
 Transform the span of PackedLinks to a span of ElementLinks. More...
 
using const_DataLink_span = typename PLVH::const_DataLink_span
 Type of span over DataLinks. More...
 

Public Member Functions

 PackedLinkVectorConstConverter (const const_DataLink_span &dlinks)
 Constructor. More...
 
template<class VALLOC >
value_type operator() (const std::vector< PackedLink< CONT >, VALLOC > &velt) const
 Convert a vector of PackedLinks to a span over ElementLinks. More...
 

Private Attributes

const_DataLink_span m_dlinks
 Span over DataLinks. More...
 

Detailed Description

template<class CONT>
class SG::detail::PackedLinkVectorConstConverter< CONT >

Helper: Convert a vector of PackedLink to a span over ElementLinks.

Definition at line 74 of file PackedLinkConversions.h.

Member Typedef Documentation

◆ const_DataLink_span

Type of span over DataLinks.

Definition at line 91 of file PackedLinkConversions.h.

◆ const_PackedLink_span

template<class CONT >
using SG::detail::PackedLinkVectorConstConverter< CONT >::const_PackedLink_span = typename AuxDataTraits<PackedLink<CONT> >::const_span

A span over the input PackedLink objects.

Definition at line 81 of file PackedLinkConversions.h.

◆ PLVH

template<class CONT >
using SG::detail::PackedLinkVectorConstConverter< CONT >::PLVH = PackedLinkVectorHelper<CONT>

Definition at line 77 of file PackedLinkConversions.h.

◆ value_type

Transform the span of PackedLinks to a span of ElementLinks.

Definition at line 84 of file PackedLinkConversions.h.

Constructor & Destructor Documentation

◆ PackedLinkVectorConstConverter()

Constructor.

Parameters
dlinksSpan over DataLinks.

Member Function Documentation

◆ operator()()

template<class CONT >
template<class VALLOC >
value_type SG::detail::PackedLinkVectorConstConverter< CONT >::operator() ( const std::vector< PackedLink< CONT >, VALLOC > &  velt) const

Convert a vector of PackedLinks to a span over ElementLinks.

Parameters
veltThe vector to transform.

Member Data Documentation

◆ m_dlinks

template<class CONT >
const_DataLink_span SG::detail::PackedLinkVectorConstConverter< CONT >::m_dlinks
private

Span over DataLinks.

Definition at line 111 of file PackedLinkConversions.h.


The documentation for this class was generated from the following file: