casacore
Static Public Member Functions | List of all members

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)
 

Detailed Description

Class to show various TaQL-related info.

Intended use:

Internal

Review Status

Test programs:
tTaQLNode

Prerequisite

Synopsis

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.

Motivation

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.

Member Function Documentation

◆ getInfo()

static String casacore::TaQLShow::getInfo ( const Vector< String > &  parts,
const TaQLStyle style 
)
static

◆ showCommand()

static String casacore::TaQLShow::showCommand ( const String cmd)
static

◆ showFuncs()

static String casacore::TaQLShow::showFuncs ( const String type,
const Vector< String > &  parts,
const TaQLStyle style 
)
static

◆ showMeasTypes()

static String casacore::TaQLShow::showMeasTypes ( const String type)
static

◆ showTable()

static String casacore::TaQLShow::showTable ( const Vector< String > &  parts,
const TaQLStyle style 
)
static

◆ showUnitKind()

static void casacore::TaQLShow::showUnitKind ( std::ostream &  os,
const UnitVal kind,
const std::map< String, UnitName > &  units 
)
static

◆ showUnits()

static String casacore::TaQLShow::showUnits ( const String type)
static

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