29 #ifndef MS_MSFEEDINDEX_H
30 #define MS_MSFEEDINDEX_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/ms/MSSel/MSTableIndex.h>
35 #include <casacore/ms/MeasurementSets/MSFeedColumns.h>
36 #include <casacore/casa/Containers/RecordField.h>
MSFeedColumns * msFeedCols_p
Pointer to FEED columns accessor.
Vector< Int > matchFeedPolznAndAngle(const Int &antennaId, const Vector< String > &polznType, const Vector< Float > &receptorAngle, const Float &tol, Vector< Int > &rowNumbers)
return feed id.
Int & antennaId()
access to the antenna ID key, throws an exception if isNull() is False
Vector< Int > matchAntennaId(const Int &antennaId, Vector< Int > &rowNumbers)
return feed id.
RecordFieldPtr< Int > antennaId_p
MSFeedIndex()
no index attached, use the attach function or assignment operator to change that
RecordFieldPtr< Int > spwId_p
RecordFieldPtr< Int > feedId_p
void attach(const MSFeed &feed)
MSFeedIndex & operator=(const MSFeedIndex &other)
Vector< Int > matchFeedId(const Vector< Int > &sourceId)
return valid feed id.
Int & spectralWindowId()
access to the spectral window ID key, throws an exception if isNull() is False
MSFeedIndex(const MSFeedIndex &other)
construct one from another
static Int compare(const Block< void * > &fieldPtrs, const Block< void * > &dataPtrs, const Block< Int > &dataTypes, rownr_t index)
the specialized compare function to pass to the ColumnsIndex object.
MSFeedIndex(const MSFeed &feed)
construct one using the indicated FEED table
Int & feedId()
access to the feed ID key, throws an exception if isNull() is False
this file contains all the compiler specific defines
uInt64 rownr_t
Define the type of a row number in a table.