EleFits  5.0.0
A modern C++ API on top of CFITSIO
Public Member Functions | 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

 HduIterator (MefFile &f, long index, HduFilter filter=HduCategory::Any)
 Constructor.
 
const THdu & operator* () const
 Dereference operator.
 
const THdu * operator-> () const
 Arrow operator.
 
const THdu & operator++ ()
 Increment operator.
 
const THdu * operator++ (int)
 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.)

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

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