ATLAS Offline Software
Public Member Functions | Protected Attributes | List of all members
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. More...
 
bool isAvailable (const AuxVectorData &e) const
 Test to see if this variable exists in the store. More...
 
SG::auxid_t auxid () const
 Return the aux id for this variable. More...
 
SG::auxid_t linkedAuxid () const
 Return the aux id for the linked payload vector. More...
 

Protected Attributes

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

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()

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.

◆ linkedAuxid()

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

Return the aux id for the linked payload vector.

◆ requires()

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

Test to see if this variable exists in the store.

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

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: