EleFits  4.0.1
A modern C++ API on top of CFitsIO

◆ readHeader()

std::string Euclid::Cfitsio::HeaderIo::readHeader ( fitsfile *  fptr,
bool  incNonValued = true 
)

Read the whole header as a string.

Parameters
fptrA pointer to the fitsfile object.
incNonValuedInclude non-valued records (COMMENT, HISTORY, blank).