Alexandria
2.19
Please provide a description of the project.
|
Go to the documentation of this file.
25 #ifndef _TABLE_FITSWRITER_H
26 #define _TABLE_FITSWRITER_H
29 #include <CCfits/FITS.h>
FitsWriter & setFormat(Format format)
Set the FITS table format.
std::shared_ptr< CCfits::FITS > m_fits
FitsWriter(const std::string &filename, bool override_flag=false)
Creates a FitsWriter that writes to a specific file.
FitsWriter & operator=(const FitsWriter &)=delete
void init(const Table &table) override
std::vector< std::string > m_comments
FitsWriter & setHduName(const std::string &name)
Set the HDU name where the table is written.
void addComment(const std::string &message) override
Adds a comment to the stream.
TableWriter implementation for writing tables in FITS format.
Format
The format of the HDUs a FitsWriter creates.
FitsWriter & operator=(FitsWriter &&)=default
Interface for classes writing tables.
virtual ~FitsWriter()=default
Destructor.
@ BINARY
FITS binary table HDU format.
@ ASCII
FITS ASCII table HDU format.
void append(const Table &table) override
FitsWriter(const FitsWriter &)=delete
FitsWriter(FitsWriter &&)=default