27 #ifndef ioutils_fits_fitsHeaderCard_hpp
28 #define ioutils_fits_fitsHeaderCard_hpp
30 #include "../../mxException.hpp"
64 int m_type{fitsType<fitsUnknownType>()};
116 const std::string &v,
117 const std::string &
c =
""
124 const std::string &v,
126 const std::string &
c =
""
162 template <
typename typeT>
165 const std::string &
c =
""
191 template <
typename typeT>
195 template <
typename typeT>
214 void keyword(
const std::string &kw );
225 void type(
const int &t );
235 template <
typename typeT>
263 unsigned char UChar();
317 unsigned long ULong();
374 void value(
const char *v );
379 void value(
const std::string &v );
384 void value(
const char &v );
389 void value(
const unsigned char &v );
394 void value(
const short int &v );
399 void value(
const unsigned short int &v );
404 void value(
const int &v );
409 void value(
const unsigned int &v );
414 void value(
const long &v );
419 void value(
const unsigned long int &v );
424 void value(
const long long &v );
429 void value(
const unsigned long long int &v );
434 void value(
const float &v );
439 void value(
const std::complex<float> &v );
444 void value(
const double &v );
449 void value(
const std::complex<double> &v );
451 std::string valueStr();
463 void comment(
const std::string &
c );
475 int write(fitsfile *fptr);
481 template <
typename typeT>
484 const std::string &
c)
Declares and defines utilities to work with FITS files.
constexpr units::realT c()
The speed of light.
constexpr units::realT k()
Boltzmann Constant.