casa
$Rev:20696$
|
#include <MSFeedIndex.h>
Public Member Functions | |
MSFeedIndex () | |
no index attached, use the attach function or assignment operator to change that | |
MSFeedIndex (const MSFeed &feed) | |
construct one using the indicated FEED table | |
MSFeedIndex (const MSFeedIndex &other) | |
construct one from another | |
virtual | ~MSFeedIndex () |
MSFeedIndex & | operator= (const MSFeedIndex &other) |
void | attach (const MSFeed &feed) |
Int & | antennaId () |
access to the antenna ID key, throws an exception if isNull() is False | |
Int & | feedId () |
access to the feed ID key, throws an exception if isNull() is False | |
Int & | spectralWindowId () |
access to the spectral window ID key, throws an exception if isNull() is False | |
Vector< Int > | matchFeedPolznAndAngle (const Int &antennaId, const Vector< String > &polznType, const Vector< Float > &receptorAngle, const Float &tol, Vector< Int > &rowNumbers) |
return feed id. | |
Vector< Int > | matchAntennaId (const Int &antennaId, Vector< Int > &rowNumbers) |
return feed id. | |
Static Protected Member Functions | |
static Int | compare (const Block< void * > &fieldPtrs, const Block< void * > &dataPtrs, const Block< Int > &dataTypes, Int index) |
the specialized compare function to pass to the ColumnsIndex object. | |
Private Member Functions | |
void | attachIds () |
Private Attributes | |
RecordFieldPtr< Int > | antennaId_p |
RecordFieldPtr< Int > | feedId_p |
RecordFieldPtr< Int > | spwId_p |
ROMSFeedColumns * | msFeedCols_p |
Pointer to FEED columns accessor. |
Public interface
<h3>Review Status</h3><dl><dt>Date Reviewed:<dd>yyyy/mm/dd</dl>
Definition at line 73 of file MSFeedIndex.h.
no index attached, use the attach function or assignment operator to change that
casa::MSFeedIndex::MSFeedIndex | ( | const MSFeed & | feed | ) |
construct one using the indicated FEED table
casa::MSFeedIndex::MSFeedIndex | ( | const MSFeedIndex & | other | ) |
construct one from another
virtual casa::MSFeedIndex::~MSFeedIndex | ( | ) | [virtual] |
Int& casa::MSFeedIndex::antennaId | ( | ) | [inline] |
access to the antenna ID key, throws an exception if isNull() is False
Definition at line 92 of file MSFeedIndex.h.
References antennaId_p.
void casa::MSFeedIndex::attach | ( | const MSFeed & | feed | ) |
void casa::MSFeedIndex::attachIds | ( | ) | [private] |
static Int casa::MSFeedIndex::compare | ( | const Block< void * > & | fieldPtrs, |
const Block< void * > & | dataPtrs, | ||
const Block< Int > & | dataTypes, | ||
Int | index | ||
) | [static, protected] |
the specialized compare function to pass to the ColumnsIndex object.
This supports -1 values for the SPECTRAL_WINDOW_ID
Int& casa::MSFeedIndex::feedId | ( | ) | [inline] |
access to the feed ID key, throws an exception if isNull() is False
Definition at line 95 of file MSFeedIndex.h.
References feedId_p.
return feed id.
's (and associated row numbers) for a given antenna id.
Vector<Int> casa::MSFeedIndex::matchFeedPolznAndAngle | ( | const Int & | antennaId, |
const Vector< String > & | polznType, | ||
const Vector< Float > & | receptorAngle, | ||
const Float & | tol, | ||
Vector< Int > & | rowNumbers | ||
) |
return feed id.
's (and associated row numbers) for a given antenna id., polzn type and receptor angle
MSFeedIndex& casa::MSFeedIndex::operator= | ( | const MSFeedIndex & | other | ) |
Int& casa::MSFeedIndex::spectralWindowId | ( | ) | [inline] |
access to the spectral window ID key, throws an exception if isNull() is False
Definition at line 98 of file MSFeedIndex.h.
References spwId_p.
RecordFieldPtr<Int> casa::MSFeedIndex::antennaId_p [private] |
Definition at line 121 of file MSFeedIndex.h.
Referenced by antennaId().
RecordFieldPtr<Int> casa::MSFeedIndex::feedId_p [private] |
Definition at line 121 of file MSFeedIndex.h.
Referenced by feedId().
ROMSFeedColumns* casa::MSFeedIndex::msFeedCols_p [private] |
Pointer to FEED columns accessor.
Definition at line 124 of file MSFeedIndex.h.
RecordFieldPtr<Int> casa::MSFeedIndex::spwId_p [private] |
Definition at line 121 of file MSFeedIndex.h.
Referenced by spectralWindowId().