16 auto newCols = std::make_shared<RCustomColumnBasePtrMap_t>(
GetColumns());
17 (*newCols)[std::string(
name)] = column;
23 auto newColsNames = std::make_shared<ColumnNames_t>(
GetNames());
24 newColsNames->emplace_back(std::string(
name));
RCustomColumnBasePtrMapPtr_t fCustomColumns
void AddColumn(const std::shared_ptr< RDFDetail::RCustomColumnBase > &column, std::string_view name)
Internally it recreates the map with the new column, and swaps with the old one.
ColumnNames_t GetNames() const
Returns the list of the names of the defined columns.
ColumnNamesPtr_t fCustomColumnsNames
bool HasName(std::string_view name) const
Check if the provided name is tracked in the names list.
const RCustomColumnBasePtrMap_t & GetColumns() const
Returns the list of the pointers to the defined columns.
void AddName(std::string_view name)
Internally it recreates the map with the new column name, and swaps with the old one.
basic_string_view< char > string_view
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...