ATLAS Offline Software
Loading...
Searching...
No Matches
SG::detail::LinkedVarAccessorBase Class Reference

Base class usable for accessors for variables with linked variables. More...

#include <LinkedVarAccessorBase.h>

Inheritance diagram for SG::detail::LinkedVarAccessorBase:
Collaboration diagram for SG::detail::LinkedVarAccessorBase:

Public Member Functions

template<class ELT>
requires (IsConstAuxElement<ELT>)
bool isAvailable (const ELT &e) const
 Test to see if this variable exists in the store.
bool isAvailable (const AuxVectorData &e) const
 Test to see if this variable exists in the store.
SG::auxid_t auxid () const
 Return the aux id for this variable.
SG::auxid_t linkedAuxid () const
 Return the aux id for the linked payload vector.

Protected Attributes

uint32_t m_linkedAuxid = 0
 The cached auxid for the linked payload vector.
uint32_t m_auxid = 0
 The cached auxid.

Detailed Description

Base class usable for accessors for variables with linked variables.

Definition at line 28 of file LinkedVarAccessorBase.h.

Member Function Documentation

◆ auxid()

SG::auxid_t SG::detail::LinkedVarAccessorBase::auxid ( ) const

Return the aux id for this variable.

◆ isAvailable() [1/2]

bool SG::detail::LinkedVarAccessorBase::isAvailable ( const AuxVectorData & e) const

Test to see if this variable exists in the store.

Parameters
cThe container in which to test the variable.

◆ isAvailable() [2/2]

template<class ELT>
requires (IsConstAuxElement<ELT>)
bool SG::detail::LinkedVarAccessorBase::isAvailable ( const ELT & e) const

Test to see if this variable exists in the store.

Parameters
eAn element of the container in which to test the variable.

◆ linkedAuxid()

SG::auxid_t SG::detail::LinkedVarAccessorBase::linkedAuxid ( ) const

Return the aux id for the linked payload vector.

Member Data Documentation

◆ m_auxid

uint32_t SG::detail::LinkedVarAccessorBase::m_auxid = 0
protected

The cached auxid.

Definition at line 66 of file LinkedVarAccessorBase.h.

◆ m_linkedAuxid

uint32_t SG::detail::LinkedVarAccessorBase::m_linkedAuxid = 0
protected

The cached auxid for the linked payload vector.

Definition at line 63 of file LinkedVarAccessorBase.h.


The documentation for this class was generated from the following file: