Alexandria
2.16
Please provide a description of the project.
|
Go to the documentation of this file.
25 #ifndef _TABLE_FITSREADER_H
26 #define _TABLE_FITSREADER_H
29 #include <CCfits/CCfits>
147 void skip(
long rows)
override;
const ColumnInfo & getInfo() override
Returns the column information of the table.
std::reference_wrapper< const CCfits::HDU > m_hdu
std::string getComment() override
Table readImpl(long rows) override
Implements the TableReader::readImpl() contract.
virtual ~FitsReader()=default
Destructor.
FitsReader & fixColumnNames(std::vector< std::string > column_names)
Overrides the column names of the table.
FitsReader(const CCfits::HDU &hdu)
Creates a FitsReader that reads from the given HDU.
Provides information about the columns of a Table.
std::size_t rowsLeft() override
Implements the TableReader::rowsLeft() contract.
FitsReader(const FitsReader &)=delete
std::unique_ptr< CCfits::FITS > m_fits
FitsReader(FitsReader &&)=default
FitsReader & operator=(FitsReader &&)=default
std::vector< std::string > m_column_names
TableReader implementation for reading FITS tables.
Interface for classes reading tables.
FitsReader & operator=(const FitsReader &)=delete
bool hasMoreRows() override
Implements the TableReader::hasMoreRows() contract.
std::shared_ptr< ColumnInfo > m_column_info
void skip(long rows) override
Implements the TableReader::skip() contract.