EleFits  5.3.0
A modern C++ API on top of CFITSIO
Loading...
Searching...
No Matches

◆ filter()

HduSelector< T > 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)) {
process_new_image(hdu);
}
static const HduCategory Created
HDU was created.
Definition: HduCategory.h:252
Image HDU reader-writer.
Definition: ImageHdu.h:45
See also
HDU selectors and iterators