|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef ATHCONTAINERS_JAGGEDVECCONSTACCESSOR_H
15 #define ATHCONTAINERS_JAGGEDVECCONSTACCESSOR_H
66 template <
class PAYLOAD_T,
class ALLOC>
135 template <IsConstAuxElement ELT>
200 const std::string& clsname,
217 #endif // not ATHCONTAINERS_JAGGEDVECCONSTACCESSOR_H
typename AuxDataTraits< T, ALLOC >::element_type element_type
Type the user sees.
Base class usable for accessors for variables with linked variables.
typename AuxDataTraits< Payload_t >::const_span const_Payload_span
Factory object that creates vectors using AuxTypeVector, specialized for JaggedVec.
typename ConstConverter_t::element_type element_type
Span resulting from the conversion. This is the type the user sees.
ConstAccessor(const std::string &name, const std::string &clsname)
Constructor.
Helper: Make a span from a jagged vector element.
SG::auxid_t auxid() const
Return the aux id for this variable.
ConstAccessor(const SG::auxid_t auxid)
Constructor taking an auxid directly.
Helper class to provide constant type-safe access to aux data.
Base class usable for accessors for variables with linked variables.
Add to a range class conversions to containers.
Simplified version of the C++20 std::span.
void const_container_pointer_type
Not supported.
size_t auxid_t
Identifier for a particular aux data item.
typename AuxDataTraits< Elt_t, ALLOC >::const_span const_Elt_span
Spans over the objects that are actually stored.
element_type const_reference_type
Type referencing an item.
ConstAccessor(const std::string &name, const std::string &clsname, const SG::AuxVarFlags flags)
Constructor.
Allow customizing how aux data types are treated.
AuxVarFlags
Additional flags to qualify an auxiliary variable.
const_span getDataSpan(const AuxVectorData &container) const
Get a span over spans representing the jagged vector.
PAYLOAD_T Payload_t
Payload type.
const Payload_t * getPayloadArray(const AuxVectorData &container) const
Get a pointer to the start of the payload array.
typename std::allocator_traits< ALLOC >::template rebind_alloc< Payload_t > PayloadAlloc_t
Allocator to use for the payload vector.
Add at() methods to a range class.
Basic definitions for auxiliary types.
Definition of JaggedVecElt.
Add at() methods to a range class.
const_reference_type operator()(const ELT &e) const
Fetch the variable for one element, as a const reference.
Conversions for accessing jagged vector variables.
const_Payload_span getPayloadSpan(const AuxVectorData &container) const
Get a span over the payload vector.
Describe one element of a jagged vector.
Add to a range class conversions to containers.
Manage lookup of vectors of auxiliary data.
Helper class to provide constant type-safe access to aux data.
const_Elt_span getEltSpan(const AuxVectorData &container) const
Get a span over the array of JaggedVecElt objects.
const Elt_t * getEltArray(const AuxVectorData &container) const
Get a pointer to the start of the array of JaggedVecElt objects.
ConstAccessor(const detail::LinkedVarAccessorBase &b)
Constructor.
Base class for elements of a container that can have aux data.
ConstAccessor(const std::string &name)
Constructor.