casacore
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casacore::MSSysCalIndex Class Reference

More...

#include <MSSysCalIndex.h>

Public Member Functions

 MSSysCalIndex ()
 no index attached, use the attach function or assignment operator to change that More...
 
 MSSysCalIndex (const MSSysCal &sysCal)
 construct one using the indicated SYSCAL table More...
 
 MSSysCalIndex (const MSSysCalIndex &other)
 construct one from another More...
 
virtual ~MSSysCalIndex ()
 
MSSysCalIndexoperator= (const MSSysCalIndex &other)
 
void attach (const MSSysCal &sysCal)
 
IntantennaId ()
 access to the antenna ID key, throws an exception if isNull() is False More...
 
IntfeedId ()
 access to the feed ID key, throws an exception if isNull() is False More...
 
IntspectralWindowId ()
 access to the spectral window ID key, throws an exception if isNull() is False More...
 
- Public Member Functions inherited from casacore::MSTableIndex
 MSTableIndex ()
 no index attached, use the attach function or assignment operator to change that More...
 
 MSTableIndex (const Table &subTable, const Vector< String > &indexCols, ColumnsIndex::Compare *compareFunction=0)
 construct one using the indicated subtable which is part of the parent MS using the indicated index columns. More...
 
 MSTableIndex (const MSTableIndex &other)
 construct one from another More...
 
virtual ~MSTableIndex ()
 
MSTableIndexoperator= (const MSTableIndex &other)
 assignment operator, refernce semantics More...
 
void attach (const Table &subTable, const Vector< String > &indexCols, ColumnsIndex::Compare *compareFunction=0)
 attach this to a subtable using indexCols More...
 
virtual void setChanged ()
 Call this when an index in an existing row has changed. More...
 
virtual RecordaccessKey ()
 access the record of index (integer) keys More...
 
virtual Doubletime ()
 access the TIME to use in the search (seconds) More...
 
virtual Doubleinterval ()
 access the INTERVAL to use in the search (seconds), must be >= 0 More...
 
virtual RowNumbers getRowNumbers ()
 get all of the rows in the subTable which have data during the indicated time and interval values. More...
 
virtual Int64 getNearestRow (Bool &found)
 get the row number which falls in the interval and has the time nearest to the center of the interval (time()). More...
 
virtual Bool isNull ()
 is this attached to a null table More...
 
virtual Tabletable ()
 return the subtable being indexed More...
 

Private Member Functions

void attachIds ()
 

Private Attributes

RecordFieldPtr< IntantennaId_p
 
RecordFieldPtr< IntfeedId_p
 
RecordFieldPtr< IntspwId_p
 

Detailed Description

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Thrown Exceptions

Definition at line 73 of file MSSysCalIndex.h.

Constructor & Destructor Documentation

◆ MSSysCalIndex() [1/3]

casacore::MSSysCalIndex::MSSysCalIndex ( )

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

◆ MSSysCalIndex() [2/3]

casacore::MSSysCalIndex::MSSysCalIndex ( const MSSysCal sysCal)

construct one using the indicated SYSCAL table

◆ MSSysCalIndex() [3/3]

casacore::MSSysCalIndex::MSSysCalIndex ( const MSSysCalIndex other)

construct one from another

◆ ~MSSysCalIndex()

virtual casacore::MSSysCalIndex::~MSSysCalIndex ( )
virtual

Member Function Documentation

◆ antennaId()

Int& casacore::MSSysCalIndex::antennaId ( )
inline

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

Definition at line 92 of file MSSysCalIndex.h.

References antennaId_p.

◆ attach()

void casacore::MSSysCalIndex::attach ( const MSSysCal sysCal)

◆ attachIds()

void casacore::MSSysCalIndex::attachIds ( )
private

◆ feedId()

Int& casacore::MSSysCalIndex::feedId ( )
inline

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

Definition at line 95 of file MSSysCalIndex.h.

References feedId_p.

◆ operator=()

MSSysCalIndex& casacore::MSSysCalIndex::operator= ( const MSSysCalIndex other)

◆ spectralWindowId()

Int& casacore::MSSysCalIndex::spectralWindowId ( )
inline

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

Definition at line 98 of file MSSysCalIndex.h.

References spwId_p.

Member Data Documentation

◆ antennaId_p

RecordFieldPtr<Int> casacore::MSSysCalIndex::antennaId_p
private

Definition at line 100 of file MSSysCalIndex.h.

Referenced by antennaId().

◆ feedId_p

RecordFieldPtr<Int> casacore::MSSysCalIndex::feedId_p
private

Definition at line 100 of file MSSysCalIndex.h.

Referenced by feedId().

◆ spwId_p

RecordFieldPtr<Int> casacore::MSSysCalIndex::spwId_p
private

Definition at line 100 of file MSSysCalIndex.h.

Referenced by spectralWindowId().


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