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

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

First Working version of the PKSFiller

File size: 920 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 private:
42
43 PKSreader* reader_;
44 STHeader* header_;
45 casa::String filename_;
46 casa::Int nIF_, nBeam_, nPol_, nChan_, nInDataRow;
47 casa::Vector<casa::Bool> haveXPol_;
48};
49
50
51};
52#endif
Note: See TracBrowser for help on using the repository browser.