casa
$Rev:20696$
|
Class to handle lookup or indexing into an MS OBSERVATION subtable. More...
#include <MSObsIndex.h>
Public Member Functions | |
MSObservationIndex (const MSObservation &observationTable) | |
Construct from an MS OBSERVATION subtable. | |
virtual | ~MSObservationIndex () |
Null destructor. | |
Vector< Int > | matchProjectCode (const String &projectCode) |
Look up OBSERVATION_ID's for a given project code. | |
Private Member Functions | |
MSObservationIndex () | |
Disallow null constructor. | |
Private Attributes | |
ROMSObservationColumns | msObservationCols_p |
OBSERVATION subtable column accessor. | |
Vector< Int > | observationIds_p |
Vector cache of observation id's. | |
Int | nrows_p |
Class to handle lookup or indexing into an MS OBSERVATION subtable.
Public interface
From "MeasurementSet", "OBSERVATION subtable" and "index".
This class provides lookup and indexing into an MS OBSERVATION subtable. These services include returning rows numbers (which for the OBSERVATION subtable are OBSERVATION_ID's) associated with specific data in the subtable.
Collect together all subtable indexing and lookup for the OBSERVATION subtable, for encapsulation and efficiency.
Definition at line 83 of file MSObsIndex.h.
casa::MSObservationIndex::MSObservationIndex | ( | const MSObservation & | observationTable | ) |
Construct from an MS OBSERVATION subtable.
virtual casa::MSObservationIndex::~MSObservationIndex | ( | ) | [inline, virtual] |
Null destructor.
Definition at line 90 of file MSObsIndex.h.
casa::MSObservationIndex::MSObservationIndex | ( | ) | [private] |
Disallow null constructor.
Vector<Int> casa::MSObservationIndex::matchProjectCode | ( | const String & | projectCode | ) |
Look up OBSERVATION_ID's for a given project code.
OBSERVATION subtable column accessor.
Definition at line 100 of file MSObsIndex.h.
Int casa::MSObservationIndex::nrows_p [private] |
Definition at line 104 of file MSObsIndex.h.
Vector<Int> casa::MSObservationIndex::observationIds_p [private] |
Vector cache of observation id's.
Definition at line 103 of file MSObsIndex.h.