#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 | |
Construction | |
FitsFile (const std::string &filename, FileMode permission=FileMode::Read) | |
Create a new FITS file handler with given filename and permission. | |
virtual | ~FitsFile () |
Destroy the object and close the file. More... | |
Properties | |
std::string | filename () const |
Get the file name. | |
bool | is_open () const |
Check whether the file is open. | |
Data modifiers | |
void | reopen () |
Reopen the file. More... | |
virtual void | close () |
Close the file. More... | |
void | close_remove () |
Close and delete the file. | |
fitsfile * | handover_to_cfitsio () |
Get CFITSIO's fitsfile* . More... | |
Deprecated | |
bool | isOpen () const |
void | closeAndDelete () |
fitsfile * | handoverToCfitsio () |
Private Member Functions | |
virtual void | open (const std::string &filename, FileMode permission) |
Open a FITS file with given filename and permission. More... | |