#include <Primary.hxx>
Public Member Functions | |
Primary (const TableInfo &aInfo) | |
Constructor takes db schema mInfo as argument. | |
virtual | ~Primary () |
Destructor. | |
TableData< DataType > * | build (FitsFile &fpix, FitsFile &fcat, int fileNo) |
Implementation of build function for Primary tables. | |
Private Attributes | |
TableInfo | mInfo |
Implementation of DataBuilder for a table of type "Primary". This corresponds to data tables based on mInformation in primary FITS headers. One row per primary HDU per file
Constructor takes db schema mInfo as argument.
Destructor.
TableData<DataType>* Primary< DataType >::build | ( | FitsFile & | fpix, | |
FitsFile & | fcat, | |||
int | fileNo | |||
) | [inline, virtual] |
Implementation of build function for Primary tables.
Implements DataBuilder< DataType >.
References TableInfo::getNumAttributes(), insertFitsExtensionHeader(), insertFitsPrimaryHeader(), Primary< DataType >::mInfo, and FitsFile::movabsHdu().
Referenced by Primary< DataType >::build().