MSFeedIndex.h

Classes

MSFeedIndex -- (full description)

class MSFeedIndex : public MSTableIndex

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()

Description

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Thrown Exceptions

Member Description

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.'s (and associated row numbers) for a given antenna id., polzn type and receptor angle

Vector<Int> matchAntennaId(const Int& antennaId, Vector<Int>& rowNumbers)

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

void attachIds()