8#ifndef COLUMNAR_CORE_COLUMNAR_TOOL_DATA_ARRAY_H
9#define COLUMNAR_CORE_COLUMNAR_TOOL_DATA_ARRAY_H
45 void setIndex (
unsigned val_index) noexcept;
63 return std::hash<std::string_view>{}(sv);
82 std::unordered_map<std::string,ColumnDataArray>
columns;
all the data about a column accessor that the ColumnarTool needs to know about
ColumnDataArray() noexcept=default
standard constructor
std::vector< ColumnAccessorDataArray * > m_accessors
the data on all accessors for this column
const ColumnInfo & info() const noexcept
get the column info
void mergeData(const std::string &name, ColumnDataArray &&other)
merge the data from another column
ColumnInfo m_info
the column info
void setIndex(unsigned val_index) noexcept
set the index for this column
void addAccessor(const std::string &name, const ColumnInfo &val_info, ColumnAccessorDataArray *val_accessorData)
add an info to the column
bool empty() const noexcept
whether this column has no associated accessors
void removeAccessor(ColumnAccessorDataArray &val_accessorData)
remove an accessor data object
a struct that contains meta-information about each column that's needed to interface the column with ...