2 #ifndef AFW_TABLE_IO_FitsSchemaInputMapper_h_INCLUDED 3 #define AFW_TABLE_IO_FitsSchemaInputMapper_h_INCLUDED 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);
193 #endif // !AFW_TABLE_IO_FitsSchemaInputMapper_h_INCLUDED
Defines the fields and offsets for a table.
FitsSchemaItem(int column_, int bit_)
FitsColumnReader() noexcept=default
A simple struct that combines the two arguments that must be passed to most cfitsio routines and cont...
A structure that describes a field as a collection of related strings read from the FITS header...
A base class for image defects.
FitsColumnReader & operator=(FitsColumnReader const &)=delete
Base class for all records.
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.
Polymorphic reader interface used to read different kinds of objects from one or more FITS binary tab...
virtual ~FitsColumnReader() noexcept=default
virtual void prepRead(std::size_t firstRow, std::size_t nRows, fits::Fits &fits)
Optionally read ahead and cache values from multiple rows.