Alexandria 2.31.2
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Euclid::GridContainer::GridCellToTable< T, typename std::enable_if< std::is_arithmetic< T >::value >::type > Struct Template Reference

#include <GridContainerToTable.h>

Static Public Member Functions

static void addColumnDescriptions (const T &, std::vector< Table::ColumnDescription > &columns)
 
static void addCells (const T &c, std::vector< Table::Row::cell_type > &row)
 
static void addColumnDescriptions (const T &c, std::vector< Table::ColumnDescription > &columns)
 
static void addCells (const T &c, std::vector< Table::Row::cell_type > &row)
 

Detailed Description

template<typename T>
struct Euclid::GridContainer::GridCellToTable< T, typename std::enable_if< std::is_arithmetic< T >::value >::type >

Specialization for scalar types

Definition at line 90 of file GridContainerToTable.h.

Member Function Documentation

◆ addCells() [1/2]

static void Euclid::GridContainer::GridCellToTable< T, typename std::enable_if< std::is_arithmetic< T >::value >::type >::addCells ( const T & c,
std::vector< Table::Row::cell_type > & row )
static

Add the cell values into the row

Parameters
cA cell instance to be serialized
rowDestination row. New cells must be appended on the same order as the column descriptions.

◆ addCells() [2/2]

template<typename T>
static void Euclid::GridContainer::GridCellToTable< T, typename std::enable_if< std::is_arithmetic< T >::value >::type >::addCells ( const T & c,
std::vector< Table::Row::cell_type > & row )
inlinestatic

Definition at line 96 of file GridContainerToTable.h.

References std::vector< T >::emplace_back().

Here is the call graph for this function:

◆ addColumnDescriptions() [1/2]

template<typename T>
static void Euclid::GridContainer::GridCellToTable< T, typename std::enable_if< std::is_arithmetic< T >::value >::type >::addColumnDescriptions ( const T & ,
std::vector< Table::ColumnDescription > & columns )
inlinestatic

Definition at line 92 of file GridContainerToTable.h.

References std::vector< T >::emplace_back().

Here is the call graph for this function:

◆ addColumnDescriptions() [2/2]

static void Euclid::GridContainer::GridCellToTable< T, typename std::enable_if< std::is_arithmetic< T >::value >::type >::addColumnDescriptions ( const T & c,
std::vector< Table::ColumnDescription > & columns )
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)

Parameters
cA cell instance
columnsThe column description(s) for the cell type. New columns must be appended

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