29 #ifndef MS_MSSOURCEINDEX_H 30 #define MS_MSSOURCEINDEX_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/ms/MSSel/MSTableIndex.h> 34 #include <casacore/ms/MeasurementSets/MSSourceColumns.h> 36 #include <casacore/casa/Containers/RecordField.h>
ROMSSourceColumns * msSourceCols_p
Pointer to local ROMSSourceColumns object.
MSSourceIndex & operator=(const MSSourceIndex &other)
A class to provide easy read-only access to MSSource columns.
Vector< Int > matchSourceCode(const String &code)
add for source code selection
RecordFieldPtr< Int > spwId_p
Int & spectralWindowId()
access to the spectral window ID key, throws an exception if isNull() is False
MSSourceIndex()
no index attached, use the attach function or assignment operator to change that
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.
A Table intended to hold a MeasurementSet SOURCE table.
void attach(const MSSource &source)
RecordFieldPtr< Int > sourceId_p
Vector< uInt > getRowNumbersOfSourceID(const Int sid)
Return rows matching a SourceID.
Int & sourceId()
access to the source ID key, throws an exception if isNull() is False
String: the storage and methods of handling collections of characters.
Vector< Int > matchSourceName(const String &name)
Match a source name or list of source names to a set of SOURCE_ID's.
this file contains all the compiler specific defines