|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef ATHCONTAINERS_AUXDATATRAITS_H
15 #define ATHCONTAINERS_AUXDATATRAITS_H
38 template <
class T,
class ALLOC = AuxAllocator_t<T> >
87 template <
class ALLOC>
113 return reinterpret_cast<bool*
>(
ptr)[ndx];
120 return reinterpret_cast<const bool*
>(
ptr)[ndx];
146 #endif // not ATHCONTAINERS_AUXDATATRAITS_H
typename vector_type::pointer container_pointer_type
Pointers to the data within the container.
element_type & reference_type
Reference types returned by aux data accessors.
static reference_type index(void *ptr, size_t ndx)
Look up an element in the container by index.
std::allocator< T > AuxAllocator_t
The default allocator type to use for auxiliary variables.
const element_type & const_reference_type
static reference_type index(void *ptr, size_t ndx)
Look up an element in the container by index.
const element_type & const_reference_type
typename std::allocator_traits< ALLOC >::template rebind_alloc< char > allocator_type
Allocator type used to store this variable.
ALLOC allocator_type
Allocator type used to store this variable.
typename vector_type::const_pointer const_container_pointer_type
std::vector< T, allocator_type > vector_type
Container type used to store this variable.
typename vector_type::const_pointer const_container_pointer_type
static const_reference_type index(const void *ptr, size_t ndx)
Look up an element in the container by index.
Simplified version of the C++20 std::span.
static const_reference_type index(const void *ptr, size_t ndx)
Look up an element in the container by index.
std::vector< char, allocator_type > vector_type
Container type used to store this variable.
Simplified version of the C++20 std::span.
Allow customizing how aux data types are treated.
typename vector_type::value_type container_value_type
element_type & reference_type
Reference types returned by aux data accessors.
T element_type
The type the user sees.
typename vector_type::value_type container_value_type
bool element_type
The type the user sees.
typename vector_type::pointer container_pointer_type
Pointers to the data within the container.
setBGCode setTAP setLVL2ErrorBits bool
Helper to specialize how to make an initialized instance of T.
constexpr const char * auxAllocatorNamePrefix