EleFits  5.3.0
A modern C++ API on top of CFITSIO
Loading...
Searching...
No Matches
Public Member Functions | List of all members
TemporarySifFile Class Reference

#include <FitsFileFixture.h>

Detailed Description

Temporary SifFile with random name.

Public Member Functions

 TemporarySifFile ()
 Constructor.
 
- Public Member Functions inherited from SifFile
 SifFile (const std::string &filename, FileMode permission=FileMode::Read)
 Create a new FITS file handler with given filename and permission. More...
 
virtual ~SifFile ()=default
 Destroy the object and close the file. More...
 
const Headerheader () const
 Access the header unit.
 
const ImageRasterraster () const
 Access the data unit.
 
template<typename TRaster >
void write (const RecordSeq &records, const TRaster &raster)
 Write both the records and the raster (resize the data unit if empty).
 
void verify_checksums () const
 Compute the HDU and data checksums and compare them to the values in the header. More...
 
void update_checksums () const
 Compute and write (or update) the HDU and data checksums. More...
 
template<typename TRaster >
void writeAll (const RecordSeq &records, const TRaster &raster)
 
void verifyChecksums () const
 
void updateChecksums () const
 
- Public Member Functions inherited from FitsFile
 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...
 
std::string filename () const
 Get the file name.
 
bool is_open () const
 Check whether the file is open.
 
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...
 
bool isOpen () const
 
void closeAndDelete ()
 
fitsfile * handoverToCfitsio ()
 

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