casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MJonesMRec.h
Go to the documentation of this file.
1 //# MJonesMRec.h: MJones cal_main table record access and creation
2 //# Copyright (C) 1996,1997,1998,2003
3 //# Associated Universities, Inc. Washington DC, USA.
4 //#
5 //# This library is free software; you can redistribute it and/or modify it
6 //# under the terms of the GNU Library General Public License as published by
7 //# the Free Software Foundation; either version 2 of the License, or (at your
8 //# option) any later version.
9 //#
10 //# This library is distributed in the hope that it will be useful, but WITHOUT
11 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
13 //# License for more details.
14 //#
15 //# You should have received a copy of the GNU Library General Public License
16 //# along with this library; if not, write to the Free Software Foundation,
17 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
18 //#
19 //# Correspondence concerning AIPS++ should be adressed as follows:
20 //# Internet email: aips2-request@nrao.edu.
21 //# Postal address: AIPS++ Project Office
22 //# National Radio Astronomy Observatory
23 //# 520 Edgemont Road
24 //# Charlottesville, VA 22903-2475 USA
25 //#
26 //#
27 //# $Id$
28 
29 #ifndef CALIBRATION_MJONESMREC_H
30 #define CALIBRATION_MJONESMREC_H
31 
32 #include <casa/aips.h>
34 
35 namespace casa { //# NAMESPACE CASA - BEGIN
36 
37 // <summary>
38 // MJonesMRec: MJones cal_main table record access and creation
39 // </summary>
40 
41 // <use visibility=export>
42 
43 // <reviewed reviewer="" date="" tests="" demos="">
44 
45 // <prerequisite>
46 // <li> <linkto class="CalMainRecord">CalMainRecord</linkto> module
47 // </prerequisite>
48 //
49 // <etymology>
50 // From "MJones" and "main record".
51 // </etymology>
52 //
53 // <synopsis>
54 // The MJonesMRec class allows the creation of records for the
55 // main calibration table of MJones type, and provides access
56 // to the individual record fields. Specializations for solvable
57 // MJones calibration table records are provided through
58 // inheritance.
59 // </etymology>
60 //
61 // <example>
62 // <srcblock>
63 // </srcblock>
64 // </example>
65 //
66 // <motivation>
67 // Encapsulate access to MJones calibration table records.
68 // </motivation>
69 //
70 // <todo asof="98/01/01">
71 // (i) Deal with non-standard columns.
72 // </todo>
73 
74 class MJonesMRec : public CalMainRecord
75 {
76  public:
77  // Default null constructor, and destructor
78  MJonesMRec();
80 
81  // Construct from an existing record
82  MJonesMRec (const casacore::Record& inpRec);
83 
84  // Field accessors
85  // a) define
86  void defineAntenna2 (const casacore::Int& antenna2);
87  void defineFeed2 (const casacore::Int& feed2);
88 
89  // b) get
90  void getAntenna2 (casacore::Int& antenna2);
91  void getFeed2 (casacore::Int& feed2);
92 
93  };
94 
95 
96 } //# NAMESPACE CASA - END
97 
98 #endif
99 
100 
101 
102 
103 
int Int
Definition: aipstype.h:50
void defineAntenna2(const casacore::Int &antenna2)
Field accessors a) define.
void getFeed2(casacore::Int &feed2)
A hierarchical collection of named fields of various types.
Definition: Record.h:180
CalMainRecord: Calibration table record access and creation.
Definition: CalMainRecord.h:74
MJonesMRec: MJones cal_main table record access and creation.
Definition: MJonesMRec.h:74
void defineFeed2(const casacore::Int &feed2)
void getAntenna2(casacore::Int &antenna2)
b) get
MJonesMRec()
Default null constructor, and destructor.