MSAntennaGram.h

Classes

Global Functions -- Global functions for flex/bison scanner/parser for MSAntennaGram (full description)

Global functions for flex/bison scanner/parser for MSAntennaGram (source)

Interface

int msAntennaGramParseCommand (const MeasurementSet *ms, const String& command)
void MSAntennaGramerror (char*)
const TableExprNode *msAntennaGramParseNode()
Int& msAntennaGramPosition()
int msAntennaGramInput (char* buf, int max_size)
String msAntennaGramRemoveEscapes (const String& in)
String msAntennaGramRemoveQuotes (const String& in)

Description

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.

To Do

Member Description

int msAntennaGramParseCommand (const MeasurementSet *ms, const String& command)

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

void MSAntennaGramerror (char*)

The yyerror function for the parser. It throws an exception with the current token.

const TableExprNode *msAntennaGramParseNode()

Give the table expression node.

Int& msAntennaGramPosition()

Give the current position in the string. This can be used when parse errors occur.

int msAntennaGramInput (char* buf, int max_size)

Declare the input routine for flex/bison.

String msAntennaGramRemoveEscapes (const String& in)

A function to remove escaped characters.

String msAntennaGramRemoveQuotes (const String& in)

A function to remove quotes from a quoted string.