LCOV - code coverage report
Current view: top level - synthesis/CalTables - EPointTable.cc (source / functions) Hit Total Coverage
Test: casacpp_coverage.info Lines: 0 14 0.0 %
Date: 2024-10-09 13:55:54 Functions: 0 2 0.0 %

          Line data    Source code
       1             : //# EPointTable.cc: Implementation of EPointTable.h
       2             : //# Copyright (C) 1996,1997,1998,1999,2000,2001,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/EPointTable.h>
      30             : #include <synthesis/CalTables/EPointDesc.h>
      31             : //----------------------------------------------------------------------------
      32             : using namespace casacore;
      33             : namespace casa {
      34           0 : EPointTable::EPointTable (const String& tableName, 
      35           0 :                           Table::TableOption access) :
      36           0 :   itsEPointDesc()
      37             : {
      38             : // Construct from a time-variable VisJones cal table name and access option. 
      39             : // Used for creating new tables or opening an existing table.
      40             : // Input:
      41             : //    tableName                  const String&          Cal table name
      42             : //    access                     Table::TableOption     Access option
      43             : // Output to private data:
      44             : //    itsGJonesDelayRateSBDesc   GJonesDelayRateSBDesc  GJonesDelayRateSB 
      45             : //                                                      table descriptor
      46             : //
      47             :   // Is this a new or existing calibration table ?
      48           0 :   if (access == Table::New && access == Table::NewNoReplace &&
      49             :       access == Table::Scratch) 
      50             :     {
      51             :       //      cerr << "EPointTable: createCalTable" << endl;
      52           0 :       createCalTable (tableName, itsEPointDesc, access);
      53             :     }
      54             :   else 
      55             :     {
      56             :       //      cerr << "EPointTable: openCalTable" << endl;
      57           0 :       openCalTable (tableName, access);
      58             :     }
      59           0 : };
      60             : 
      61           0 : EPointTable::EPointTable (const String& tableName, 
      62             :                                               const String& type,
      63           0 :                                               Table::TableOption access) :
      64           0 :   itsEPointDesc(type)
      65             : {
      66             : // Construct from a time-variable VisJones cal table name and access option. 
      67             : // Used for creating new tables or opening an existing table.
      68             : // Input:
      69             : //    tableName                const String&         Cal table name
      70             : //    access                   Table::TableOption    Access option
      71             : // Output to private data:
      72             : //    itsEPointDesc  EPointDesc  EPoint table 
      73             : //                                                   descriptor
      74             : //
      75             :   // Is this a new or existing calibration table ?
      76           0 :   if (access == Table::New || access == Table::NewNoReplace ||
      77             :       access == Table::Scratch) {
      78           0 :     createCalTable (tableName, itsEPointDesc, access);
      79             :   } else {
      80           0 :     openCalTable (tableName, access);
      81             :   };
      82           0 : };
      83             : }

Generated by: LCOV version 1.16