29 #ifndef CALIBRATION_CALTABLE2_H
30 #define CALIBRATION_CALTABLE2_H
casacore::Record getRowDesc(const casacore::Int &jrow)
void addRow(uInt nrrow=1, Bool initialize=False)
Add one or more rows at the end of the table.
virtual casacore::Int maxAntenna()
Return the maximum antenna number in the table.
void putRowDesc(const casacore::Int &jrow, CalDescRecord &tableRec)
void openCalTable(const casacore::String &tableName, casacore::Table::TableOption access=casacore::Table::Old)
Open an existing table.
CalTable2 select(const casacore::String &calSelect)
Apply selection to the calibration table.
void addRowMain(casacore::uInt nrrow=1, casacore::Bool initialize=false)
Add rows to cal_main, cal_desc or cal_history.
Main interface class to a read/write table.
void putRowMain(const casacore::Int &jrow, CalMainRecord &tableRec)
Put a row to cal_main, cal_desc or cal_history.
void createCalTable(const casacore::String &tableName, CalTableDesc2 &ctableDesc, casacore::Table::TableOption access=casacore::Table::New)
Create a new table.
casacore::Table * itsMainTable
Pointer to underlying cal_main casacore::Table object.
ROCalHistoryColumns: Read-only cal_history calibration table column access.
Order
Enumerate the sort order:
casacore::Table * itsDescTable
Pointers to the cal_desc and cal_history sub-tables.
CalTable: Calibration table access and creation.
CalDescRecord: Cal_desc table record access and creation.
CalTable2 sort(const casacore::Block< casacore::String > &columnNames, casacore::Sort::Order order=casacore::Sort::Ascending, casacore::Sort::Option option=casacore::Sort::HeapSort)
casacore::Sort (cal_main)
casacore::Table & calMainAsTable()
Return cal_main and sub-tables as casacore::Table references.
void sort2(const casacore::Block< casacore::String > &columnNames, casacore::Sort::Order order=casacore::Sort::Ascending, casacore::Sort::Option option=casacore::Sort::HeapSort)
casacore::Sort (cal_main) IN PLACE
CalTable2 & operator=(const CalTable2 &other)
Assignment operator.
CalHistoryRecord: Cal_ table record access and creation.
casacore::Int nRowMain() const
Return number of rows in cal_main, cal_desc or cal_history.
Option
Enumerate the sort options:
CalTable2()
Default null constructor, and destructor.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
CalMainRecord: Calibration table record access and creation.
void select2(const casacore::String &calSelect)
Apply selection to the calibration table IN PLACE.
void putRowHistory(const casacore::Int &jrow, CalHistoryRecord &tableRec)
casacore::Table & calDescAsTable()
const casacore::Table & calMainAsTable() const
casacore::Record getRowHistory(const casacore::Int &jrow)
casacore::Record getRowMain(const casacore::Int &jrow)
Get a row from cal_main, cal_desc or cal_history.
casacore::Int nRowHistory() const
String: the storage and methods of handling collections of characters.
CalHistoryColumns: Read-write cal_history calibration table column access.
casacore::Int numberTimeSlots(const casacore::Double &fracError)
Return the number of unique time slots in the table.
casacore::Int nRowDesc() const
void addRowHistory(casacore::uInt nrrow=1, casacore::Bool initialize=false)
casacore::Table & calHistoryAsTable()
casacore::Table * itsHistoryTable
void addRowDesc(casacore::uInt nrrow=1, casacore::Bool initialize=false)
const casacore::Table & calDescAsTable() const
CalTableDesc: Define the format of calibration tables.
TableOption
Define the possible options how a table can be opened.