|
ATLAS Offline Software
|
Go to the documentation of this file.
17 #ifndef ATHCONTAINERS_ACCESSOR_H
18 #define ATHCONTAINERS_ACCESSOR_H
65 template <
class T,
class ALLOC = AuxAllocator_t<T> >
182 #include "AthContainers/Accessor.icc"
185 #endif // not ATHCONTAINERS_ACCESSOR_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.
void set(ELT &e, const element_type &x) const
Set the variable for one element.
Flag that a class may have auxiliary data associated with it.
Helper class to provide type-safe access to aux data.
SG::auxid_t auxid() const
Return the aux id for this variable.
Accessor(const std::string &name, const std::string &clsname)
Constructor.
#define ATH_REQUIRES(...)
Helper class to provide constant type-safe access to aux data.
bool const RAWDATA *ch2 const
Accessor(const std::string &name)
Constructor.
Simplified version of the C++20 std::span.
span getDataSpan(AuxVectorData &container) const
Get a span over the auxilary data array.
typename AuxDataTraits< ATYPE1, AuxAllocator_t< ATYPE1 > >::container_pointer_type container_pointer_type
Pointer into the container holding this item.
size_t auxid_t
Identifier for a particular aux data item.
Accessor(const SG::auxid_t auxid)
Constructor taking an auxid directly.
typename AuxDataTraits< ATYPE1, AuxAllocator_t< ATYPE1 > >::reference_type reference_type
Type referencing an item.
Manage lookup of vectors of auxiliary data.
typename AuxDataTraits< ATYPE1, AuxAllocator_t< ATYPE1 > >::element_type element_type
Type the user sees.
T element_type
The type the user sees.
container_pointer_type getDataArray(AuxVectorData &container) const
Get a pointer to the start of the auxiliary data array.
typename AuxDataTraits< ATYPE1, AuxAllocator_t< ATYPE1 > >::span span
A span over elements in the container.
Basic definitions for auxiliary types.
bool isAvailableWritable(ELT &e) const
Test to see if this variable exists in the store and is writable.
Handle mappings between names and auxid_t.
Manage lookup of vectors of auxiliary data.
Helper class to provide constant type-safe access to aux data.