ATLAS Offline Software
Loading...
Searching...
No Matches
columnar::ContainerId::mutableCI< CI > Struct Template Reference

a template to define a mutable version of a given container id More...

#include <ContainerId.h>

Inheritance diagram for columnar::ContainerId::mutableCI< CI >:
Collaboration diagram for columnar::ContainerId::mutableCI< CI >:

Public Types

using constId = CI
using xAODObjectIdType = std::remove_const_t<typename CI::xAODObjectIdType>
 the xAOD type to use with ObjectId
using xAODObjectRangeType = std::remove_const_t<typename CI::xAODObjectRangeType>
 the xAOD type to use with ObjectRange

Static Public Attributes

static constexpr bool isMutable = true

Detailed Description

template<typename CI>
requires (CI::isContainerId && CI::regularObjectId)
struct columnar::ContainerId::mutableCI< CI >

a template to define a mutable version of a given container id

By default all xAOD objects will be held by const references, but some tools expect to have non-const access (usually to call xAOD-only code). This needs a separate mutable container id, and this template allows to define one with a simple using statement.

Definition at line 145 of file ContainerId.h.

Member Typedef Documentation

◆ constId

template<typename CI>
using columnar::ContainerId::mutableCI< CI >::constId = CI

Definition at line 148 of file ContainerId.h.

◆ xAODObjectIdType

template<typename CI>
using columnar::ContainerId::mutableCI< CI >::xAODObjectIdType = std::remove_const_t<typename CI::xAODObjectIdType>

the xAOD type to use with ObjectId

Definition at line 151 of file ContainerId.h.

◆ xAODObjectRangeType

template<typename CI>
using columnar::ContainerId::mutableCI< CI >::xAODObjectRangeType = std::remove_const_t<typename CI::xAODObjectRangeType>

the xAOD type to use with ObjectRange

Definition at line 154 of file ContainerId.h.

Member Data Documentation

◆ isMutable

template<typename CI>
bool columnar::ContainerId::mutableCI< CI >::isMutable = true
staticconstexpr

Definition at line 147 of file ContainerId.h.


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