source: branches/newfiller/src/NROFiller.h@ 1840

Last change on this file since 1840 was 1817, checked in by Takeshi Nakazato, 14 years ago

Changed handling of reader_ attribute.

File size: 1.4 KB
RevLine 
[1791]1//
2// C++ Interface: NROFiller
3//
4// Description:
5//
6// This class is a concrete class that derives from FillerBase class.
7// The class implements the following methods to be able to read NRO
8// data (45m and ASTE).
9//
10// open()
11// close()
12// fill()
13//
14// The fill() method usually iterates over the source data and calls
15// the setXYZ() methods for. After all the data for a row has been set via
16// these methods, the fill() method needs to call commitRow() to write the
17// data to the scantable.
18// All arguments which are defaulted in the setXYZ() methods are optional. All
19// others should be set explicitly.
20//
21// Author: Takeshi Nakazato <takeshi.nakazato@nao.ac.jp>, (C) 2010
22//
23// Copyright: See COPYING file that comes with this distribution
24//
25//
26#ifndef ASAPNROFILLER_H
27#define ASAPNROFILLER_H
28
[1792]29#include "FillerBase.h"
30
[1791]31// STL
32#include <string>
33#include <vector>
34// AIPS++
35#include <casa/aips.h>
36#include <atnf/PKSIO/NROReader.h>
37
38namespace asap
39{
40
41class NROFiller : public FillerBase
42{
43 public:
[1812]44 explicit NROFiller(casa::CountedPtr<Scantable> stable);
[1791]45 virtual ~NROFiller();
46
[1812]47 bool open(const std::string& filename) ;
48 void fill() ;
49 void close() ;
[1791]50
51 protected:
52
53 private:
[1812]54 NROFiller();
55 NROFiller(const NROFiller&);
56 NROFiller& operator=(const NROFiller&);
57
[1791]58 // pointer to the reader
[1817]59 //NROReader *reader_ ;
60 casa::CountedPtr<NROReader> reader_ ;
[1792]61};
[1791]62
63
[1792]64}
65#endif
Note: See TracBrowser for help on using the repository browser.