ATLAS Offline Software
Loading...
Searching...
No Matches
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
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 }
const ToolColumnVectorMap * m_wrapper
Definition ToolWrapper.h:58

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: