28 #ifndef MS_MSPOLNPARSE_H
29 #define MS_MSPOLNPARSE_H
Class to hold values from an ms grammar parser.
void reset()
static MSPolnParse* thisMSSParser;
Vector< Int > getPolnIDsV2(const String &polSpec, Vector< Int > &polTypes)
These are the versions used in the code.
Handle class for a table column expression tree.
const TableExprNode selectFromIDList(const Vector< Int > &ddIDs)
std::map< Int, Vector< Vector< Int > > > selectedSetupMap()
Vector< Int > selectedDDIDs()
const TableExprNode node()
Get table expression node object.
std::map< Int, Vector< Int > > selectedPolnMap()
Vector<Int>& selectedDDIDs, Matrix<Int>& selectedSpwPolnMap);.
MSPolnParse()
Default constructor.
Class to handle lookup or indexing into a MS DATA_DESC subtable.
Class to handle lookup or indexing into an MS POLARIZATION subtable.
Class to hold values from field grammar parser.
bool Bool
Define the standard types used by Casacore.
void setIDLists(const Int key, const Int ndx, Vector< Int > &val)
A Table intended to hold astronomical data (a set of Measurements).
Vector< Int > getPolnIDs(const String &polSpec, Vector< Int > &polIndices)
void resize(size_t len, bool copyValues=false)
std::map< Int, Vector< Vector< Int > > > setupMap_p
Vector< Int > getMapToDDIDs(MSDataDescIndex &msDDNdx, MSPolarizationIndex &msPolNdx, const Vector< Int > &spwIDs, Vector< Int > &polnIDs, Vector< Int > &polIndices)
String: the storage and methods of handling collections of characters.
Vector< Int > getPolnIndices(const Int &polnID, const Vector< Int > &polnIDList)
Vector< Int > getMapToDDIDsV2(const String &polExpr, const Vector< Int > &spwIDs, Vector< Int > &polnIDs, Vector< Int > &polnIndices)
std::map< Int, Vector< Int > > polMap_p
Int theParser(const String &command)
MeasurementSet * ms()
Get ms object.
Vector< Int > matchPolIDsToPolTableRow(const Vector< Int > &polIds, std::map< Int, Vector< Int > > &polIndexMap, Vector< Int > &polIndices, Bool addToMap=False)