![]() |
ATLAS Offline Software
|
a class that holds the columnar data for a single call More...
#include <ColumnVectorWrapper.h>
Public Member Functions | |
ColumnVectorData (const ColumnVectorHeader *val_header) | |
standard constructor More... | |
template<typename CT > | |
void | setColumn (std::size_t columnIndex, std::size_t size, CT *dataPtr) |
set the data for the given column More... | |
void | setColumnVoid (std::size_t columnIndex, std::size_t size, const void *dataPtr, const std::type_info &type, bool isConst) |
template<typename CT > | |
std::pair< std::size_t, CT * > | getColumn (std::size_t columnIndex) |
get the data for the given column More... | |
std::pair< std::size_t, const void * > | getColumnVoid (std::size_t columnIndex, const std::type_info *type, bool isConst) |
void | checkData () const |
do a basic check of the data vector More... | |
void | callNoCheck (const IColumnarTool &tool) |
call the tool with the assembled data, without performing any checks on the data More... | |
Private Attributes | |
const ColumnVectorHeader * | m_header = nullptr |
std::vector< void * > | m_data |
std::vector< std::size_t > | m_dataSize |
a class that holds the columnar data for a single call
This manages the data pointer and makes sure the data is set and retrieved in a consistent manner to the header information.
Definition at line 157 of file ColumnVectorWrapper.h.
|
explicit |
void columnar::ColumnVectorData::callNoCheck | ( | const IColumnarTool & | tool | ) |
call the tool with the assembled data, without performing any checks on the data
Definition at line 260 of file ColumnVectorWrapper.cxx.
|
inline |
do a basic check of the data vector
Definition at line 192 of file ColumnVectorWrapper.h.
|
inline |
get the data for the given column
Definition at line 179 of file ColumnVectorWrapper.h.
std::pair< std::size_t, const void * > columnar::ColumnVectorData::getColumnVoid | ( | std::size_t | columnIndex, |
const std::type_info * | type, | ||
bool | isConst | ||
) |
Definition at line 241 of file ColumnVectorWrapper.cxx.
|
inline |
void columnar::ColumnVectorData::setColumnVoid | ( | std::size_t | columnIndex, |
std::size_t | size, | ||
const void * | dataPtr, | ||
const std::type_info & | type, | ||
bool | isConst | ||
) |
Definition at line 207 of file ColumnVectorWrapper.cxx.
|
private |
Definition at line 206 of file ColumnVectorWrapper.h.
|
private |
Definition at line 207 of file ColumnVectorWrapper.h.
|
private |
Definition at line 205 of file ColumnVectorWrapper.h.