source: branches/newfiller/src/PKSFiller.h@ 2107

Last change on this file since 2107 was 1815, checked in by Malte Marquarding, 14 years ago

Eradicte raw pointer use.

File size: 1020 bytes
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#include "FillerBase.h"
23#include "Scantable.h"
24
25class PKSreader;
26
27namespace asap
28{
29
30class 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
41
42 private:
43
44 PKSFiller();
45 PKSFiller(const PKSFiller&);
46 PKSFiller& operator=(const PKSFiller&);
47
48 casa::CountedPtr<PKSreader> reader_;
49 casa::String filename_;
50 casa::Int nIF_, nBeam_, nPol_, nChan_, nInDataRow;
51 casa::Vector<casa::Bool> haveXPol_;
52};
53
54
55};
56#endif
Note: See TracBrowser for help on using the repository browser.