Converts a list or lists dumped from the splatalogue web interface to a casa table. More...
#include <ListConverter.h>
Public Member Functions | |
| ListConverter (const Vector< String > &filename, const String &table) | |
| Constructor. | |
| ~ListConverter () | |
| destuctor | |
| SplatalogueTable * | load () |
| 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 |
Converts a list or lists dumped from the splatalogue web interface to a casa table.
Public interface
Converts a splatalogue line list to a CASA table.
It is a requirement that users be able to convert splatalogue line lists to CASA tables for manipulation of these data within CASA.
Vector<String> files(2); files[0] = "myfile1"; files[1] = "myfile2"; Converter converter(files, "mytable"); converter.convert();
A class to for splatalogue list conversion.
Definition at line 75 of file ListConverter.h.
| casa::ListConverter::ListConverter | ( | const Vector< String > & | filename, | |
| const String & | table | |||
| ) |
Constructor.
| casa::ListConverter::~ListConverter | ( | ) |
destuctor
| casa::ListConverter::ListConverter | ( | ) | [private] |
| 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.
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.
String casa::ListConverter::_freqUnit [private] |
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.
String casa::ListConverter::_smu2Unit [private] |
Definition at line 91 of file ListConverter.h.
Vector<String> casa::ListConverter::_species [private] |
Definition at line 92 of file ListConverter.h.
String casa::ListConverter::_tableName [private] |
Definition at line 91 of file ListConverter.h.
1.6.1