ATLAS Offline Software
|
Allow customizing how aux data types are treated. More...
#include <AuxDataTraits.h>
Public Types | |
using | element_type = T |
The type the user sees. More... | |
using | reference_type = element_type & |
Reference types returned by aux data accessors. More... | |
using | const_reference_type = const element_type & |
using | allocator_type = ALLOC |
Allocator type used to store this variable. More... | |
using | vector_type = std::vector< T, allocator_type > |
Container type used to store this variable. More... | |
using | container_value_type = typename vector_type::value_type |
using | container_pointer_type = typename vector_type::pointer |
Pointers to the data within the container. More... | |
using | const_container_pointer_type = typename vector_type::const_pointer |
using | span = CxxUtils::span< container_value_type > |
using | const_span = CxxUtils::span< const container_value_type > |
Static Public Member Functions | |
static reference_type | index (void *ptr, size_t ndx) |
Look up an element in the container by index. More... | |
static const_reference_type | index (const void *ptr, size_t ndx) |
Look up an element in the container by index. More... | |
Allow customizing how aux data types are treated.
T
here is the type that the user requests, eg in the template argument of a decorator.
Definition at line 39 of file AuxDataTraits.h.
using SG::AuxDataTraits< T, ALLOC >::allocator_type = ALLOC |
Allocator type used to store this variable.
Definition at line 50 of file AuxDataTraits.h.
using SG::AuxDataTraits< T, ALLOC >::const_container_pointer_type = typename vector_type::const_pointer |
Definition at line 58 of file AuxDataTraits.h.
using SG::AuxDataTraits< T, ALLOC >::const_reference_type = const element_type& |
Definition at line 47 of file AuxDataTraits.h.
using SG::AuxDataTraits< T, ALLOC >::const_span = CxxUtils::span<const container_value_type> |
Definition at line 75 of file AuxDataTraits.h.
using SG::AuxDataTraits< T, ALLOC >::container_pointer_type = typename vector_type::pointer |
Pointers to the data within the container.
Definition at line 57 of file AuxDataTraits.h.
using SG::AuxDataTraits< T, ALLOC >::container_value_type = typename vector_type::value_type |
Definition at line 54 of file AuxDataTraits.h.
using SG::AuxDataTraits< T, ALLOC >::element_type = T |
The type the user sees.
Definition at line 43 of file AuxDataTraits.h.
using SG::AuxDataTraits< T, ALLOC >::reference_type = element_type& |
Reference types returned by aux data accessors.
Definition at line 46 of file AuxDataTraits.h.
using SG::AuxDataTraits< T, ALLOC >::span = CxxUtils::span<container_value_type> |
Definition at line 74 of file AuxDataTraits.h.
using SG::AuxDataTraits< T, ALLOC >::vector_type = std::vector<T, allocator_type> |
Container type used to store this variable.
Definition at line 53 of file AuxDataTraits.h.
|
inlinestatic |
Look up an element in the container by index.
ptr is a pointer to the start of the container's data.
Definition at line 69 of file AuxDataTraits.h.
|
inlinestatic |
Look up an element in the container by index.
ptr is a pointer to the start of the container's data.
Definition at line 62 of file AuxDataTraits.h.