|
Last change
on this file since 848 was 847, checked in by mar637, 20 years ago |
|
numerous changes before move to new svn repository sourcecode.atnf.csiro.au
|
|
File size:
1.2 KB
|
| Rev | Line | |
|---|
| [809] | 1 | //
|
|---|
| 2 | // C++ Interface: STMolecules
|
|---|
| 3 | //
|
|---|
| 4 | // Description:
|
|---|
| 5 | //
|
|---|
| 6 | //
|
|---|
| 7 | // Author: Malte Marquarding <asap@atnf.csiro.au>, (C) 2006
|
|---|
| 8 | //
|
|---|
| 9 | // Copyright: See COPYING file that comes with this distribution
|
|---|
| 10 | //
|
|---|
| 11 | //
|
|---|
| 12 | #ifndef ASAPSTMOLECULES_H
|
|---|
| 13 | #define ASAPSTMOLECULES_H
|
|---|
| 14 |
|
|---|
| 15 | #include <casa/aips.h>
|
|---|
| 16 | #include <casa/BasicSL/String.h>
|
|---|
| 17 | #include <tables/Tables/Table.h>
|
|---|
| 18 | #include <tables/Tables/ScalarColumn.h>
|
|---|
| 19 |
|
|---|
| 20 | #include "STSubTable.h"
|
|---|
| 21 |
|
|---|
| 22 | namespace asap {
|
|---|
| 23 |
|
|---|
| 24 | /**
|
|---|
| 25 | The Molecules subtable of the Scantable
|
|---|
| 26 |
|
|---|
| 27 | @author Malte Marquarding
|
|---|
| 28 | */
|
|---|
| 29 | class STMolecules : public STSubTable {
|
|---|
| 30 | public:
|
|---|
| 31 | STMolecules( casa::Table::TableType tt = casa::Table::Memory);
|
|---|
| 32 |
|
|---|
| 33 | virtual ~STMolecules();
|
|---|
| 34 |
|
|---|
| 35 | casa::uInt addEntry( casa::Double restfreq, const casa::String& name="",
|
|---|
| 36 | const casa::String& formattedname="");
|
|---|
| 37 |
|
|---|
| [830] | 38 | void getEntry( casa::Double restfreq, casa::String& name,
|
|---|
| 39 | casa::String& formattedname, casa::uInt id);
|
|---|
| 40 |
|
|---|
| [847] | 41 | std::vector<double> getRestFrequencies() const;
|
|---|
| 42 |
|
|---|
| [809] | 43 | private:
|
|---|
| 44 | void setup();
|
|---|
| 45 | static const casa::String name_;
|
|---|
| 46 | //casa::Table table_;
|
|---|
| 47 | //casa::ScalarColumn<casa::uInt> freqidCol_;
|
|---|
| 48 | casa::ScalarColumn<casa::Double> restfreqCol_;
|
|---|
| 49 | casa::ScalarColumn<casa::String> nameCol_;
|
|---|
| 50 | casa::ScalarColumn<casa::String> formattednameCol_; // e.g. latex
|
|---|
| 51 |
|
|---|
| 52 | };
|
|---|
| 53 |
|
|---|
| 54 | }
|
|---|
| 55 |
|
|---|
| 56 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.