a pair of indicies identifying the spectral window and polarization ids that make up a data description ID More...
#include <FillMetadata.h>
Public Member Functions | |
DataDescComponents (Int spwid=-1, Int polid=-1) | |
~DataDescComponents () | |
Int | getSpectralWindowID () const |
return the spectral window ID component | |
Int | getPolarizationID () const |
return the polarization ID component | |
Bool | operator== (const DataDescComponents &other) const |
Bool | exists () const |
Private Attributes | |
Int | spw |
Int | pol |
a pair of indicies identifying the spectral window and polarization ids that make up a data description ID
Internal
The Data Description subtable record has two main components: a spectral window ID and a polarization ID.
This class holds two IDs that make up the "data description" of a record in an MS MAIN table: the spectral window ID and the polarization ID.
Records in the MAIN MS table are linked to rows in the SPECTRAL_WINDOW and POLARIZATION subtables via a single DATA_DESC_ID; this class collects the indicies into those two subtables into a single class that can be linked to an ID in the DATA_DESCRIPTION subtable (via a Map).
Definition at line 822 of file FillMetadata.h.
DataDescComponents::DataDescComponents | ( | Int | spwid = -1 , |
|
Int | polid = -1 | |||
) | [inline] |
Definition at line 827 of file FillMetadata.h.
DataDescComponents::~DataDescComponents | ( | ) | [inline] |
Definition at line 828 of file FillMetadata.h.
Bool DataDescComponents::exists | ( | ) | const [inline] |
Definition at line 840 of file FillMetadata.h.
Int DataDescComponents::getPolarizationID | ( | ) | const [inline] |
Int DataDescComponents::getSpectralWindowID | ( | ) | const [inline] |
return the spectral window ID component
Definition at line 831 of file FillMetadata.h.
References spw.
Bool DataDescComponents::operator== | ( | const DataDescComponents & | other | ) | const [inline] |
Definition at line 836 of file FillMetadata.h.
Int DataDescComponents::pol [private] |
Definition at line 825 of file FillMetadata.h.
Referenced by exists(), getPolarizationID(), and operator==().
Int DataDescComponents::spw [private] |
Definition at line 824 of file FillMetadata.h.
Referenced by exists(), getSpectralWindowID(), and operator==().