source: trunk/src/PKSFiller.h@ 2024

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

pass down record for filler options

File size: 1.0 KB
RevLine 
[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
[1904]22
[1795]23#include "FillerBase.h"
24#include "Scantable.h"
25
[1904]26class casa::Record;
[1795]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
[1904]38 bool open(const std::string& filename, const casa::Record& rec);
39 // bool open(const std::string& filename);
[1795]40 void fill();
41 void close();
42
[1811]43
[1795]44 private:
45
[1811]46 PKSFiller();
47 PKSFiller(const PKSFiller&);
48 PKSFiller& operator=(const PKSFiller&);
49
[1815]50 casa::CountedPtr<PKSreader> reader_;
[1811]51 casa::String filename_;
52 casa::Int nIF_, nBeam_, nPol_, nChan_, nInDataRow;
53 casa::Vector<casa::Bool> haveXPol_;
[1795]54};
55
56
57};
58#endif
Note: See TracBrowser for help on using the repository browser.