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