![]() |
ATLAS Offline Software
|
Helper: Make a span — either read-only or writable — from a jagged vector element. More...
#include <JaggedVecConversions.h>
Public Types | |
| using | Payload_t = PAYLOAD_T |
| The type of the jagged vector payload. More... | |
| using | Payload_span = detail::AuxDataSpan< Payload_t > |
An AuxDataSpan representing the payload vector. More... | |
| using | element_type = CxxUtils::range_with_conv< typename AuxDataTraits< Payload_t >::const_span > |
| The type of the (read-only) span we produce. More... | |
| using | JVecProxyInSpan = JaggedVecProxyT< Payload_t, JaggedVecProxyRefBase > |
| The type of the (writable) span we produce. More... | |
| using | value_type = JVecProxyInSpan |
Public Member Functions | |
| JaggedVecConverter (AuxVectorData &container, auxid_t auxid, auxid_t linked_auxid) | |
| Constructor. More... | |
| const element_type | operator() (const SG::JaggedVecEltBase &elt) const |
| Convert to a (read-only) span. More... | |
| value_type | operator() (SG::JaggedVecEltBase &elt) |
| Convert to a (writable) span. More... | |
Private Attributes | |
| JaggedVecProxyBase | m_base |
| The proxy base information. More... | |
| Payload_span | m_payload |
| The span over the payload vector. More... | |
Helper: Make a span — either read-only or writable — from a jagged vector element.
An instance of this class is constructed from an AuxDataSpan over the payload vector. (This has a reference to the range held by the AuxTypeVector, so if the payload vector changes, we'll see it here.) operator() then takes a JaggedVecElt and produces a span representing that element.
Definition at line 691 of file JaggedVecConversions.h.
| using SG::detail::JaggedVecConverter< PAYLOAD_T >::element_type = CxxUtils::range_with_conv<typename AuxDataTraits<Payload_t>::const_span> |
The type of the (read-only) span we produce.
Definition at line 701 of file JaggedVecConversions.h.
| using SG::detail::JaggedVecConverter< PAYLOAD_T >::JVecProxyInSpan = JaggedVecProxyT<Payload_t, JaggedVecProxyRefBase> |
The type of the (writable) span we produce.
Definition at line 705 of file JaggedVecConversions.h.
| using SG::detail::JaggedVecConverter< PAYLOAD_T >::Payload_span = detail::AuxDataSpan<Payload_t> |
An AuxDataSpan representing the payload vector.
Definition at line 698 of file JaggedVecConversions.h.
| using SG::detail::JaggedVecConverter< PAYLOAD_T >::Payload_t = PAYLOAD_T |
The type of the jagged vector payload.
Definition at line 695 of file JaggedVecConversions.h.
| using SG::detail::JaggedVecConverter< PAYLOAD_T >::value_type = JVecProxyInSpan |
Definition at line 706 of file JaggedVecConversions.h.
| SG::detail::JaggedVecConverter< PAYLOAD_T >::JaggedVecConverter | ( | AuxVectorData & | container, |
| auxid_t | auxid, | ||
| auxid_t | linked_auxid | ||
| ) |
Constructor.
| container | The container holding this variable. |
| auxid | The aux ID of this variable. |
| linked_auxid | The aux ID for the linked payload variable. |
| const element_type SG::detail::JaggedVecConverter< PAYLOAD_T >::operator() | ( | const SG::JaggedVecEltBase & | elt | ) | const |
Convert to a (read-only) span.
| elt | The jagged vector element to transform. |
| value_type SG::detail::JaggedVecConverter< PAYLOAD_T >::operator() | ( | SG::JaggedVecEltBase & | elt | ) |
Convert to a (writable) span.
| elt | The jagged vector element to transform. |
|
private |
The proxy base information.
Definition at line 736 of file JaggedVecConversions.h.
|
private |
The span over the payload vector.
Definition at line 739 of file JaggedVecConversions.h.
1.8.18