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 > matchFieldIDGT(const Int n)
Vector< Int > matchSourceId(const Int &sourceId)
Look up FIELD_ID's for a given source id.
MSFieldColumns msFieldCols_p
FIELD subtable column accessor.
Vector< Int > maskFieldIDs(const Vector< Int > &ids)
Vector< Int > matchFieldCodeRegexOrPattern(const String &pattern, const Bool regex=False)
MSFieldIndex()
Disallow null constructor.
Vector< Int > matchFieldNameOrCode(const String &name)
Look up a single name in FIELD.NAME or FIELD.CODE.
Vector< Int > fieldIds_p
Vector cache of field id's.
Vector< Int > matchFieldIDLT(const Int n)
MSFieldIndex(const MSField &field)
Construct from an MS FIELD subtable.
Vector< Int > matchFieldName(const Vector< String > &names)
Vector< Int > matchFieldCode(const String &code)
Add for field code selection.
Vector< Int > matchSourceId(const Vector< Int > &sourceIds)
Vector< Int > matchFieldName(const String &name)
Look up FIELD_ID's for a given field name, or set of field names.
void matchIdAgainstNames(Vector< Int > &ids)
Vector< Int > validateIndices(const Vector< Int > &sourceIds)
Vector< Int > matchFieldNameRegexOrPattern(const String &pattern, const Bool regex=False)
Vector< Int > matchSubFieldName(const String &name)
ADD for file name wildcard selection.
Vector< Int > matchFieldIDGTAndLT(const Int n0, const int n1)
Vector< Int > matchFieldRegexOrPattern(const String &pattern, const Bool regex=False)
Look up FIELD_ID's for a given pattern/regex for source name/code.
virtual ~MSFieldIndex()
Null destructor.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
TableExprNode pattern(const TableExprNode &node)
TableExprNode regex(const TableExprNode &node)
Functions for regular expression matching and pattern matching.
bool Bool
Define the standard types used by Casacore.