casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Static Public Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
casa::CTEnums Class Reference

#include <CTEnums.h>

Public Types

enum  colDef {
  TIME,
  TIME_EXTRA_PREC,
  FIELD_ID,
  SPECTRAL_WINDOW_ID,
  ANTENNA1,
  ANTENNA2,
  INTERVAL,
  SCAN_NUMBER,
  OBSERVATION_ID,
  ARRAY_ID,
  CPARAM,
  FPARAM,
  PARAMERR,
  FLAG,
  SNR,
  WEIGHT
}
 Enumerate all relevant data fields (columns and keywords) More...
 

Static Public Member Functions

static casacore::String fieldName (casacore::Int enumField)
 Access functions for column/keyword description data. More...
 
static casacore::Block
< casacore::String
fieldNames (const casacore::Vector< casacore::Int > &enumFields)
 
static casacore::DataType basicType (casacore::Int enumField)
 

Static Private Member Functions

static void initMaps ()
 Initialize the static maps. More...
 

Static Private Attributes

static std::map< casacore::Int,
casacore::String
theirFieldMap
 Static ordered maps containing field descriptions Enum => Field Name. More...
 
static std::map< casacore::Int,
casacore::DataType > 
theirTypeMap
 Enum => Basic data type. More...
 

Detailed Description

Definition at line 84 of file CTEnums.h.

Member Enumeration Documentation

Enumerate all relevant data fields (columns and keywords)

Enumerator
TIME 

new cal table columns

TIME_EXTRA_PREC 

Extra time precision.

FIELD_ID 

Field identifier.

SPECTRAL_WINDOW_ID 

Spectral window identifier.

ANTENNA1 

Antenna number.

ANTENNA2 
INTERVAL 

Interval.

SCAN_NUMBER 

scan number

OBSERVATION_ID 

Observation identifier.

ARRAY_ID 

casacore::Array identifier

CPARAM 

Solution parameters and weights cal solution params.

FPARAM 
PARAMERR 

cal solution param errors

FLAG 

flag

SNR 

Solution SNR.

WEIGHT 

solution weight

Definition at line 88 of file CTEnums.h.

Member Function Documentation

static casacore::DataType casa::CTEnums::basicType ( casacore::Int  enumField)
static
static casacore::String casa::CTEnums::fieldName ( casacore::Int  enumField)
static

Access functions for column/keyword description data.

static casacore::Block<casacore::String> casa::CTEnums::fieldNames ( const casacore::Vector< casacore::Int > &  enumFields)
static
static void casa::CTEnums::initMaps ( )
staticprivate

Initialize the static maps.

Member Data Documentation

std::map<casacore::Int, casacore::String> casa::CTEnums::theirFieldMap
staticprivate

Static ordered maps containing field descriptions Enum => Field Name.

Definition at line 135 of file CTEnums.h.

std::map<casacore::Int, casacore::DataType> casa::CTEnums::theirTypeMap
staticprivate

Enum => Basic data type.

Definition at line 137 of file CTEnums.h.


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