casacore
|
Global functions to drive the MSPolnParse class. These, for Polarization selection, need not be global functions, but are done this way to keep the interface uniform for the various selection expressions. More...
#include <MSPolnGram.h>
Public Member Functions | |
int | msPolnGramParseCommand (const MeasurementSet *ms, const String &command, TableExprNode &node, Vector< Int > &selectedDDIDs, std::map< Int, Vector< Int > > &selectedPolnMap, std::map< Int, Vector< Vector< Int > > > &selectedSetupMap) |
The top level interface to the parser. More... | |
void | MSPolnGramerror (char *) |
The error handler. More... | |
const TableExprNode * | msPolnGramParseNode () |
Give the table expression node. More... | |
void | msPolnGramParseDeleteNode () |
int & | msPolnGramPosition () |
Give the current position in the string. More... | |
Global functions to drive the MSPolnParse class. These, for Polarization selection, need not be global functions, but are done this way to keep the interface uniform for the various selection expressions.
Internal
Definition at line 72 of file MSPolnGram.h.
void casacore::MSPolnGram_global_functions_MSPolnGramFunctions::MSPolnGramerror | ( | char * | ) |
The error handler.
It throws an exception with the current token.
int casacore::MSPolnGram_global_functions_MSPolnGramFunctions::msPolnGramParseCommand | ( | const MeasurementSet * | ms, |
const String & | command, | ||
TableExprNode & | node, | ||
Vector< Int > & | selectedDDIDs, | ||
std::map< Int, Vector< Int > > & | selectedPolnMap, | ||
std::map< Int, Vector< Vector< Int > > > & | selectedSetupMap | ||
) |
The top level interface to the parser.
void casacore::MSPolnGram_global_functions_MSPolnGramFunctions::msPolnGramParseDeleteNode | ( | ) |
const TableExprNode* casacore::MSPolnGram_global_functions_MSPolnGramFunctions::msPolnGramParseNode | ( | ) |
Give the table expression node.
int& casacore::MSPolnGram_global_functions_MSPolnGramFunctions::msPolnGramPosition | ( | ) |
Give the current position in the string.
This can be used when parse errors occur.