29 #ifndef MS_MSSTATEINDEX_H
30 #define MS_MSSTATEINDEX_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/ms/MeasurementSets/MSState.h>
35 #include <casacore/ms/MSSel/MSSelectionError.h>
36 #include <casacore/ms/MeasurementSets/MSStateColumns.h>
37 #include <casacore/casa/Arrays/Vector.h>
38 #include <casacore/casa/BasicSL/String.h>
Vector< Int > matchStateObsMode(const String &name)
ADD for file name wildcard selection.
MSStateIndex(const MSState &state)
Construct from an MS FIELD subtable.
Vector< Int > matchStateIntent(const String &name)
Vector< Int > matchStateId(const Vector< Int > &sourceIds)
MSStateIndex()
Disallow null constructor.
Vector< Int > matchStateRegexOrPattern(const String &pattern, const Bool regex=False)
Look up FIELD_ID's for a given pattern/regex for source name/code.
Vector< Int > matchStateObsMode(const Vector< String > &names)
Vector< Int > matchStateIntent(const Vector< String > &names)
Vector< Int > matchStateIDGTAndLT(const Int n0, const int n1)
virtual ~MSStateIndex()
Null destructor.
Vector< Int > matchStateId(const Int &sourceId)
Look up FIELD_ID's for a given source id.
Vector< Int > matchStateIDGT(const Int n)
Vector< Int > matchStateIDLT(const Int n)
Int matchAnyRegex(const Vector< String > &strList, const Regex ®ex, const Int pos=0)
Vector< Int > stateIds_p
Vector cache of field id's.
MSStateColumns msStateCols_p
FIELD subtable column accessor.
Vector< Int > matchStateObsModeRegexOrPattern(const String &pattern, const Bool regex=False)
Vector< Int > maskStateIDs(const Vector< Int > &ids)
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.