ROOT 6.18/05 Reference Guide |
Encapsulates the columns defined by the user.
Definition at line 39 of file RBookedCustomColumns.hxx.
Public Member Functions | |
RBookedCustomColumns () | |
Creates a new wrapper with empty maps. More... | |
RBookedCustomColumns (const RBookedCustomColumns &)=default | |
Copy-ctor for RBookedCustomColumns. More... | |
RBookedCustomColumns (RBookedCustomColumns &&)=default | |
Move-ctor for RBookedCustomColumns. More... | |
RBookedCustomColumns (RCustomColumnBasePtrMapPtr_t customColumns, ColumnNamesPtr_t customColumnNames) | |
Creates the object starting from the provided maps. More... | |
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. More... | |
void | AddName (std::string_view name) |
Internally it recreates the map with the new column name, and swaps with the old one. More... | |
const RCustomColumnBasePtrMap_t & | GetColumns () const |
Returns the list of the pointers to the defined columns. More... | |
ColumnNames_t | GetNames () const |
Returns the list of the names of the defined columns. More... | |
bool | HasName (std::string_view name) const |
Check if the provided name is tracked in the names list. More... | |
RBookedCustomColumns & | operator= (const RBookedCustomColumns &)=default |
Copy-assignment operator for RBookedCustomColumns. More... | |
Private Types | |
using | ColumnNames_t = std::vector< std::string > |
using | ColumnNamesPtr_t = std::shared_ptr< const ColumnNames_t > |
using | RCustomColumnBasePtrMap_t = std::map< std::string, std::shared_ptr< RDFDetail::RCustomColumnBase > > |
using | RCustomColumnBasePtrMapPtr_t = std::shared_ptr< const RCustomColumnBasePtrMap_t > |
Private Attributes | |
RCustomColumnBasePtrMapPtr_t | fCustomColumns |
ColumnNamesPtr_t | fCustomColumnsNames |
#include <ROOT/RDF/RBookedCustomColumns.hxx>
|
private |
Definition at line 41 of file RBookedCustomColumns.hxx.
|
private |
Definition at line 45 of file RBookedCustomColumns.hxx.
|
private |
Definition at line 40 of file RBookedCustomColumns.hxx.
|
private |
Definition at line 44 of file RBookedCustomColumns.hxx.
|
default |
Copy-ctor for RBookedCustomColumns.
|
default |
Move-ctor for RBookedCustomColumns.
|
inline |
Creates the object starting from the provided maps.
Definition at line 66 of file RBookedCustomColumns.hxx.
|
inline |
Creates a new wrapper with empty maps.
Definition at line 73 of file RBookedCustomColumns.hxx.
void ROOT::Internal::RDF::RBookedCustomColumns::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.
Definition at line 13 of file RDFBookedCustomColumns.cxx.
void ROOT::Internal::RDF::RBookedCustomColumns::AddName | ( | std::string_view | name | ) |
Internally it recreates the map with the new column name, and swaps with the old one.
Definition at line 21 of file RDFBookedCustomColumns.cxx.
|
inline |
Returns the list of the pointers to the defined columns.
Definition at line 85 of file RBookedCustomColumns.hxx.
|
inline |
Returns the list of the names of the defined columns.
Definition at line 81 of file RBookedCustomColumns.hxx.
bool ROOT::Internal::RDF::RBookedCustomColumns::HasName | ( | std::string_view | name | ) | const |
Check if the provided name is tracked in the names list.
Definition at line 7 of file RDFBookedCustomColumns.cxx.
|
default |
Copy-assignment operator for RBookedCustomColumns.
|
private |
Definition at line 48 of file RBookedCustomColumns.hxx.
|
private |
Definition at line 49 of file RBookedCustomColumns.hxx.