MSSourceIndex.h
Classes
- MSSourceIndex -- (full description)
Interface
- Public Members
- MSSourceIndex()
- MSSourceIndex(const MSSource &source)
- MSSourceIndex(const MSSourceIndex &other)
- virtual ~MSSourceIndex()
- MSSourceIndex &operator=(const MSSourceIndex &other)
- void attach(const MSSource &source)
- Int &sourceId()
- Int &spectralWindowId()
- Vector<Int> matchSourceName(const String& name)
- Vector<Int> matchSourceName(const Vector<String>& names)
- Vector<Int> matchSourceCode(const String& code)
- Protected Members
- static Int compare (const Block<void*>& fieldPtrs, const Block<void*>& dataPtrs, const Block<Int>& dataTypes, Int index)
- Private Members
- void attachIds()
Review Status
- Date Reviewed:
- yyyy/mm/dd
Prerequisite
- MeasurementSet
- MSTableIndex
Etymology
Synopsis
Example
Motivation
Thrown Exceptions
Member Description
no index attached, use the attach function or assignment operator to change that
construct one using the indicated SOURCE table
MSSourceIndex(const MSSourceIndex &other)
construct one from another
MSSourceIndex &operator=(const MSSourceIndex &other)
access to the source ID key, throws an exception if isNull() is False
access to the spectral window ID key, throws an
exception if isNull() is False
Match a source name or list of source names to a set of SOURCE_ID's
add for source code selection
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