casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
MJonesMRec.h
Go to the documentation of this file.
00001 //# MJonesMRec.h: MJones cal_main table record access and creation
00002 //# Copyright (C) 1996,1997,1998,2003
00003 //# Associated Universities, Inc. Washington DC, USA.
00004 //#
00005 //# This library is free software; you can redistribute it and/or modify it
00006 //# under the terms of the GNU Library General Public License as published by
00007 //# the Free Software Foundation; either version 2 of the License, or (at your
00008 //# option) any later version.
00009 //#
00010 //# This library is distributed in the hope that it will be useful, but WITHOUT
00011 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00012 //# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00013 //# License for more details.
00014 //#
00015 //# You should have received a copy of the GNU Library General Public License
00016 //# along with this library; if not, write to the Free Software Foundation,
00017 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
00018 //#
00019 //# Correspondence concerning AIPS++ should be adressed as follows:
00020 //#        Internet email: aips2-request@nrao.edu.
00021 //#        Postal address: AIPS++ Project Office
00022 //#                        National Radio Astronomy Observatory
00023 //#                        520 Edgemont Road
00024 //#                        Charlottesville, VA 22903-2475 USA
00025 //#
00026 //#
00027 //# $Id$
00028 
00029 #ifndef CALIBRATION_MJONESMREC_H
00030 #define CALIBRATION_MJONESMREC_H
00031 
00032 #include <casa/aips.h>
00033 #include <synthesis/CalTables/CalMainRecord.h>
00034 
00035 namespace casa { //# NAMESPACE CASA - BEGIN
00036 
00037 // <summary> 
00038 // MJonesMRec: MJones cal_main table record access and creation
00039 // </summary>
00040 
00041 // <use visibility=export>
00042 
00043 // <reviewed reviewer="" date="" tests="" demos="">
00044 
00045 // <prerequisite>
00046 //   <li> <linkto class="CalMainRecord">CalMainRecord</linkto> module
00047 // </prerequisite>
00048 //
00049 // <etymology>
00050 // From "MJones" and "main record".
00051 // </etymology>
00052 //
00053 // <synopsis>
00054 // The MJonesMRec class allows the creation of records for the
00055 // main calibration table of MJones type, and provides access
00056 // to the individual record fields. Specializations for solvable
00057 // MJones calibration table records are provided through
00058 // inheritance.
00059 // </etymology>
00060 //
00061 // <example>
00062 // <srcblock>
00063 // </srcblock>
00064 // </example>
00065 //
00066 // <motivation>
00067 // Encapsulate access to MJones calibration table records.
00068 // </motivation>
00069 //
00070 // <todo asof="98/01/01">
00071 // (i) Deal with non-standard columns.
00072 // </todo>
00073 
00074 class MJonesMRec : public CalMainRecord
00075 {
00076  public:
00077    // Default null constructor, and destructor
00078    MJonesMRec();
00079    ~MJonesMRec() {};
00080 
00081    // Construct from an existing record
00082    MJonesMRec (const Record& inpRec);
00083 
00084    // Field accessors
00085    // a) define
00086    void defineAntenna2 (const Int& antenna2);
00087    void defineFeed2 (const Int& feed2);
00088 
00089    // b) get
00090    void getAntenna2 (Int& antenna2);
00091    void getFeed2 (Int& feed2);
00092 
00093  };
00094 
00095 
00096 } //# NAMESPACE CASA - END
00097 
00098 #endif
00099    
00100   
00101 
00102 
00103