ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
columnar::TestUtils::ToolWrapperData Class Reference

a class that holds a reference to a ToolColumnVectorMap and a ColumnVectorData More...

#include <ToolWrapper.h>

Collaboration diagram for columnar::TestUtils::ToolWrapperData:

Public Member Functions

 ToolWrapperData (ColumnVectorData *val_columnData, const ToolColumnVectorMap *val_wrapper) noexcept
 constructor: wrap the given tool More...
 
template<typename CT >
void setColumn (const std::string &name, std::size_t size, CT *dataPtr)
 

Private Attributes

const ToolColumnVectorMapm_wrapper = nullptr
 
ColumnVectorDatam_columnData = nullptr
 

Detailed Description

a class that holds a reference to a ToolColumnVectorMap and a ColumnVectorData

This is at this point only used for the PHYSLITE test, which is build around having this class, but it in essense just wraps two pointers and forwards to them.

Definition at line 35 of file ToolWrapper.h.

Constructor & Destructor Documentation

◆ ToolWrapperData()

columnar::TestUtils::ToolWrapperData::ToolWrapperData ( ColumnVectorData val_columnData,
const ToolColumnVectorMap val_wrapper 
)
explicitnoexcept

constructor: wrap the given tool

Public Members

Definition at line 33 of file ToolWrapper.cxx.

35  : m_wrapper (val_wrapper), m_columnData (val_columnData)
36  {
37  }

Member Function Documentation

◆ setColumn()

template<typename CT >
void columnar::TestUtils::ToolWrapperData::setColumn ( const std::string &  name,
std::size_t  size,
CT dataPtr 
)
inline

Definition at line 47 of file ToolWrapper.h.

47  {
48  m_wrapper->setColumn (*m_columnData, name, size, dataPtr);
49  }

Member Data Documentation

◆ m_columnData

ColumnVectorData* columnar::TestUtils::ToolWrapperData::m_columnData = nullptr
private

Definition at line 60 of file ToolWrapper.h.

◆ m_wrapper

const ToolColumnVectorMap* columnar::TestUtils::ToolWrapperData::m_wrapper = nullptr
private

Private Members

Definition at line 58 of file ToolWrapper.h.


The documentation for this class was generated from the following files:
columnar::TestUtils::ToolWrapperData::m_wrapper
const ToolColumnVectorMap * m_wrapper
Definition: ToolWrapper.h:58
columnar::ToolColumnVectorMap::setColumn
void setColumn(ColumnVectorData &columnData, const std::string &name, std::size_t size, CT *dataPtr) const
set the data for the given column picking up the type via a template
Definition: ToolColumnVectorMap.h:79
columnar::TestUtils::ToolWrapperData::m_columnData
ColumnVectorData * m_columnData
Definition: ToolWrapper.h:60
columnar::size
std::size_t size() const noexcept
Definition: ObjectRange.h:166
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240