28 #ifndef FITS_BINTABLE_H
29 #define FITS_BINTABLE_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)
void(* FITSErrorHandler)(const char *errMessage, FITSError::ErrorLevel severity)
Define a typedef for the handler function signature for convenience.
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.
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.
std::map< Int, String > * colNames
This is a map from column number to column name.
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.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.