ATLAS Offline Software
Public Types | Static Public Attributes | List of all members
columnar::ContainerId::eventContext< 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::eventContext< CI >:
Collaboration diagram for columnar::ContainerId::eventContext< CI >:

Public Types

using xAODObjectIdType = const EventContext
 the xAOD type to use with ObjectId More...
 
using xAODObjectRangeType = const EventContext
 the xAOD type to use with ObjectRange More...
 
using xAODElementLinkType = EventContext
 the xAOD type to use with ElementLink More...
 

Static Public Attributes

static constexpr std::string_view idName = "eventContext"
 
static constexpr bool perEventRange = false
 
static constexpr bool perEventId = false
 
static constexpr bool isContainerId
 identify this as a container id definition More...
 
static constexpr bool regularObjectId
 whether to use the regular ObjectId/ObjectRange More...
 
static constexpr bool regularColumnAccessorArray
 whether to use a regular column accessor in array mode More...
 
static constexpr bool isMutable
 whether this is a non-const container More...
 

Detailed Description

template<typename CI>
struct columnar::ContainerId::eventContext< 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 158 of file ContainerId.h.

Member Typedef Documentation

◆ xAODElementLinkType

using columnar::ContainerId::regularCIBase< EventContext , EventContext >::xAODElementLinkType = EventContext
inherited

the xAOD type to use with ElementLink

Definition at line 133 of file ContainerId.h.

◆ xAODObjectIdType

using columnar::ContainerId::regularCIBase< EventContext , EventContext >::xAODObjectIdType = const EventContext
inherited

the xAOD type to use with ObjectId

Definition at line 127 of file ContainerId.h.

◆ xAODObjectRangeType

using columnar::ContainerId::regularCIBase< EventContext , EventContext >::xAODObjectRangeType = const EventContext
inherited

the xAOD type to use with ObjectRange

Definition at line 130 of file ContainerId.h.

Member Data Documentation

◆ idName

template<typename CI >
constexpr std::string_view columnar::ContainerId::eventContext< CI >::idName = "eventContext"
staticconstexpr

Definition at line 160 of file ContainerId.h.

◆ isContainerId

constexpr bool columnar::ContainerId::regularCIBase< EventContext , EventContext >::isContainerId
staticconstexprinherited

identify this as a container id definition

Definition at line 109 of file ContainerId.h.

◆ isMutable

constexpr bool columnar::ContainerId::regularCIBase< EventContext , EventContext >::isMutable
staticconstexprinherited

whether this is a non-const container

Definition at line 118 of file ContainerId.h.

◆ perEventId

template<typename CI >
constexpr bool columnar::ContainerId::eventContext< CI >::perEventId = false
staticconstexpr

Definition at line 165 of file ContainerId.h.

◆ perEventRange

template<typename CI >
constexpr bool columnar::ContainerId::eventContext< CI >::perEventRange = false
staticconstexpr

Definition at line 164 of file ContainerId.h.

◆ regularColumnAccessorArray

constexpr bool columnar::ContainerId::regularCIBase< EventContext , EventContext >::regularColumnAccessorArray
staticconstexprinherited

whether to use a regular column accessor in array mode

Definition at line 115 of file ContainerId.h.

◆ regularObjectId

constexpr bool columnar::ContainerId::regularCIBase< EventContext , EventContext >::regularObjectId
staticconstexprinherited

whether to use the regular ObjectId/ObjectRange

Definition at line 112 of file ContainerId.h.


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