source: branches/parallelCasa3.3/src/PKSFiller.h@ 2371

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

pass down record for filler options

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
26class casa::Record;
27class PKSreader;
28
29namespace asap
30{
31
32class PKSFiller : public FillerBase
33{
34 public:
35 explicit PKSFiller(casa::CountedPtr<Scantable> stable);
36 virtual ~PKSFiller();
37
38 bool open(const std::string& filename, const casa::Record& rec);
39 // bool open(const std::string& filename);
40 void fill();
41 void close();
42
43
44 private:
45
46 PKSFiller();
47 PKSFiller(const PKSFiller&);
48 PKSFiller& operator=(const PKSFiller&);
49
50 casa::CountedPtr<PKSreader> reader_;
51 casa::String filename_;
52 casa::Int nIF_, nBeam_, nPol_, nChan_, nInDataRow;
53 casa::Vector<casa::Bool> haveXPol_;
54};
55
56
57};
58#endif
Note: See TracBrowser for help on using the repository browser.