2#ifndef AFW_TABLE_IO_FitsSchemaInputMapper_h_INCLUDED
3#define AFW_TABLE_IO_FitsSchemaInputMapper_h_INCLUDED
42 virtual
void prepRead(
std::
size_t firstRow,
std::
size_t nRows, fits::Fits & fits) {}
71 explicit FitsSchemaItem(
int column_,
int bit_) : column(column_), bit(bit_) {}
131 bool hasArchive()
const;
147 Item const *find(
int column)
const;
153 void erase(
Item const *item);
165 void erase(
int column);
A simple struct that combines the two arguments that must be passed to most cfitsio routines and cont...
Base class for all records.
Defines the fields and offsets for a table.
Polymorphic reader interface used to read different kinds of objects from one or more FITS binary tab...
FitsColumnReader() noexcept=default
virtual ~FitsColumnReader() noexcept=default
virtual void readCell(BaseRecord &record, std::size_t row, fits::Fits &fits, std::shared_ptr< InputArchive > const &archive) const =0
Read values from a single row.
virtual void prepRead(std::size_t firstRow, std::size_t nRows, fits::Fits &fits)
Optionally read ahead and cache values from multiple rows.
A structure that describes a field as a collection of related strings read from the FITS header.
FitsSchemaItem(int column_, int bit_)