LCOV - code coverage report
Current view: top level - synthesis/CalTables - BJonesTable.cc (source / functions) Hit Total Coverage
Test: casacpp_coverage.info Lines: 0 23 0.0 %
Date: 2024-10-04 18:58:15 Functions: 0 8 0.0 %

          Line data    Source code
       1             : //# BJonesTable.cc: Implementation of BJonesTable.h
       2             : //# Copyright (C) 1996,1997,1998,1999,2000,2001,2002,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/BJonesTable.h>
      30             : 
      31             : using namespace casacore;
      32             : namespace casa { //# NAMESPACE CASA - BEGIN
      33             : 
      34             : //----------------------------------------------------------------------------
      35             : 
      36           0 : BJonesTable::BJonesTable() : SolvableVisJonesTable(), itsBJonesDesc()
      37             : {
      38             : // Default null constructor for calibration table; do nothing for now
      39             : // Output to private data:
      40             : //    itsBJonesDesc      BJonesDesc         BJones table descriptor
      41             : //
      42           0 : };
      43             : 
      44             : //----------------------------------------------------------------------------
      45             : 
      46           0 : BJonesTable::~BJonesTable()
      47             : {
      48             : // Default destructor
      49             : //
      50           0 : };
      51             : 
      52             : //----------------------------------------------------------------------------
      53             : 
      54           0 : BJonesTable::BJonesTable (const String& tableName, 
      55           0 :                           Table::TableOption access) :
      56           0 :   itsBJonesDesc()
      57             : {
      58             : // Construct from a time-variable VisJones cal table name and access option. 
      59             : // Used for creating new tables or opening an existing table.
      60             : // Input:
      61             : //    tableName          const String&         Cal table name
      62             : //    access             Table::TableOption    Access option
      63             : // Output to private data:
      64             : //    itsBJonesDesc      BJonesDesc            BJones table descriptor
      65             : //
      66             :   // Is this a new or existing calibration table ?
      67           0 :   if (access == Table::New || access == Table::NewNoReplace ||
      68             :       access == Table::Scratch) {
      69           0 :     createCalTable (tableName, itsBJonesDesc, access);
      70             :   } else {
      71           0 :     openCalTable (tableName, access);
      72             :   };
      73           0 : };
      74             : 
      75             : //----------------------------------------------------------------------------
      76             : 
      77           0 : BJonesPolyTable::BJonesPolyTable() : BJonesTable(), itsBJonesPolyDesc()
      78             : {
      79             : // Default null constructor for calibration table; do nothing for now
      80             : // Output to private data:
      81             : //    itsBJonesPolyDesc      BJonesPolyDesc        BJonesPoly table descriptor
      82             : //
      83           0 : };
      84             : 
      85             : //----------------------------------------------------------------------------
      86             : 
      87           0 : BJonesPolyTable::~BJonesPolyTable()
      88             : {
      89             : // Default destructor
      90             : //
      91           0 : };
      92             : 
      93             : //----------------------------------------------------------------------------
      94             : 
      95           0 : BJonesPolyTable::BJonesPolyTable (const String& tableName, 
      96           0 :                                   Table::TableOption access) :
      97           0 :   itsBJonesPolyDesc()
      98             : {
      99             : // Construct from a time-variable VisJones cal table name and access option. 
     100             : // Used for creating new tables or opening an existing table.
     101             : // Input:
     102             : //    tableName          const String&         Cal table name
     103             : //    access             Table::TableOption    Access option
     104             : // Output to private data:
     105             : //    itsBJonesPolyDesc  BJonesPolyDesc        BJonesPoly table descriptor
     106             : //
     107             :   // Is this a new or existing calibration table ?
     108           0 :   if (access == Table::New || access == Table::NewNoReplace ||
     109             :       access == Table::Scratch) {
     110           0 :     createCalTable (tableName, itsBJonesPolyDesc, access);
     111           0 :     calMainAsTable().tableInfo().setSubType("BPOLY");
     112             :   } else {
     113           0 :     openCalTable (tableName, access);
     114             :   };
     115           0 : };
     116             : 
     117             : //----------------------------------------------------------------------------
     118             : 
     119             : 
     120             : } //# NAMESPACE CASA - END
     121             : 

Generated by: LCOV version 1.16