|
Last change
on this file since 3036 was 2163, checked in by Malte Marquarding, 14 years ago |
|
Remove various compiler warnings
|
|
File size:
1.0 KB
|
| Line | |
|---|
| 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 |
|
|---|
| 23 | #include "FillerBase.h"
|
|---|
| 24 | #include "Scantable.h"
|
|---|
| 25 |
|
|---|
| 26 | class PKSreader;
|
|---|
| 27 |
|
|---|
| 28 | namespace asap
|
|---|
| 29 | {
|
|---|
| 30 |
|
|---|
| 31 | class PKSFiller : public FillerBase
|
|---|
| 32 | {
|
|---|
| 33 | public:
|
|---|
| 34 | explicit PKSFiller(casa::CountedPtr<Scantable> stable);
|
|---|
| 35 | virtual ~PKSFiller();
|
|---|
| 36 |
|
|---|
| 37 | bool open(const std::string& filename, const casa::Record& rec);
|
|---|
| 38 | // bool open(const std::string& filename);
|
|---|
| 39 | void fill();
|
|---|
| 40 | void close();
|
|---|
| 41 |
|
|---|
| 42 |
|
|---|
| 43 | private:
|
|---|
| 44 |
|
|---|
| 45 | PKSFiller();
|
|---|
| 46 | PKSFiller(const PKSFiller&);
|
|---|
| 47 | PKSFiller& operator=(const PKSFiller&);
|
|---|
| 48 |
|
|---|
| 49 | casa::CountedPtr<PKSreader> reader_;
|
|---|
| 50 | casa::String filename_;
|
|---|
| 51 | casa::Int nIF_, nBeam_, nPol_, nChan_, nInDataRow;
|
|---|
| 52 | casa::Vector<casa::Bool> haveXPol_;
|
|---|
| 53 | };
|
|---|
| 54 |
|
|---|
| 55 |
|
|---|
| 56 | };
|
|---|
| 57 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.