casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
casacore::MSPolnGram_global_functions_MSPolnGramFunctions Struct Reference

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 TableExprNodemsPolnGramParseNode ()
 Give the table expression node. More...
 
void msPolnGramParseDeleteNode ()
 
int & msPolnGramPosition ()
 Give the current position in the string. More...
 

Detailed Description

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.

Intended use:

Internal

Synopsis

Motivation

Definition at line 72 of file MSPolnGram.h.

Member Function Documentation

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.


The documentation for this struct was generated from the following file: