casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
ASTEFXDataset.h
Go to the documentation of this file.
00001 //#---------------------------------------------------------------------------
00002 //# ASTEFXDataset.h: Class for ASTE data header.
00003 //#---------------------------------------------------------------------------
00004 //# Copyright (C) 2000-2006
00005 //# Associated Universities, Inc. Washington DC, USA.
00006 //#
00007 //# This library is free software; you can redistribute it and/or modify it
00008 //# under the terms of the GNU Library General Public License as published by
00009 //# the Free Software Foundation; either version 2 of the License, or (at your
00010 //# option) any later version.
00011 //#
00012 //# This library is distributed in the hope that it will be useful, but WITHOUT
00013 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00014 //# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00015 //# License for more details.
00016 //#
00017 //# You should have received a copy of the GNU Library General Public License
00018 //# along with this library; if not, write to the Free Software Foundation,
00019 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
00020 //#
00021 //# Correspondence concerning AIPS++ should be addressed as follows:
00022 //#        Internet email: aips2-request@nrao.edu.
00023 //#        Postal address: AIPS++ Project Office
00024 //#                        National Radio Astronomy Observatory
00025 //#                        520 Edgemont Road
00026 //#                        Charlottesville, VA 22903-2475 USA
00027 //#
00028 //# $Id$
00029 //#---------------------------------------------------------------------------
00030 //# Original: 2008/10/30, Takeshi Nakazato, NAOJ
00031 //#---------------------------------------------------------------------------
00032 
00033 #ifndef ASTE_FX_DATASET_H
00034 #define ASTE_FX_DATASET_H
00035 
00036 #define ASTE_ARYMAX_FX 12
00037 
00038 #include <atnf/PKSIO/NRODataset.h>
00039 
00040 #include <string>
00041 
00042 using namespace std ;
00043 
00044 // <summary>
00045 // Accessor class for ASTE FX data.
00046 // </summary>
00047 //
00048 // <prerequisite>
00049 //   <li> <linkto class=ASTEFXReader>ASTEFXReader</linkto>
00050 //   <li> <linkto class=NRODataset>NRODataset</linkto>
00051 // </prerequisite>
00052 //
00053 // <reviewed reviewer="" date="" tests="" demos="">
00054 // </reviewed>
00055 //
00056 // <etymology>
00057 // This class actually accesses data from NRO telescopes. This is specialized class 
00058 // for ASTE telescope with FX spectrometer. Only fillHeader method is implemented here. 
00059 // The fillRecord method is implemented in <linkto class=NRODataset>NRODataset</linkto>.
00060 // </etymology>
00061 //
00062 // <synopsis>
00063 // Accessor class for ASTE FX data.
00064 // </synopsis>
00065 //
00066 
00067 class ASTEFXDataset : public NRODataset
00068 {
00069  public:
00070   // constructor
00071   ASTEFXDataset( string name ) ;
00072 
00073   // destructor
00074   virtual ~ASTEFXDataset() ;
00075 
00076   // data initialization 
00077   virtual void initialize() ;
00078 
00079   // fill header from file 
00080   virtual int fillHeader() ;
00081 
00082  protected:
00083   // fill header information
00084   virtual int fillHeader( int sameEndian ) ;
00085 } ;
00086 
00087 
00088 #endif /* ASTE_FX_DATASET_H */