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

Global functions for flex/bison scanner/parser for MSAntennaGram. More...

#include <MSAntennaGram.h>

Public Member Functions

TableExprNode msAntennaGramParseCommand (MSSelectableTable &msLike, const String &command, Vector< Int > &selectedAnts1, Vector< Int > &selectedAnts2, Matrix< Int > &selectedBaselines)
 Declare the bison parser (is implemented by bison command). More...
 
TableExprNode msAntennaGramParseCommand (MSAntennaParse *thisParser, const TableExprNode &col1TEN, const TableExprNode &col2TEN, const String &command, Vector< Int > &selectedAnts1, Vector< Int > &selectedAnts2, Matrix< Int > &selectedBaselines)
 
TableExprNode msAntennaGramParseCommand (Table &subTable, TableExprNode &col1TEN, TableExprNode &col2TEN, const String &command, Vector< Int > &selectedAnts1, Vector< Int > &selectedAnts2, Matrix< Int > &selectedBaselines)
 
TableExprNode msAntennaGramParseCommand (const MeasurementSet *ms, const String &command, Vector< Int > &selectedAnt1, Vector< Int > &selectedAnt2, Matrix< Int > &selectedBaselines)
 
TableExprNode baseMSAntennaGramParseCommand (MSAntennaParse *parser, const String &command, Vector< Int > &selectedAnts1, Vector< Int > &selectedAnts2, Matrix< Int > &selectedBaselines)
 
void MSAntennaGramerror (const char *)
 The yyerror function for the parser. More...
 
IntmsAntennaGramPosition ()
 Give the current position in the string. More...
 
int msAntennaGramInput (char *buf, int max_size)
 Declare the input routine for flex/bison. More...
 

Detailed Description

Global functions for flex/bison scanner/parser for MSAntennaGram.

Intended use:

Internal

Prerequisite

Synopsis

Global functions are needed to define the input of the flex scanner and to start the bison parser. The input is taken from a string.

Motivation

It is necessary to be able to give an image expression in ASCII. This can be used in glish.

Definition at line 74 of file MSAntennaGram.h.

Member Function Documentation

TableExprNode casacore::MSAntennaGram_global_functions_MSAntennaGramFunctions::baseMSAntennaGramParseCommand ( MSAntennaParse parser,
const String command,
Vector< Int > &  selectedAnts1,
Vector< Int > &  selectedAnts2,
Matrix< Int > &  selectedBaselines 
)
void casacore::MSAntennaGram_global_functions_MSAntennaGramFunctions::MSAntennaGramerror ( const char *  )

The yyerror function for the parser.

It throws an exception with the current token.

int casacore::MSAntennaGram_global_functions_MSAntennaGramFunctions::msAntennaGramInput ( char *  buf,
int  max_size 
)

Declare the input routine for flex/bison.

TableExprNode casacore::MSAntennaGram_global_functions_MSAntennaGramFunctions::msAntennaGramParseCommand ( MSSelectableTable msLike,
const String command,
Vector< Int > &  selectedAnts1,
Vector< Int > &  selectedAnts2,
Matrix< Int > &  selectedBaselines 
)

Declare the bison parser (is implemented by bison command).

It returns a TaQL expression tree.

TableExprNode casacore::MSAntennaGram_global_functions_MSAntennaGramFunctions::msAntennaGramParseCommand ( MSAntennaParse thisParser,
const TableExprNode col1TEN,
const TableExprNode col2TEN,
const String command,
Vector< Int > &  selectedAnts1,
Vector< Int > &  selectedAnts2,
Matrix< Int > &  selectedBaselines 
)
TableExprNode casacore::MSAntennaGram_global_functions_MSAntennaGramFunctions::msAntennaGramParseCommand ( Table subTable,
TableExprNode col1TEN,
TableExprNode col2TEN,
const String command,
Vector< Int > &  selectedAnts1,
Vector< Int > &  selectedAnts2,
Matrix< Int > &  selectedBaselines 
)
TableExprNode casacore::MSAntennaGram_global_functions_MSAntennaGramFunctions::msAntennaGramParseCommand ( const MeasurementSet ms,
const String command,
Vector< Int > &  selectedAnt1,
Vector< Int > &  selectedAnt2,
Matrix< Int > &  selectedBaselines 
)
Int& casacore::MSAntennaGram_global_functions_MSAntennaGramFunctions::msAntennaGramPosition ( )

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: