casacore
|
#include <MSStateIndex.h>
Public Member Functions | |
MSStateIndex (const MSState &state) | |
Construct from an MS FIELD subtable. More... | |
virtual | ~MSStateIndex () |
Null destructor. More... | |
Vector< Int > | matchStateIntent (const String &name) |
Vector< Int > | matchStateIntent (const Vector< String > &names) |
Vector< Int > | matchStateObsMode (const String &name) |
ADD for file name wildcard selection. More... | |
Vector< Int > | matchStateObsMode (const Vector< String > &names) |
Vector< Int > | matchStateRegexOrPattern (const String &pattern, const Bool regex=False) |
Look up FIELD_ID's for a given pattern/regex for source name/code. More... | |
Vector< Int > | matchStateObsModeRegexOrPattern (const String &pattern, const Bool regex=False) |
Vector< Int > | matchStateId (const Int &sourceId) |
Look up FIELD_ID's for a given source id. More... | |
Vector< Int > | matchStateId (const Vector< Int > &sourceIds) |
Vector< Int > | maskStateIDs (const Vector< Int > &ids) |
Vector< Int > | matchStateIDLT (const Int n) |
Vector< Int > | matchStateIDGT (const Int n) |
Vector< Int > | matchStateIDGTAndLT (const Int n0, const int n1) |
Private Member Functions | |
MSStateIndex () | |
Disallow null constructor. More... | |
Int | matchAnyRegex (const Vector< String > &strList, const Regex ®ex, const Int pos=0) |
Private Attributes | |
MSStateColumns | msStateCols_p |
FIELD subtable column accessor. More... | |
Vector< Int > | stateIds_p |
Vector cache of field id's. More... | |
Int | nrows_p |
Class to handle lookup or indexing into a MS FIELD subtable
Public interface
From "MeasurementSet", "FIELD subtable" and "index".
This class provides lookup and indexing into an MS FIELD subtable. These services include returning rows numbers (which for the FIELD subtable are FIELD_ID's) associated with specific data in the subtable.
Collect together all subtable indexing and lookup for the FIELD subtable, for encapsulation and efficiency.
Definition at line 83 of file MSStateIndex.h.
casacore::MSStateIndex::MSStateIndex | ( | const MSState & | state | ) |
Construct from an MS FIELD subtable.
|
inlinevirtual |
Null destructor.
Definition at line 90 of file MSStateIndex.h.
|
private |
Disallow null constructor.
|
private |
Look up FIELD_ID's for a given source id.
ADD for file name wildcard selection.
Vector<Int> casacore::MSStateIndex::matchStateObsModeRegexOrPattern | ( | const String & | pattern, |
const Bool | regex = False |
||
) |
Vector<Int> casacore::MSStateIndex::matchStateRegexOrPattern | ( | const String & | pattern, |
const Bool | regex = False |
||
) |
Look up FIELD_ID's for a given pattern/regex for source name/code.
|
private |
FIELD subtable column accessor.
Definition at line 118 of file MSStateIndex.h.
|
private |
Definition at line 122 of file MSStateIndex.h.
Vector cache of field id's.
Definition at line 121 of file MSStateIndex.h.