EleFits  5.3.1
A modern C++ API on top of CFITSIO
Loading...
Searching...
No Matches
Related Functions | List of all members
HduIterator< THdu > Class Template Reference

#include <HduIterator.h>

Detailed Description

template<typename THdu = Hdu>
class Euclid::Fits::HduIterator< THdu >

Iterator for MefFile's HDUs.

Template Parameters
TCategoriesThe categories to be filtered
THduThe type of HDU class (iterator elements), can generally be unspecified (see details below)

If THdu is not specified, the following deduction rules are applied:

If this default value is not adequate, THdu can be specified.

Public Member Functions

Construction
 HduIterator (MefFile &f, long index, HduFilter filter=HduCategory::Any)
 Constructor.
 
Operations
const THdu & operator* () const
 Dereference operator.
 
const THdu * operator-> () const
 Arrow operator.
 
HduIteratoroperator++ ()
 Increment operator.
 
HduIterator operator++ (int) const
 New instance increment operator.
 
bool operator== (const HduIterator< THdu > &rhs) const
 Equality operator.
 
bool operator!= (const HduIterator< THdu > &rhs) const
 Non-equality operator.
 

Related Functions

(Note that these are not member functions.)

template<typename THdu = Hdu>
HduIterator< THdu > begin (HduSelector< THdu > &selector)
 Beginning of an iterator to loop over selected HDUs. More...
 
HduIterator begin (MefFile &f)
 Beginning of an iterator to loop over all HDUs as Hdus.
 
template<typename THdu = Hdu>
HduIterator< THdu > end (HduSelector< THdu > &selector)
 End of an iterator to loop over selected HDUs.
 
HduIterator end (MefFile &f)
 End of an iterator to loop over all HDUs as Hdus.
 

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