casa::ListConverter Class Reference

Converts a list or lists dumped from the splatalogue web interface to a casa table. More...

#include <ListConverter.h>

List of all members.

Public Member Functions

 ListConverter (const Vector< String > &filename, const String &table)
 Constructor.
 ~ListConverter ()
 destuctor
SplatalogueTableload ()
 load the lists into the table.

Private Member Functions

 ListConverter ()
void _parseLists ()
SplatalogueTable_defineTable (const uInt nrows)
void _addData (const SplatalogueTable *table) const

Private Attributes

LogIO * _log
Vector< RegularFile > _listFiles
String _tableName
String _freqUnit
String _smu2Unit
String _elUnit
String _euUnit
Vector< String > _species
Vector< String > _chemName
Vector< String > _qns
Vector< String > _lineList
Vector< Bool > _recommended
Vector< Double > _frequency
Vector< Float > _intensity
Vector< Float > _smu2
Vector< Float > _logA
Vector< Float > _eL
Vector< Float > _eU

Detailed Description

Converts a list or lists dumped from the splatalogue web interface to a casa table.

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

Etymology

Converts a splatalogue line list to a CASA table.

Synopsis

It is a requirement that users be able to convert splatalogue line lists to CASA tables for manipulation of these data within CASA.

Example

 Vector<String> files(2);
 files[0] = "myfile1";
 files[1] = "myfile2";
 Converter converter(files, "mytable");
 converter.convert();

Motivation

A class to for splatalogue list conversion.

Definition at line 75 of file ListConverter.h.


Constructor & Destructor Documentation

casa::ListConverter::ListConverter ( const Vector< String > &  filename,
const String &  table 
)

Constructor.

casa::ListConverter::~ListConverter (  ) 

destuctor

casa::ListConverter::ListConverter (  )  [private]

Member Function Documentation

void casa::ListConverter::_addData ( const SplatalogueTable table  )  const [private]
SplatalogueTable* casa::ListConverter::_defineTable ( const uInt  nrows  )  [private]
void casa::ListConverter::_parseLists (  )  [private]
SplatalogueTable* casa::ListConverter::load (  ) 

load the lists into the table.

It is the caller's responsibility to delete the returned pointer.


Member Data Documentation

Vector<String> casa::ListConverter::_chemName [private]

Definition at line 92 of file ListConverter.h.

Vector<Float> casa::ListConverter::_eL [private]

Definition at line 95 of file ListConverter.h.

String casa::ListConverter::_elUnit [private]

Definition at line 91 of file ListConverter.h.

Vector<Float> casa::ListConverter::_eU [private]

Definition at line 95 of file ListConverter.h.

String casa::ListConverter::_euUnit [private]

Definition at line 91 of file ListConverter.h.

Vector<Double> casa::ListConverter::_frequency [private]

Definition at line 94 of file ListConverter.h.

Definition at line 91 of file ListConverter.h.

Vector<Float> casa::ListConverter::_intensity [private]

Definition at line 95 of file ListConverter.h.

Vector<String> casa::ListConverter::_lineList [private]

Definition at line 92 of file ListConverter.h.

Vector<RegularFile> casa::ListConverter::_listFiles [private]

Definition at line 90 of file ListConverter.h.

LogIO* casa::ListConverter::_log [private]

Definition at line 88 of file ListConverter.h.

Vector<Float> casa::ListConverter::_logA [private]

Definition at line 95 of file ListConverter.h.

Vector<String> casa::ListConverter::_qns [private]

Definition at line 92 of file ListConverter.h.

Vector<Bool> casa::ListConverter::_recommended [private]

Definition at line 93 of file ListConverter.h.

Vector<Float> casa::ListConverter::_smu2 [private]

Definition at line 95 of file ListConverter.h.

Definition at line 91 of file ListConverter.h.

Vector<String> casa::ListConverter::_species [private]

Definition at line 92 of file ListConverter.h.

Definition at line 91 of file ListConverter.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1