EleFits  5.0.0
A modern C++ API on top of CFITSIO

◆ filter()

HduSelector< THdu > filter ( const HduFilter categories = HduCategory::Any)

Get an iterable object which represents a filtered set of HDUs.

Returns
An iterable object, i.e. one for which begin() and end() functions are provided.
Example
for (const auto& hdu : f.filter<ImageHdu>(HduCategory::Created)) {
processNewImage(hdu);
}
static const HduCategory Created
HDU was created.
Definition: HduCategory.h:230
See also
HDU selectors and iterators