casa
5.7.0-16
|
Class to hold values from cal library file parser. More...
#include <CalLibraryParse.h>
Public Member Functions | |
CalLibraryParse () | |
~CalLibraryParse () | |
const casacore::Record * | record () |
void | reset () |
void | addStringParam (casacore::String key, casacore::String val) |
void | addBoolParam (casacore::String key, casacore::Bool val) |
void | addMapParam (casacore::String mapname, casacore::Int val) |
void | addMapParam (casacore::Int val) |
void | addMap () |
void | addCaltable () |
Static Public Attributes | |
static CalLibraryParse * | thisCalLibParser |
Private Member Functions | |
void | resetCaltable () |
void | resetParamRecord () |
void | addDefaultMap (casacore::String key) |
void | issueKeywordWarning (casacore::String key) |
Private Attributes | |
casacore::Record * | callibRec_ |
casacore::Record | paramRec_ |
casacore::String | caltableName_ |
casacore::String | mapName_ |
casacore::Vector< casacore::Int > | mapList_ |
casacore::Bool | calwt_ |
Class to hold values from cal library file parser.
It is necessary to be able to give a cal library filename for instructions for on-the-fly calibration. This can be given in a CLI or set in a GUI file browser.
Internal
CalLibraryParse is the class used to parse a cal library.
CalLibraryParse is used by the parser of cal library files. The parser is written in Bison and Flex in files CalLibraryGram.yy and.ll. The statements in there use the routines in this file to complete a casacore::Record with default and specified calibration parameters.
used in the table command. Global variables (like a list and a vector) are used in MSFieldParse.cc to hold further information.
Global functions are used to operate on the information. The main function is the global function callibSetParams. It parses the given calibration library file and completes the given Record. This is, in fact, the only function to be used by a user.
Definition at line 73 of file CalLibraryParse.h.
casa::CalLibraryParse::CalLibraryParse | ( | ) |
casa::CalLibraryParse::~CalLibraryParse | ( | ) |
void casa::CalLibraryParse::addBoolParam | ( | casacore::String | key, |
casacore::Bool | val | ||
) |
void casa::CalLibraryParse::addCaltable | ( | ) |
|
private |
void casa::CalLibraryParse::addMap | ( | ) |
void casa::CalLibraryParse::addMapParam | ( | casacore::String | mapname, |
casacore::Int | val | ||
) |
void casa::CalLibraryParse::addMapParam | ( | casacore::Int | val | ) |
void casa::CalLibraryParse::addStringParam | ( | casacore::String | key, |
casacore::String | val | ||
) |
|
private |
const casacore::Record* casa::CalLibraryParse::record | ( | ) |
void casa::CalLibraryParse::reset | ( | ) |
|
private |
|
private |
|
private |
Definition at line 96 of file CalLibraryParse.h.
|
private |
Definition at line 98 of file CalLibraryParse.h.
|
private |
Definition at line 101 of file CalLibraryParse.h.
|
private |
Definition at line 100 of file CalLibraryParse.h.
|
private |
Definition at line 99 of file CalLibraryParse.h.
|
private |
Definition at line 97 of file CalLibraryParse.h.
|
static |
Definition at line 79 of file CalLibraryParse.h.