casacore
|
Class to handle lookup or indexing into a MS DATA_DESC subtable. More...
#include <MSDataDescIndex.h>
Public Member Functions | |
MSDataDescIndex (const MSDataDescription &dataDescription) | |
Construct from an MS DATA_DESC subtable. More... | |
virtual | ~MSDataDescIndex () |
Null destructor. More... | |
Vector< Int > | matchSpwId (const Int &spwId) |
Look up DATA_DESC_ID's for a given spectral window id. More... | |
Vector< Int > | matchSpwId (const Vector< Int > &spwIds) |
Vector< Int > | matchPolId (const Int &polId) |
Look up DATA_DESC_ID's for a given polarization id. More... | |
Vector< Int > | matchPolId (const Vector< Int > &polIds) |
Vector< Int > | matchSpwIdAndPolznId (const Int &spwId, const Int &polznId) |
Look up DATA_DESC_ID's for a given spectral window and polarization id. More... | |
Private Member Functions | |
MSDataDescIndex () | |
Disallow null constructor. More... | |
Private Attributes | |
MSDataDescColumns | msDataDescCols_p |
DATA_DESC subtable column accessor. More... | |
Vector< Int > | dataDescIds_p |
Vector cache of DataDesc id's. More... | |
Int | nrows_p |
Class to handle lookup or indexing into a MS DATA_DESC subtable.
Public interface
From "MeasurementSet", "DATA_DESC subtable" and "index".
This class provides lookup and indexing into an MS DATA_DESC subtable. These services include returning rows numbers (which for the DATA_DESC subtable are DATA_DESC_ID's) associated with specific data in the subtable.
Collect together all subtable indexing and lookup for the DATA_DESC subtable, for encapsulation and efficiency.
Definition at line 82 of file MSDataDescIndex.h.
casacore::MSDataDescIndex::MSDataDescIndex | ( | const MSDataDescription & | dataDescription | ) |
Construct from an MS DATA_DESC subtable.
|
inlinevirtual |
Null destructor.
Definition at line 89 of file MSDataDescIndex.h.
|
private |
Disallow null constructor.
Look up DATA_DESC_ID's for a given polarization id.
Look up DATA_DESC_ID's for a given spectral window id.
Vector<Int> casacore::MSDataDescIndex::matchSpwIdAndPolznId | ( | const Int & | spwId, |
const Int & | polznId | ||
) |
Look up DATA_DESC_ID's for a given spectral window and polarization id.
Vector cache of DataDesc id's.
Definition at line 110 of file MSDataDescIndex.h.
|
private |
DATA_DESC subtable column accessor.
Definition at line 107 of file MSDataDescIndex.h.
|
private |
Definition at line 111 of file MSDataDescIndex.h.