Alexandria 2.31.0
SDC-CH common library for the Euclid project
|
#include <GridContainerToTable.h>
Static Public Member Functions | |
static void | addColumnDescriptions (const T &c, std::vector< Table::ColumnDescription > &columns) |
static void | addCells (const T &c, std::vector< Table::Row::cell_type > &row) |
Trait used to map the grid cell type into an Alexandria's table set of cells.
T | Type to be mapped |
Definition at line 63 of file GridContainerToTable.h.
|
static |
Add the cell values into the row
c | A cell instance to be serialized |
row | Destination row. New cells must be appended on the same order as the column descriptions. |
|
static |
Get the column descriptions of the values of the cell. The element passed will be one reference cell from the grid (i.e. the first one)
c | A cell instance |
columns | The column description(s) for the cell type. New columns must be appended |