EleFits  5.3.0
A modern C++ API on top of CFITSIO
Loading...
Searching...
No Matches
Public Attributes | List of all members
HduSelector< THdu > Struct Template Reference

#include <HduIterator.h>

Detailed Description

template<typename THdu>
struct Euclid::Fits::HduSelector< THdu >

Helper class to provide filtered iterators.

Functions begin(HduSelector) and end(HduSelector) are provided, so that it is possible to loop over HDUs as follows:

MefFile f(...);
for (const auto& hdu : f.filter<ImageHdu>(HduCategory::ImageExt)) {
... // hdu is an image extension of type ImageHdu
}
static const HduCategory ImageExt
Image extension.
Definition: HduCategory.h:242
Image HDU reader-writer.
Definition: ImageHdu.h:45
Multi-Extension FITS file reader-writer.
Definition: MefFile.h:84

Public Attributes

HduFilter filter
 The HDU filter to be applied.
 
MefFilemef
 The MefFile to apply the selector on.
 

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