casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Protected Member Functions | Private Member Functions | Private Attributes
casa::MSFeedIndex Class Reference

#include <MSFeedIndex.h>

Inheritance diagram for casa::MSFeedIndex:
casa::MSTableIndex

List of all members.

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 ()
MSFeedIndexoperator= (const MSFeedIndex &other)
void attach (const MSFeed &feed)
IntantennaId ()
 access to the antenna ID key, throws an exception if isNull() is False
IntfeedId ()
 access to the feed ID key, throws an exception if isNull() is False
IntspectralWindowId ()
 access to the spectral window ID key, throws an exception if isNull() is False
Vector< IntmatchFeedPolznAndAngle (const Int &antennaId, const Vector< String > &polznType, const Vector< Float > &receptorAngle, const Float &tol, Vector< Int > &rowNumbers)
 return feed id.
Vector< IntmatchAntennaId (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< IntantennaId_p
RecordFieldPtr< IntfeedId_p
RecordFieldPtr< IntspwId_p
ROMSFeedColumnsmsFeedCols_p
 Pointer to FEED columns accessor.

Detailed Description

Intended use:

Public interface

 <h3>Review Status</h3><dl><dt>Date Reviewed:<dd>yyyy/mm/dd</dl> 

Prerequisite

Etymology

Synopsis

Example

Motivation

Thrown Exceptions

Definition at line 73 of file MSFeedIndex.h.


Constructor & Destructor Documentation

no index attached, use the attach function or assignment operator to change that

construct one using the indicated FEED table

construct one from another

virtual casa::MSFeedIndex::~MSFeedIndex ( ) [virtual]

Member Function Documentation

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

access to the feed ID key, throws an exception if isNull() is False

Definition at line 95 of file MSFeedIndex.h.

References feedId_p.

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

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)

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.


Member Data Documentation

Definition at line 121 of file MSFeedIndex.h.

Referenced by antennaId().

Definition at line 121 of file MSFeedIndex.h.

Referenced by feedId().

Pointer to FEED columns accessor.

Definition at line 124 of file MSFeedIndex.h.

Definition at line 121 of file MSFeedIndex.h.

Referenced by spectralWindowId().


The documentation for this class was generated from the following file: