EleFits  5.0.0
A modern C++ API on top of CFITSIO
Public Member Functions | Related Functions | List of all members
FitsFile Class Reference

#include <FitsFile.h>

Detailed Description

FITS file reader-writer.

Mostly en empty shell for file opening and closing operations; Useful services are in the SifFile and MefFile classes.

See also
File and HDU handlers

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.
 

The documentation for this class was generated from the following file: