Last change
on this file since 2900 was 1818, checked in by Kana Sugimoto, 14 years ago |
New Development: Yes
JIRA Issue: No (merge)
Ready for Test: Yes
Interface Changes: No
Description:
Merged changes -r1774:1817 in newfiller branch to alma branch
|
File size:
1020 bytes
|
Rev | Line | |
---|
[1795] | 1 | //
|
---|
| 2 | // C++ Interface: PKSFiller
|
---|
| 3 | //
|
---|
| 4 | // Description:
|
---|
| 5 | //
|
---|
| 6 |
|
---|
| 7 | // Author: Malte Marquarding <asap@atnf.csiro.au>, (C) 2010
|
---|
| 8 | //
|
---|
| 9 | // Copyright: See COPYING file that comes with this distribution
|
---|
| 10 | //
|
---|
| 11 | //
|
---|
| 12 | #ifndef ASAPPKSFILLER_H
|
---|
| 13 | #define ASAPPKSFILLER_H
|
---|
| 14 |
|
---|
| 15 | // STL
|
---|
| 16 | #include <string>
|
---|
| 17 | // AIPS++
|
---|
| 18 | #include <casa/aips.h>
|
---|
| 19 | #include <casa/Utilities/CountedPtr.h>
|
---|
| 20 | #include <casa/Arrays/Vector.h>
|
---|
| 21 |
|
---|
| 22 | #include "FillerBase.h"
|
---|
| 23 | #include "Scantable.h"
|
---|
| 24 |
|
---|
| 25 | class PKSreader;
|
---|
| 26 |
|
---|
| 27 | namespace asap
|
---|
| 28 | {
|
---|
| 29 |
|
---|
| 30 | class PKSFiller : public FillerBase
|
---|
| 31 | {
|
---|
| 32 | public:
|
---|
| 33 | explicit PKSFiller(casa::CountedPtr<Scantable> stable);
|
---|
| 34 | virtual ~PKSFiller();
|
---|
| 35 |
|
---|
| 36 | // bool open(const std::string& filename, const Record& rec)=0;
|
---|
| 37 | bool open(const std::string& filename);
|
---|
| 38 | void fill();
|
---|
| 39 | void close();
|
---|
| 40 |
|
---|
[1811] | 41 |
|
---|
[1795] | 42 | private:
|
---|
| 43 |
|
---|
[1811] | 44 | PKSFiller();
|
---|
| 45 | PKSFiller(const PKSFiller&);
|
---|
| 46 | PKSFiller& operator=(const PKSFiller&);
|
---|
| 47 |
|
---|
[1815] | 48 | casa::CountedPtr<PKSreader> reader_;
|
---|
[1811] | 49 | casa::String filename_;
|
---|
| 50 | casa::Int nIF_, nBeam_, nPol_, nChan_, nInDataRow;
|
---|
| 51 | casa::Vector<casa::Bool> haveXPol_;
|
---|
[1795] | 52 | };
|
---|
| 53 |
|
---|
| 54 |
|
---|
| 55 | };
|
---|
| 56 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.