casacore
|
#include <MSReader.h>
Public Member Functions | |
MSReader (const MeasurementSet &ms) | |
Attach to the indicated MeasurementSet. | |
~MSReader () | |
void | gotoRow (rownr_t which) |
Go to the indicated row in the MAIN table of the MS and point at all of the appropriate rows in each of the subtables as a result of going to this row. | |
const Vector< String > & | tables () const |
const RecordInterface & | tableRow (const String &name) const |
Return the current row in the named table. | |
Int64 | rowNumber (const String &name) const |
Return the current row number in the named table. | |
const MeasurementSet & | ms () const |
Return a reference to the MS. | |
const Table & | table (const String &name) const |
Return a reference to the named subtable. | |
const Record & | units (const String &) const |
this isn't what we need, right now just return an empty record | |
Private Member Functions | |
MSReader () | |
undefined and unavailable | |
MSReader (const MSReader &) | |
MSReader & | operator= (const MSReader &) |
Read from an MS, coordinating all of the subtables in the process
Internal
Definition at line 59 of file MSReader.h.
casacore::MSReader::MSReader | ( | const MeasurementSet & | ms | ) |
Attach to the indicated MeasurementSet.
|
inline |
Definition at line 65 of file MSReader.h.
|
private |
undefined and unavailable
|
private |
void casacore::MSReader::gotoRow | ( | rownr_t | which | ) |
Go to the indicated row in the MAIN table of the MS and point at all of the appropriate rows in each of the subtables as a result of going to this row.
|
inline |
Return the current row number in the named table.
This returns -1 if that table has no row as a result of the most recent gotoRow.
Return a reference to the named subtable.
const RecordInterface & casacore::MSReader::tableRow | ( | const String & | name | ) | const |
Return the current row in the named table.
Use rowNumber to check to see that the most recent gotoRow actually found a matching row.
Definition at line 72 of file MSReader.h.
References itsTableNames.
this isn't what we need, right now just return an empty record
Definition at line 90 of file MSReader.h.
References emptyRecord.
|
private |
this empty record is returned by tableRow when the name argument does not exist
Definition at line 131 of file MSReader.h.
Referenced by units().
|
private |
this empty table is returned by table when the name argument does not exist
Definition at line 134 of file MSReader.h.
|
private |
Definition at line 120 of file MSReader.h.
|
private |
Definition at line 120 of file MSReader.h.
|
private |
Definition at line 120 of file MSReader.h.
|
private |
Definition at line 120 of file MSReader.h.
|
private |
specific indexes
Definition at line 107 of file MSReader.h.
|
private |
Definition at line 120 of file MSReader.h.
|
private |
Definition at line 108 of file MSReader.h.
|
private |
Definition at line 120 of file MSReader.h.
|
private |
Definition at line 109 of file MSReader.h.
|
private |
Definition at line 120 of file MSReader.h.
|
private |
Definition at line 121 of file MSReader.h.
|
private |
Definition at line 110 of file MSReader.h.
|
private |
Definition at line 121 of file MSReader.h.
|
private |
Definition at line 98 of file MSReader.h.
|
private |
the indexes for the NS subtables
Definition at line 104 of file MSReader.h.
|
private |
table IDs for the standard tables
Definition at line 120 of file MSReader.h.
|
private |
Definition at line 92 of file MSReader.h.
Referenced by ms().
|
private |
Definition at line 93 of file MSReader.h.
|
private |
Definition at line 121 of file MSReader.h.
|
private |
Definition at line 121 of file MSReader.h.
|
private |
Definition at line 111 of file MSReader.h.
|
private |
Definition at line 121 of file MSReader.h.
|
private |
Definition at line 112 of file MSReader.h.
|
private |
Definition at line 121 of file MSReader.h.
|
private |
Definition at line 121 of file MSReader.h.
What row number for each table is the most recent gotoRow call.
Set to -1 if there was no matching row as a result of that call.
Definition at line 128 of file MSReader.h.
|
private |
This possibly saves some time, Units of seconds.
Definition at line 96 of file MSReader.h.
|
private |
Definition at line 122 of file MSReader.h.
|
private |
Definition at line 113 of file MSReader.h.
|
private |
Definition at line 122 of file MSReader.h.
|
private |
Definition at line 122 of file MSReader.h.
|
private |
Definition at line 122 of file MSReader.h.
|
private |
Definition at line 114 of file MSReader.h.
|
private |
Definition at line 122 of file MSReader.h.
|
private |
Definition at line 115 of file MSReader.h.
this maps table name to an index used throughout this class
Definition at line 101 of file MSReader.h.
Definition at line 136 of file MSReader.h.
Referenced by tables().
|
private |
the table rows
Definition at line 124 of file MSReader.h.
|
private |
Definition at line 122 of file MSReader.h.
|
private |
Definition at line 116 of file MSReader.h.
|
private |
Definition at line 122 of file MSReader.h.
|
private |
Definition at line 117 of file MSReader.h.