MSDataDescIndex.h

Classes

MSDataDescIndex -- Class to handle lookup or indexing into a MS DATA_DESC subtable (full description)

class MSDataDescIndex

Interface

Public Members
MSDataDescIndex(const MSDataDescription& dataDescription)
virtual ~MSDataDescIndex()
Vector<Int> matchSpwId(const Int& spwId)
Vector<Int> matchSpwId(const Vector<Int>& spwIds)
Vector<Int> matchSpwIdAndPolznId(const Int& spwId, const Int& polznId)
Private Members
MSDataDescIndex()

Description

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

From "MeasurementSet", "DATA_DESC subtable" and "index".

Synopsis

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.

Example

Motivation

Collect together all subtable indexing and lookup for the DATA_DESC subtable, for encapsulation and efficiency.

Thrown Exceptions

Member Description

MSDataDescIndex(const MSDataDescription& dataDescription)

Construct from an MS DATA_DESC subtable

virtual ~MSDataDescIndex()

Null destructor

Vector<Int> matchSpwId(const Int& spwId)

Look up DATA_DESC_ID's for a given spectral window id

Vector<Int> matchSpwId(const Vector<Int>& spwIds)

Vector<Int> matchSpwIdAndPolznId(const Int& spwId, const Int& polznId)

Look up DATA_DESC_ID's for a given spectral window and polarization id.

MSDataDescIndex()

Disallow null constructor