LCOV - code coverage report
Current view: top level - synthesis/CalTables - MJonesMRec.cc (source / functions) Hit Total Coverage
Test: casacpp_coverage.info Lines: 0 20 0.0 %
Date: 2024-12-11 20:54:31 Functions: 0 6 0.0 %

          Line data    Source code
       1             : //# MJonesMRec.cc: Implementation of MJonesMRec.h
       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 addressed as follows:
      20             : //#        Internet email: casa-feedback@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             : //# $Id$
      27             : //----------------------------------------------------------------------------
      28             : 
      29             : #include <synthesis/CalTables/MJonesMRec.h>
      30             : #include <msvis/MSVis/MSCalEnums.h> 
      31             : 
      32             : using namespace casacore;
      33             : namespace casa { //# NAMESPACE CASA - BEGIN
      34             : 
      35             : //----------------------------------------------------------------------------
      36             : 
      37           0 : MJonesMRec::MJonesMRec() : CalMainRecord()
      38             : {
      39             : // Null constructor
      40             : //
      41           0 : };
      42             : 
      43             : //----------------------------------------------------------------------------
      44             : 
      45           0 : MJonesMRec::MJonesMRec (const Record& inpRec) : CalMainRecord (inpRec)
      46             : {
      47             : // Construct from an input record
      48             : // Input:
      49             : //    inpRec           Record          Input record
      50             : //
      51           0 : };
      52             : 
      53             : //----------------------------------------------------------------------------
      54             : 
      55           0 : void MJonesMRec::defineAntenna2 (const Int& antenna2)
      56             : {
      57             : // Define the ANTENNA2 field value
      58             : // Input:
      59             : //    antenna2         const Int&      ANTENNA2 value
      60             : // Output to private data:
      61             : //    itsRecord        Record          Underlying record object
      62             : //
      63           0 :   Record newRec;
      64           0 :   newRec.define (MSC::fieldName (MSC::ANTENNA2), antenna2);
      65           0 :   addRec (newRec);
      66           0 : };
      67             : 
      68             : //----------------------------------------------------------------------------
      69             : 
      70           0 : void MJonesMRec::defineFeed2 (const Int& feed2)
      71             : {
      72             : // Define the FEED2 field value
      73             : // Input:
      74             : //    feed2            const Int&      FEED2 value
      75             : // Output to private data:
      76             : //    itsRecord        Record          Underlying record object
      77             : //
      78           0 :   Record newRec;
      79           0 :   newRec.define (MSC::fieldName (MSC::FEED2), feed2);
      80           0 :   addRec (newRec);
      81           0 : };
      82             : 
      83             : //----------------------------------------------------------------------------
      84             : 
      85           0 : void MJonesMRec::getAntenna2 (Int& antenna2)
      86             : {
      87             : // Get the ANTENNA2 field value
      88             : // Output:
      89             : //    antenna2         Int&            ANTENNA2 value
      90             : // Input from private data:
      91             : //    itsRecord        Record          Underlying record object
      92             : //
      93           0 :   record().get (MSC::fieldName (MSC::ANTENNA2), antenna2);
      94           0 : };
      95             : 
      96             : //----------------------------------------------------------------------------
      97             : 
      98           0 : void MJonesMRec::getFeed2 (Int& feed2)
      99             : {
     100             : // Get the FEED2 field value
     101             : // Output:
     102             : //    feed2            Int&            FEED2 value
     103             : // Input from private data:
     104             : //    itsRecord        Record          Underlying record object
     105             : //
     106           0 :   record().get (MSC::fieldName (MSC::FEED2), feed2);
     107           0 : };
     108             : 
     109             : //----------------------------------------------------------------------------
     110             : 
     111             : 
     112             : } //# NAMESPACE CASA - END
     113             : 

Generated by: LCOV version 1.16