29 #ifndef MS_MSFIELDINDEX_H 30 #define MS_MSFIELDINDEX_H 33 #include <casacore/casa/aips.h> 34 #include <casacore/ms/MeasurementSets/MSField.h> 35 #include <casacore/ms/MSSel/MSSelectionError.h> 36 #include <casacore/ms/MeasurementSets/MSFieldColumns.h> 37 #include <casacore/casa/Arrays/Vector.h> 38 #include <casacore/casa/BasicSL/String.h> Vector< Int > maskFieldIDs(const Vector< Int > &ids)
MSFieldIndex()
Disallow null constructor.
Vector< Int > matchFieldIDGT(const Int n)
ROMSFieldColumns msFieldCols_p
FIELD subtable column accessor.
Class to handle lookup or indexing into a MS FIELD subtable.
A class to provide easy access to MSField columns.
Vector< Int > matchFieldNameRegexOrPattern(const String &pattern, const Bool regex=False)
Vector< Int > matchFieldCodeRegexOrPattern(const String &pattern, const Bool regex=False)
TableExprNode pattern(const TableExprNode &node)
Vector< Int > matchSourceId(const Int &sourceId)
Look up FIELD_ID's for a given source id.
Vector< Int > matchFieldName(const String &name)
Look up FIELD_ID's for a given field name, or set of field names.
Vector< Int > matchFieldCode(const String &code)
Add for field code selection.
Vector< Int > matchSubFieldName(const String &name)
ADD for file name wildcard selection.
Vector< Int > matchFieldIDLT(const Int n)
Vector< Int > matchFieldRegexOrPattern(const String &pattern, const Bool regex=False)
Look up FIELD_ID's for a given pattern/regex for source name/code.
bool Bool
Define the standard types used by Casacore.
A Table intended to hold a MeasurementSet FIELD table.
Vector< Int > fieldIds_p
Vector cache of field id's.
TableExprNode regex(const TableExprNode &node)
Functions for regular expression matching and pattern matching.
Vector< Int > matchFieldNameOrCode(const String &name)
Look up a single name in FIELD.NAME or FIELD.CODE.
Vector< Int > validateIndices(const Vector< Int > &sourceIds)
String: the storage and methods of handling collections of characters.
virtual ~MSFieldIndex()
Null destructor.
Vector< Int > matchFieldIDGTAndLT(const Int n0, const int n1)
this file contains all the compiler specific defines