ATLAS Offline Software
Loading...
Searching...
No Matches
PackedLinkDecorator.h File Reference

Helper class to provide type-safe access to aux data, specialized for PackedLink. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  SG
 Forward declaration.

Typedefs

using SG::const_span
 Helper class to provide constant type-safe access to aux data, specialized for a vector of PackedLink.
using SG::elt_span = detail::ELSpanProxy<CONT, VALLOC>
 Presents a vector of PackedLink as a range of ElementLink proxies.
using SG::ELSpanConverter = detail::ELSpanConverter<CONT, VALLOC>
 Transform a span over vector of PackedLink to a span over span over ElementLink proxies.
using SG::span
using SG::element_type = elt_span
 Type the user sees.
using SG::reference_type = elt_span
 Type referencing an item.
using SG::container_pointer_type = void
 Not supported.
using SG::const_container_pointer_type = void

Functions

 SG::Decorator (const std::string &name)
 Helper class to provide type-safe access to aux data.
 SG::Decorator (const std::string &name, const std::string &clsname)
 Constructor.
 SG::Decorator (const SG::auxid_t auxid)
 Constructor taking an auxid directly.
template<IsConstAuxElement ELT>
ELProxy SG::operator() (const ELT &e) const
 Fetch the variable for one element.
reference_type SG::operator() (const AuxVectorData &container, size_t index) const
 Fetch the variable for one element, as a non-const reference.
template<IsConstAuxElement ELT>
void SG::set (const ELT &e, const element_type &x) const
 Set the variable for one element.
void SG::set (const AuxVectorData &container, size_t index, const Link_t &x) const
 Set the variable for one element.
const PLink_t * SG::getPackedLinkArray (const AuxVectorData &container) const
 Get a pointer to the start of the array of PackedLinks.
const DLink_t * SG::getDataLinkArray (const AuxVectorData &container) const
 Get a pointer to the start of the linked array of DataLinks.
PLink_t * SG::getPackedLinkDecorArray (const AuxVectorData &container) const
 Get a pointer to the start of the array of PackedLinks, as a decoration.
DLink_t * SG::getDataLinkDecorArray (const AuxVectorData &container) const
 Get a pointer to the start of the linked array of DataLinks, as a decoration.
const_PackedLink_span SG::getPackedLinkSpan (const AuxVectorData &container) const
 Get a span over the array of PackedLinks.
const_DataLink_span SG::getDataLinkSpan (const AuxVectorData &container) const
 Get a span over the array of DataLinks.
const_span SG::getDataSpan (const AuxVectorData &container) const
 Get a span over the auxiliary data array.
PackedLink_span SG::getPackedLinkDecorSpan (const AuxVectorData &container) const
 Get a span over the array of PackedLinks, as a decoration.
DataLink_span SG::getDataLinkDecorSpan (const AuxVectorData &container) const
 Get a span over the array of DataLinks, as a decoration.
span SG::getDecorationSpan (const AuxVectorData &container) const
 Get a span over the auxiliary data array.
template<IsConstAuxElement ELT>
bool SG::isAvailableWritable (const ELT &e) const
 Test to see if this variable exists in the store and is writable.
bool SG::isAvailableWritable (const AuxVectorData &c) const
 Test to see if this variable exists in the store and is writable.
 SG::Decorator (const std::string &name, const std::string &clsname, const SG::AuxVarFlags flags)
 Constructor.
template<IsConstAuxElement ELT>
elt_span SG::operator() (const ELT &e) const
 Fetch the variable for one element.
template<IsConstAuxElement ELT, detail::ElementLinkRange< CONT > RANGE>
void SG::set (const ELT &e, const RANGE &x) const
 Set the variable for one element.
template<detail::ElementLinkRange< CONT > RANGE>
void SG::set (const AuxVectorData &container, size_t index, const RANGE &r) const
 Set the variable for one element.
const VElt_t * SG::getPackedLinkVectorArray (const AuxVectorData &container) const
 Get a pointer to the start of the array of vectors of PackedLinks.
VElt_t * SG::getPackedLinkVectorDecorArray (const AuxVectorData &container) const
 Get a pointer to the start of the array of vectors of PackedLinks, as a decoration.
template<IsConstAuxElement ELT>
const_PackedLink_span SG::getPackedLinkSpan (const ELT &e) const
 Get a span over the vector of PackedLinks for a given element.
const_PackedLink_span SG::getPackedLinkSpan (const AuxVectorData &container, size_t index) const
 Get a span over the vector of PackedLinks for a given element.
PackedLink_span SG::getPackedLinkSpan (AuxVectorData &container, size_t index) const
 Get a span over the vector of PackedLinks for a given element.
const_PackedLinkVector_span SG::getPackedLinkVectorSpan (const AuxVectorData &container) const
 Get a span over the vectors of PackedLinks.
template<IsConstAuxElement ELT>
PackedLink_span SG::getPackedLinkDecorSpan (const ELT &e) const
 Get a span over the vector of PackedLinks for a given element, as a decoration.
PackedLink_span SG::getPackedLinkDecorSpan (const AuxVectorData &container, size_t index) const
 Get a span over the vector of PackedLinks for a given element, as a decoration.
PackedLinkVector_span SG::getPackedLinkVectorDecorSpan (const AuxVectorData &container) const
 Get a span over the vectors of PackedLinks, as a decoration.

Detailed Description

Helper class to provide type-safe access to aux data, specialized for PackedLink.

Author
scott snyder snyde.nosp@m.r@bn.nosp@m.l.gov
Date
Nov, 2023

Definition in file PackedLinkDecorator.h.