ATLAS Offline Software
Loading...
Searching...
No Matches
columnar::ColumnAccessorDataArray Struct Referencefinal

all the data about a column accessor that the ColumnarTool needs to know about More...

#include <ColumnAccessorDataArray.h>

Collaboration diagram for columnar::ColumnAccessorDataArray:

Public Member Functions

 ColumnAccessorDataArray (unsigned *val_dataIndexPtr, std::unique_ptr< ColumnAccessorDataArray > *val_selfPtr, const std::type_info *val_type, ColumnAccessMode val_accessMode) noexcept
 initializing constructor
 ~ColumnAccessorDataArray () noexcept
 standard destructor

Public Attributes

unsigned * dataIndexPtr = nullptr
 a pointer to the index in the data vector
std::unique_ptr< ColumnAccessorDataArray > * selfPtr = nullptr
 a pointer to the smart pointer that holds this object
ColumnDataArraydataRef = nullptr
 the ColumnDataArray object that holds us
const std::type_info * type = nullptr
 the type of the column elements
ColumnAccessMode accessMode = {}
 the access mode for the column

Detailed Description

all the data about a column accessor that the ColumnarTool needs to know about

Definition at line 22 of file ColumnAccessorDataArray.h.

Constructor & Destructor Documentation

◆ ColumnAccessorDataArray()

columnar::ColumnAccessorDataArray::ColumnAccessorDataArray ( unsigned * val_dataIndexPtr,
std::unique_ptr< ColumnAccessorDataArray > * val_selfPtr,
const std::type_info * val_type,
ColumnAccessMode val_accessMode )
inlinenoexcept

initializing constructor

Definition at line 48 of file ColumnAccessorDataArray.h.

49 : dataIndexPtr (val_dataIndexPtr), selfPtr (val_selfPtr), type (val_type), accessMode (val_accessMode) {}
unsigned * dataIndexPtr
a pointer to the index in the data vector
const std::type_info * type
the type of the column elements
ColumnAccessMode accessMode
the access mode for the column
std::unique_ptr< ColumnAccessorDataArray > * selfPtr
a pointer to the smart pointer that holds this object

◆ ~ColumnAccessorDataArray()

columnar::ColumnAccessorDataArray::~ColumnAccessorDataArray ( )
noexcept

standard destructor

Definition at line 21 of file ColumnAccessorDataArray.cxx.

23 {
24 if (dataRef)
25 dataRef->removeAccessor (*this);
26 }
ColumnDataArray * dataRef
the ColumnDataArray object that holds us

Member Data Documentation

◆ accessMode

ColumnAccessMode columnar::ColumnAccessorDataArray::accessMode = {}

the access mode for the column

Definition at line 45 of file ColumnAccessorDataArray.h.

45{};

◆ dataIndexPtr

unsigned* columnar::ColumnAccessorDataArray::dataIndexPtr = nullptr

a pointer to the index in the data vector

This is needed to allow updating the index as needed, i.e. when the user sets an index or when tool gets assigned as a subtool to another tool.

Definition at line 29 of file ColumnAccessorDataArray.h.

◆ dataRef

ColumnDataArray* columnar::ColumnAccessorDataArray::dataRef = nullptr

the ColumnDataArray object that holds us

Definition at line 39 of file ColumnAccessorDataArray.h.

◆ selfPtr

std::unique_ptr<ColumnAccessorDataArray>* columnar::ColumnAccessorDataArray::selfPtr = nullptr

a pointer to the smart pointer that holds this object

This is to allow clearing out all the configuration data once the configuration is fixed, to release memory and other potential overheads.

Definition at line 36 of file ColumnAccessorDataArray.h.

◆ type

const std::type_info* columnar::ColumnAccessorDataArray::type = nullptr

the type of the column elements

Definition at line 42 of file ColumnAccessorDataArray.h.


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