Alexandria 2.32.0
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Euclid::GridContainer::GridAxisFitsReader< GridType > Class Template Reference

Classes

struct  AxesTupleType
struct  AxesTupleType< I, typename std::enable_if< I==-1 >::type >

Static Public Member Functions

static AxesTupleType< GridType::axisNumber() -1 >::type readAllAxes (CCfits::FITS &fits, int hdu_index)

Private Types

template<int I>
using AxisType = typename std::remove_reference<decltype(std::declval<GridType>().template getAxis<I>())>::type
template<int I>
using GridAxisType = typename std::remove_reference<decltype(std::declval<GridType>().template getAxis<I>())>::type

Static Private Member Functions

template<int I>
static GridAxisType< I > readAxis (const std::string &grid_name, CCfits::ExtHDU &hdu)
template<int I>
static AxesTupleType< I >::type readAxesTuple (CCfits::FITS &fits, const std::string &grid_name, int hdu_index, const TemplateLoopCounter< I > &)
static std::tuple readAxesTuple (CCfits::FITS &, const std::string &, int, const TemplateLoopCounter<-1 > &)

Detailed Description

template<typename GridType>
class Euclid::GridContainer::GridAxisFitsReader< GridType >

Definition at line 161 of file FitsSerialize.icpp.

Member Typedef Documentation

◆ AxisType

template<typename GridType>
template<int I>
using Euclid::GridContainer::GridAxisFitsReader< GridType >::AxisType = typename std::remove_reference<decltype(std::declval<GridType>().template getAxis<I>())>::type
private

Definition at line 164 of file FitsSerialize.icpp.

◆ GridAxisType

template<typename GridType>
template<int I>
using Euclid::GridContainer::GridAxisFitsReader< GridType >::GridAxisType = typename std::remove_reference<decltype(std::declval<GridType>().template getAxis<I>())>::type
private

Definition at line 178 of file FitsSerialize.icpp.

Member Function Documentation

◆ readAllAxes()

template<typename GridType>
AxesTupleType< GridType::axisNumber() -1 >::type Euclid::GridContainer::GridAxisFitsReader< GridType >::readAllAxes ( CCfits::FITS & fits,
int hdu_index )
inlinestatic

Definition at line 213 of file FitsSerialize.icpp.

References readAxesTuple().

Referenced by Euclid::GridContainer::gridFitsImport().

Here is the call graph for this function:

◆ readAxesTuple() [1/2]

template<typename GridType>
std::tuple Euclid::GridContainer::GridAxisFitsReader< GridType >::readAxesTuple ( CCfits::FITS & ,
const std::string & ,
int ,
const TemplateLoopCounter<-1 > &  )
inlinestaticprivate

Definition at line 208 of file FitsSerialize.icpp.

◆ readAxesTuple() [2/2]

template<typename GridType>
template<int I>
AxesTupleType< I >::type Euclid::GridContainer::GridAxisFitsReader< GridType >::readAxesTuple ( CCfits::FITS & fits,
const std::string & grid_name,
int hdu_index,
const TemplateLoopCounter< I > &  )
inlinestaticprivate

Definition at line 201 of file FitsSerialize.icpp.

References std::move(), readAxesTuple(), readAxis(), and std::tuple_cat().

Referenced by readAllAxes(), and readAxesTuple().

Here is the call graph for this function:

◆ readAxis()

template<typename GridType>
template<int I>
GridAxisType< I > Euclid::GridContainer::GridAxisFitsReader< GridType >::readAxis ( const std::string & grid_name,
CCfits::ExtHDU & hdu )
inlinestaticprivate

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