EleFits  4.0.1
A modern C++ API on top of CFitsIO
Public Attributes | List of all members
Euclid::Fits::HduSelector< THdu > Class Template Reference

#include <HduIterator.h>

Class Description

template<typename THdu>
class 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.selectAs<ImageHdu>(HduCategory::ImageExt)) {
... // hdu is an image extension of type ImageHdu
}

Public Attributes

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

The documentation for this class was generated from the following file:
Euclid::Fits::HduCategory::ImageExt
static const HduCategory ImageExt
Image extension.
Definition: HduCategory.h:232