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::MSSourceIndex Class Reference

#include <MSSourceIndex.h>

Inheritance diagram for casa::MSSourceIndex:
casa::MSTableIndex

List of all members.

Public Member Functions

 MSSourceIndex ()
 no index attached, use the attach function or assignment operator to change that
 MSSourceIndex (const MSSource &source)
 construct one using the indicated SOURCE table
 MSSourceIndex (const MSSourceIndex &other)
 construct one from another
virtual ~MSSourceIndex ()
MSSourceIndexoperator= (const MSSourceIndex &other)
void attach (const MSSource &source)
IntsourceId ()
 access to the source 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< IntmatchSourceName (const String &name)
 Match a source name or list of source names to a set of SOURCE_ID's.
Vector< IntmatchSourceName (const Vector< String > &names)
Vector< IntmatchSourceCode (const String &code)
 add for source code selection

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

ROMSSourceColumnsmsSourceCols_p
 Pointer to local ROMSSourceColumns object.
RecordFieldPtr< IntsourceId_p
RecordFieldPtr< IntspwId_p

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 MSSourceIndex.h.


Constructor & Destructor Documentation

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

construct one using the indicated SOURCE table

construct one from another

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

Member Function Documentation

void casa::MSSourceIndex::attach ( const MSSource source)
void casa::MSSourceIndex::attachIds ( ) [private]
static Int casa::MSSourceIndex::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

add for source code selection

Match a source name or list of source names to a set of SOURCE_ID's.

MSSourceIndex& casa::MSSourceIndex::operator= ( const MSSourceIndex other)

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

Definition at line 92 of file MSSourceIndex.h.

References sourceId_p.

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

Definition at line 96 of file MSSourceIndex.h.

References spwId_p.


Member Data Documentation

Pointer to local ROMSSourceColumns object.

Definition at line 116 of file MSSourceIndex.h.

Definition at line 118 of file MSSourceIndex.h.

Referenced by sourceId().

Definition at line 118 of file MSSourceIndex.h.

Referenced by spectralWindowId().


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