#include <climits>
#include <string>
#include <boost/format.hpp>
#include "lsst/base.h"
#include "lsst/pex/exceptions.h"
#include "lsst/daf/base.h"
#include "ndarray.h"
Go to the source code of this file.
|
| #define | LSST_FITS_EXCEPT(type, fitsObj, ...) type(LSST_EXCEPT_HERE, lsst::afw::fits::makeErrorMessage((fitsObj).fptr, (fitsObj).status, __VA_ARGS__)) |
| | A FITS-related replacement for LSST_EXCEPT that takes an additional Fits object and uses makeErrorMessage(fitsObj.fptr, fitsObj.status, ...) to construct the message. More...
|
| |
| #define | LSST_FITS_CHECK_STATUS(fitsObj, ...) if ((fitsObj).status != 0) throw LSST_FITS_EXCEPT(lsst::afw::fits::FitsError, fitsObj, __VA_ARGS__) |
| | Throw a FitsError exception if the status of the given Fits object is nonzero. More...
|
| |
|
| std::string | lsst::afw::fits::makeErrorMessage (std::string const &fileName="", int status=0, std::string const &msg="") |
| | Return an error message reflecting FITS I/O errors. More...
|
| |
| std::string | lsst::afw::fits::makeErrorMessage (std::string const &fileName, int status, boost::format const &msg) |
| |
| std::string | lsst::afw::fits::makeErrorMessage (void *fptr, int status=0, std::string const &msg="") |
| | Return an error message reflecting FITS I/O errors. More...
|
| |
| std::string | lsst::afw::fits::makeErrorMessage (void *fptr, int status, boost::format const &msg) |
| |
| template<typename T > |
| int | lsst::afw::fits::getBitPix () |
| | Return the cfitsio integer BITPIX code for the given data type. More...
|
| |
| std::shared_ptr< daf::base::PropertyList > | lsst::afw::fits::readMetadata (std::string const &fileName, int hdu=INT_MIN, bool strip=false) |
| | Read FITS header. More...
|
| |
| std::shared_ptr< daf::base::PropertyList > | lsst::afw::fits::readMetadata (fits::MemFileManager &manager, int hdu=INT_MIN, bool strip=false) |
| | Read FITS header. More...
|
| |
| std::shared_ptr< daf::base::PropertyList > | lsst::afw::fits::readMetadata (fits::Fits &fitsfile, bool strip=false) |
| | Read FITS header. More...
|
| |
◆ LSST_FITS_CHECK_STATUS
Throw a FitsError exception if the status of the given Fits object is nonzero.
Definition at line 90 of file fits.h.
◆ LSST_FITS_EXCEPT
A FITS-related replacement for LSST_EXCEPT that takes an additional Fits object and uses makeErrorMessage(fitsObj.fptr, fitsObj.status, ...) to construct the message.
Definition at line 84 of file fits.h.