Class to show various TaQL-related info. More...
#include <TaQLShow.h>
Static Public Member Functions | |
static String | getInfo (const Vector< String > &parts, const TaQLStyle &style) |
static String | showTable (const Vector< String > &parts, const TaQLStyle &style) |
static String | showCommand (const String &cmd) |
static String | showFuncs (const String &type, const Vector< String > &parts, const TaQLStyle &style) |
static void | showUnitKind (std::ostream &os, const UnitVal &kind, const std::map< String, UnitName > &units) |
static String | showUnits (const String &type) |
static String | showMeasTypes (const String &type) |
Class to show various TaQL-related info.
Internal
The result of parsing a TaQL command is stored in TaQLNode objects. Each part of the command can have its own specialized TaQLNodeRep object, which forms the letter in the TaQLNode envelope.
The actual scanning/parsing of the command is done using flex/bison as defined in the TableGram files.
The letter-envelope idiom (counted pointer) makes if much easier to keep track of memory, especially in the case of exceptions.
Definition at line 72 of file TaQLShow.h.
static String casacore::TaQLShow::getInfo | ( | const Vector< String > & | parts, | |
const TaQLStyle & | style | |||
) | [static] |
static String casacore::TaQLShow::showFuncs | ( | const String & | type, | |
const Vector< String > & | parts, | |||
const TaQLStyle & | style | |||
) | [static] |
static String casacore::TaQLShow::showTable | ( | const Vector< String > & | parts, | |
const TaQLStyle & | style | |||
) | [static] |
static void casacore::TaQLShow::showUnitKind | ( | std::ostream & | os, | |
const UnitVal & | kind, | |||
const std::map< String, UnitName > & | units | |||
) | [static] |