casacore::MSFeedIndex Class Reference

#include <MSFeedIndex.h>

Inheritance diagram for casacore::MSFeedIndex:
casacore::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)
 assignment operator, refernce semantics
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.
Vector< IntmatchFeedId (const Vector< Int > &sourceId)
 return valid 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

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Thrown Exceptions

Definition at line 74 of file MSFeedIndex.h.


Constructor & Destructor Documentation

casacore::MSFeedIndex::MSFeedIndex (  ) 

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

casacore::MSFeedIndex::MSFeedIndex ( const MSFeed feed  ) 

construct one using the indicated FEED table

casacore::MSFeedIndex::MSFeedIndex ( const MSFeedIndex other  ) 

construct one from another

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

Member Function Documentation

Int& casacore::MSFeedIndex::antennaId (  )  [inline]

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

Definition at line 93 of file MSFeedIndex.h.

References antennaId_p.

void casacore::MSFeedIndex::attach ( const MSFeed feed  ) 
void casacore::MSFeedIndex::attachIds (  )  [private]
static Int casacore::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& casacore::MSFeedIndex::feedId (  )  [inline]

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

Definition at line 96 of file MSFeedIndex.h.

References feedId_p.

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

return feed id.

's (and associated row numbers) for a given antenna id.

Vector<Int> casacore::MSFeedIndex::matchFeedId ( const Vector< Int > &  sourceId  ) 

return valid feed id.

's for a given list of feed id.'s.

Vector<Int> casacore::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& casacore::MSFeedIndex::operator= ( const MSFeedIndex other  ) 

assignment operator, refernce semantics

Reimplemented from casacore::MSTableIndex.

Int& casacore::MSFeedIndex::spectralWindowId (  )  [inline]

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

Definition at line 99 of file MSFeedIndex.h.

References spwId_p.


Member Data Documentation

Definition at line 125 of file MSFeedIndex.h.

Referenced by antennaId().

Definition at line 125 of file MSFeedIndex.h.

Referenced by feedId().

Pointer to FEED columns accessor.

Definition at line 128 of file MSFeedIndex.h.

Definition at line 125 of file MSFeedIndex.h.

Referenced by spectralWindowId().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1