Alexandria  2.27.0
SDC-CH common library for the Euclid project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Static Public Member Functions | Private Types | Static Private Member Functions | List of all members
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 157 of file FitsSerialize.icpp.

Member Typedef Documentation

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 160 of file FitsSerialize.icpp.

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 174 of file FitsSerialize.icpp.

Member Function Documentation

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

Definition at line 209 of file FitsSerialize.icpp.

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

template<typename GridType >
template<int I>
static 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 197 of file FitsSerialize.icpp.

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

Here is the call graph for this function:

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

Definition at line 204 of file FitsSerialize.icpp.

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

Definition at line 177 of file FitsSerialize.icpp.

References e, std::vector< T >::emplace_back(), Elements::Exception::message, std::move(), and std::string::size().

Here is the call graph for this function:


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