Last change
on this file since 1798 was 1353, checked in by mar637, 18 years ago |
added explicit keyword for single arument constructors
|
File size:
1.1 KB
|
Rev | Line | |
---|
[810] | 1 | //
|
---|
| 2 | // C++ Interface: STTcal
|
---|
| 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 ASAPSTTCAL_H
|
---|
| 13 | #define ASAPSTTCAL_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 | #include <tables/Tables/ArrayColumn.h>
|
---|
| 20 |
|
---|
| 21 | #include "STSubTable.h"
|
---|
| 22 |
|
---|
| 23 | namespace asap {
|
---|
| 24 |
|
---|
| 25 | /**
|
---|
| 26 | The Tcal subtable of the Scantable
|
---|
| 27 |
|
---|
| 28 | @author Malte Marquarding
|
---|
| 29 | */
|
---|
| 30 | class STTcal : public STSubTable {
|
---|
| 31 | public:
|
---|
[849] | 32 | STTcal() {;}
|
---|
[1353] | 33 | explicit STTcal(casa::Table tab);
|
---|
| 34 | explicit STTcal( const Scantable& parent);
|
---|
[810] | 35 |
|
---|
| 36 | virtual ~STTcal();
|
---|
| 37 |
|
---|
[849] | 38 | STTcal& operator=(const STTcal& other);
|
---|
| 39 |
|
---|
[810] | 40 | casa::uInt addEntry( const casa::String& time,
|
---|
| 41 | const casa::Vector<casa::Float>& tcal);
|
---|
[830] | 42 | void getEntry( casa::String& time, casa::Vector<casa::Float>& tcal,
|
---|
| 43 | casa::uInt id );
|
---|
[810] | 44 |
|
---|
[856] | 45 | const casa::String& name() const { return name_; }
|
---|
| 46 |
|
---|
[810] | 47 | private:
|
---|
| 48 | void setup();
|
---|
| 49 | static const casa::String name_;
|
---|
| 50 | //casa::Table table_;
|
---|
| 51 | casa::ArrayColumn<casa::Float> tcalCol_;
|
---|
| 52 | casa::ScalarColumn<casa::String> timeCol_;
|
---|
| 53 | };
|
---|
| 54 |
|
---|
| 55 | }
|
---|
| 56 |
|
---|
| 57 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.