MSFeedIndex.h
Classes
- MSFeedIndex -- (full description)
Interface
- Public Members
- MSFeedIndex()
- MSFeedIndex(const MSFeed &feed)
- MSFeedIndex(const MSFeedIndex &other)
- virtual ~MSFeedIndex()
- MSFeedIndex &operator=(const MSFeedIndex &other)
- void attach(const MSFeed &feed)
- Int &antennaId()
- Int &feedId()
- Int &spectralWindowId()
- Vector<Int> matchFeedPolznAndAngle(const Int& antennaId, const Vector<String>& polznType, const Vector<Float>& receptorAngle, const Float& tol, Vector<Int>& rowNumbers)
- Vector<Int> matchAntennaId(const Int& antennaId, Vector<Int>& rowNumbers)
- Protected Members
- static Int compare (const Block<void*>& fieldPtrs, const Block<void*>& dataPtrs, const Block<Int>& dataTypes, Int index)
- Private Members
- void attachIds()
Review Status
- Date Reviewed:
- yyyy/mm/dd
Prerequisite
- MeasurementSet
- MSTableIndex
Etymology
Synopsis
Example
Motivation
Thrown Exceptions
Member Description
no index attached, use the attach function or assignment operator to change that
construct one using the indicated FEED table
MSFeedIndex(const MSFeedIndex &other)
construct one from another
MSFeedIndex &operator=(const MSFeedIndex &other)
access to the antenna ID key, throws an exception if isNull() is False
access to the feed ID key, throws an exception if isNull() is False
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.'s (and associated row numbers) for a given antenna id.,
polzn type and receptor angle
return feed id.'s (and associated row numbers) for a given antenna id.
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. This supports -1
values for the SPECTRAL_WINDOW_ID