29 #ifndef MS_MSSOURCEINDEX_H
30 #define MS_MSSOURCEINDEX_H
MSSourceIndex & operator=(const MSSourceIndex &other)
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
RowNumbers getRowNumbersOfSourceID(const Int sid)
Return rows matching a SourceID.
MSSourceIndex()
no index attached, use the attach function or assignment operator to change that
A class to provide easy access to MSSource columns.
A Table intended to hold a MeasurementSet SOURCE table.
void attach(const MSSource &source)
RecordFieldPtr< Int > sourceId_p
MSSourceColumns * msSourceCols_p
Pointer to local MSSourceColumns object.
uInt64 rownr_t
Define the type of a row number in a table.
Int & sourceId()
access to the source ID key, throws an exception if isNull() is False
static Int compare(const Block< void * > &fieldPtrs, const Block< void * > &dataPtrs, const Block< Int > &dataTypes, rownr_t index)
the specialized compare function to pass to the ColumnsIndex object.
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.