source: trunk/external-alma/atnf/PKSIO/NROOTFDataset.h@ 3087

Last change on this file since 3087 was 2782, checked in by Takeshi Nakazato, 12 years ago

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Refactoring NRO filler.


File size: 2.8 KB
Line 
1//#---------------------------------------------------------------------------
2//# NROOTFDataset.h: Class for NRO 45m OTF dataset.
3//#---------------------------------------------------------------------------
4//# Copyright (C) 2000-2006
5//# Associated Universities, Inc. Washington DC, USA.
6//#
7//# This library is free software; you can redistribute it and/or modify it
8//# under the terms of the GNU Library General Public License as published by
9//# the Free Software Foundation; either version 2 of the License, or (at your
10//# option) any later version.
11//#
12//# This library is distributed in the hope that it will be useful, but WITHOUT
13//# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14//# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
15//# License for more details.
16//#
17//# You should have received a copy of the GNU Library General Public License
18//# along with this library; if not, write to the Free Software Foundation,
19//# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
20//#
21//# Correspondence concerning AIPS++ should be addressed as follows:
22//# Internet email: aips2-request@nrao.edu.
23//# Postal address: AIPS++ Project Office
24//# National Radio Astronomy Observatory
25//# 520 Edgemont Road
26//# Charlottesville, VA 22903-2475 USA
27//#
28//# $Id$
29//#---------------------------------------------------------------------------
30//# Original: 2009/02/27, Takeshi Nakazato, NAOJ
31//#---------------------------------------------------------------------------
32
33#ifndef NRO_OTF_DATASET_H
34#define NRO_OTF_DATASET_H
35
36#define NRO_ARYMAX 35
37
38#include <atnf/PKSIO/NRODataset.h>
39
40#include <string>
41
42using namespace std ;
43
44// <summary>
45// Accessor class for NRO 45m OTF data.
46// </summary>
47//
48// <prerequisite>
49// <li> <linkto class=NRO45Reader>NRO45Reader</linkto>
50// <li> <linkto class=NRODataset>NRODataset</linkto>
51// </prerequisite>
52//
53// <reviewed reviewer="" date="" tests="" demos="">
54// </reviewed>
55//
56// <etymology>
57// This class actually accesses data from NRO telescopes. This is specialized class
58// for NRO 45m telescope with OTF observing mode. Only fillHeader method is implemented here.
59// The fillRecord method is implemented in <linkto class=NRODataset>NRODataset</linkto>.
60// </etymology>
61//
62// <synopsis>
63// Accessor class for NRO 45m OTF data.
64// </synopsis>
65//
66
67class NROOTFDataset : public NRODataset
68{
69 public:
70 // constructor
71 NROOTFDataset( string name ) ;
72
73 // destructor
74 virtual ~NROOTFDataset() ;
75
76 // data initialization
77 virtual void initialize() ;
78
79 protected:
80 // fill header information
81 virtual int fillHeader( int sameEndian ) ;
82
83 // return ARRAYMAX
84 virtual int arrayMax() { return NRO_ARYMAX; } ;
85} ;
86
87
88#endif /* NRO_OTF_DATASET_H */
Note: See TracBrowser for help on using the repository browser.