28 #ifndef FITS_BINTABLE_H 29 #define FITS_BINTABLE_H 34 #include <casacore/casa/aips.h> 35 #include <casacore/fits/FITS/hdu.h> 36 #include <casacore/tables/Tables/Table.h> 37 #include <casacore/tables/Tables/TableRecord.h> 38 #include <casacore/casa/Containers/SimOrdMap.h>
Main interface class to a read/write table.
FITS::ValueType * vatypes_p
These are used by any VADesc columns.
const Table & nextRow()
Get a Table with a single row, the next row of the FITS table.
const Table & thisRow()
Get a Table with a single row, the current row of the FITS table.
const TableDesc & getDescriptor()
Get an appropriate TableDesc (this is the same TableDesc used to construct any Table objects returned...
helper class Note: Note that FitsField does not allocate space for the data; Space is external to Fi...
ValueType
FITS I/O Error message types.
create table (may not exist)
SimpleOrderedMap< Int, String > * colNames
This is a map from column number to column name.
Simple map with keys ordered.
Table * currRowTab
This is the Scratch table containing the current row.
Int * nelem
The number of elements for each column of the BinaryTableExtension.
Table fullTable()
This version of the fullTable return a Memory based table Its recommended if its being used as a temp...
bool Bool
Define the standard types used by Casacore.
TableRecord & getKeywords()
Return the Table keywords (this is the same TableRecord used in any Table objects returned by this cl...
BinaryTable is used to translate a FITS binary table to a Casacore Table.
void(* FITSErrorHandler)(const char *errMessage, FITSError::ErrorLevel severity)
Define a typedef for the handler function signature for convenience.
A hierarchical collection of named fields of various types.
void fillRow()
this is the function that fills each row in as needed
String: the storage and methods of handling collections of characters.
Define the structure of a Casacore table.
this file contains all the compiler specific defines
TableOption
Define the possible options how a table can be opened.
BinaryTable(FitsInput &, FITSErrorHandler errhandler=FITSError::defaultHandler, Bool useMiriadSM=False, Bool sdfits=False)
The only constructor is from a FitsInput, you can also optionally provide a FITS error handler...
static void defaultHandler(const char *errMessage, ErrorLevel severity)
The default error handler.