#include <FitsFile.h>
FITS file reader-writer.
Mostly en empty shell for file opening and closing operations; Useful services are in the SifFile and MefFile classes.
Public Member Functions | |
FitsFile (const std::string &filename, FileMode permission) | |
Create a new FITS file handler with given filename and permission. | |
virtual | ~FitsFile () |
Destroy the object and close the file. More... | |
std::string | filename () const |
Get the file name. | |
bool | isOpen () const |
Check whether the file is open. | |
void | reopen () |
Reopen the file. More... | |
void | close () |
Close the file. More... | |
void | closeAndDelete () |
Close and delete the file. | |
fitsfile * | handoverToCfitsio () |
Get CFITSIO's fitsfile* . More... | |
Related Functions | |
(Note that these are not member functions.) | |
bool | fileExists (const std::string &filename) |
Check whether a file exists. | |