EleFits  5.3.0
A modern C++ API on top of CFITSIO
Loading...
Searching...
No Matches
Private Member 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

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...
 

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