Alexandria 2.31.4
SDC-CH common library for the Euclid project
|
Static Public Member Functions | |
static void | addColumnDescriptions (const GridContainer< GridCellManager, Axes... > &, std::vector< Table::ColumnDescription > &) |
template<typename... Args> | |
static void | unfold (const GridContainer< GridCellManager, Axes... > &grid, const std::shared_ptr< Table::ColumnInfo > &column_info, std::vector< Table::Row > &rows, std::pair< size_t, Args >... axes) |
static void | addColumnDescriptions (const GridContainer< GridCellManager, Axes... > &grid, std::vector< Table::ColumnDescription > &description) |
static void | unfold (const GridContainer< GridCellManager, Axes... > &grid, const std::shared_ptr< Table::ColumnInfo > &column_info, std::vector< Table::Row > &rows, std::pair< size_t, Args >... axes) |
static void | unfold (const GridContainer< GridCellManager, Axes... > &grid, const std::shared_ptr< Table::ColumnInfo > &column_info, std::vector< Table::Row > &rows) |
Base class for the recursive traversal of the grid
Definition at line 91 of file GridContainerToTable.icpp.
|
inlinestatic |
There are no more axis, so do nothing for the columns
Definition at line 95 of file GridContainerToTable.icpp.
|
inlinestatic |
Generate recursively the column description for each knot on the grid. The order on the tuples is reversed, so the 0th tuple element is inserted on the last position.
grid | An instance of a grid |
description | A vector where to emplace the description |
Definition at line 42 of file GridContainerToTable.icpp.
|
inlinestatic |
Same as before, but without the book-keeping data, since this is the entry point
Definition at line 78 of file GridContainerToTable.icpp.
|
inlinestatic |
Iterate over the elements of the (I-1)th axis, and for each one call recursively unfold on the next axis.
Args | Used to keep track of the types of the knots of the previous axes |
grid | An instance of a grid |
column_info | As populated by getColumnDescriptions |
rows | Grid cells will be inserted on this vector |
axes | Used to keep track of the values of the knots of the previous axis |
Definition at line 67 of file GridContainerToTable.icpp.
|
inlinestatic |
Insert into the row vector the cell value plus the axes values that brought us here
Definition at line 101 of file GridContainerToTable.icpp.
References Euclid::GridContainer::GridCellToTable< T, Enable >::addCells(), std::vector< T >::emplace_back(), std::reverse(), and Euclid::GridContainer::GridAxisToTable< T >::serialize().