Go to the documentation of this file.
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>
A Table intended to hold a MeasurementSet STATE table.
Vector< Int > matchStateId(const Vector< Int > &sourceIds)
MSStateIndex()
Disallow null constructor.
MSStateIndex(const MSState &state)
Construct from an MS FIELD subtable.
Vector< Int > matchStateObsMode(const Vector< String > &names)
Vector< Int > matchStateIntent(const String &name)
A class to provide easy access to MSState columns.
Vector< Int > matchStateRegexOrPattern(const String &pattern, const Bool regex=False)
Look up FIELD_ID's for a given pattern/regex for source name/code.
Class to handle lookup or indexing into a MS FIELD subtable.
MSStateColumns msStateCols_p
FIELD subtable column accessor.
TableExprNode regex(const TableExprNode &node)
Functions for regular expression matching and pattern matching.
Vector< Int > matchStateIntent(const Vector< String > &names)
Vector< Int > matchStateId(const Int &sourceId)
Look up FIELD_ID's for a given source id.
virtual ~MSStateIndex()
Null destructor.
this file contains all the compiler specific defines
Vector< Int > matchStateObsMode(const String &name)
ADD for file name wildcard selection.
Vector< Int > matchStateIDGTAndLT(const Int n0, const int n1)
Vector< Int > stateIds_p
Vector cache of field id's.
Vector< Int > matchStateIDGT(const Int n)
String: the storage and methods of handling collections of characters.
bool Bool
Define the standard types used by Casacore.
Vector< Int > matchStateIDLT(const Int n)
Regular expression class.
TableExprNode pattern(const TableExprNode &node)
Vector< Int > matchStateObsModeRegexOrPattern(const String &pattern, const Bool regex=False)
Int matchAnyRegex(const Vector< String > &strList, const Regex ®ex, const Int pos=0)
Vector< Int > maskStateIDs(const Vector< Int > &ids)