25 throw std::runtime_error(
"The type specified for the column \"col0\" is not ULong64_t.");
27 std::vector<void *> ret;
64 if (
fSize == std::numeric_limits<ULong64_t>::max()) {
67 std::vector<std::pair<ULong64_t, ULong64_t>> ranges(
fNSlots);
68 for (
auto &range : ranges) {
69 range = std::make_pair(currentEntry, currentEntry + 10);
91 assert(0U ==
fNSlots &&
"Setting the number of slots even if the number of slots is different from zero.");
100 if (
fSize == std::numeric_limits<ULong64_t>::max()) {
126 auto lm = std::make_unique<RDFDetail::RLoopManager>(std::make_unique<RTrivialDS>(
size, skipEvenEntries),
typedef void(GLAPIENTRYP _GLUfuncptr)(void)
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
unsigned long long ULong64_t
The public interface to the RDataFrame federation of classes.
std::string GetLabel()
Return a string representation of the datasource type.
std::vector< std::pair< ULong64_t, ULong64_t > > GetEntryRanges()
Return ranges of entries to distribute to tasks.
void Initialise()
Convenience method called before starting an event-loop.
std::vector< void * > GetColumnReadersImpl(std::string_view name, const std::type_info &)
type-erased vector of pointers to pointers to column values - one per slot
bool SetEntry(unsigned int slot, ULong64_t entry)
Advance the "cursors" returned by GetColumnReaders to the selected entry for a particular slot.
std::vector< std::pair< ULong64_t, ULong64_t > > fEntryRanges
bool HasColumn(std::string_view colName) const
Checks if the dataset has a certain column.
std::vector< ULong64_t * > fCounterAddr
std::vector< ULong64_t > fCounter
std::vector< std::string > fColNames
RTrivialDS()
This ctor produces a data-source that returns infinite entries.
const std::vector< std::string > & GetColumnNames() const
Returns a reference to the collection of the dataset's column names.
void SetNSlots(unsigned int nSlots)
Inform RDataSource of the number of processing slots (i.e.
std::string GetTypeName(std::string_view) const
Type of a column as a string, e.g.
std::vector< std::string > ColumnNames_t
RInterface< RDFDetail::RLoopManager > MakeTrivialDataFrame()
Make a RDF wrapping a RTrivialDS with infinite entries, for demo purposes.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
TSeq< unsigned long > TSeqUL
TSeq< unsigned int > TSeqU