MSReader.h

Classes

MSReader -- Read from an MS, coordinating all of the subtables in the process (full description)

class MSReader

Interface

Public Members
MSReader(const MeasurementSet &ms)
~MSReader()
void gotoRow(uInt which)
const Vector<String> &tables() const
const RecordInterface &tableRow(const String &name) const
Int rowNumber(const String &name) const
const MeasurementSet &ms() const
const Table &table(const String &name) const
const Record &units(const String &name) const
Private Members
MSReader()
MSReader(const MSReader &)
MSReader& operator=(const MSReader &)

Description

Review Status

Date Reviewed:
yyyy/mm/dd

Member Description

MSReader(const MeasurementSet &ms)

Attach to the indicated MeasurementSet

~MSReader()

void gotoRow(uInt 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. Use rowNumber to check to see that the most recent gotoRow actually found a matching row.

Int rowNumber(const String &name) const

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.

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 &name) const

this isn't what we need, right now just return an empty record

MSReader()

undefined and unavailable

MSReader(const MSReader &)

MSReader& operator=(const MSReader &)