Alexandria 2.32.0
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Euclid::GridContainer::GridToFitsHelper< 0, GridCellManager, Axes... > Struct Template Reference

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)

Detailed Description

template<typename GridCellManager, typename... Axes>
struct Euclid::GridContainer::GridToFitsHelper< 0, GridCellManager, Axes... >

Base class for the recursive traversal of the grid

Definition at line 91 of file GridContainerToTable.icpp.

Member Function Documentation

◆ addColumnDescriptions()

template<typename GridCellManager, typename... Axes>
void Euclid::GridContainer::GridToFitsHelper< 0, GridCellManager, Axes... >::addColumnDescriptions ( const GridContainer< GridCellManager, Axes... > & ,
std::vector< Table::ColumnDescription > &  )
inlinestatic

There are no more axis, so do nothing for the columns

Definition at line 95 of file GridContainerToTable.icpp.

◆ unfold()

template<typename GridCellManager, typename... Axes>
template<typename... Args>
void Euclid::GridContainer::GridToFitsHelper< 0, GridCellManager, Axes... >::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 )
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 >::begin(), std::vector< T >::emplace_back(), std::vector< T >::end(), std::reverse(), and Euclid::GridContainer::GridAxisToTable< T >::serialize().

Here is the call graph for this function:

The documentation for this struct was generated from the following file: