casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
CalIterBase.h
Go to the documentation of this file.
00001 //# CalIterBase.h: Base class for calibration table iterators
00002 //# Copyright (C) 1996,1997,1998,2001,2002,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_CALITERBASE_H
00030 #define CALIBRATION_CALITERBASE_H
00031 
00032 #include <casa/aips.h>
00033 #include <synthesis/CalTables/CalTable.h>
00034 
00035 
00036 namespace casa { //# NAMESPACE CASA - BEGIN
00037 
00038 // <summary> 
00039 // CalIterBase: Base class for calibration table iterators
00040 // </summary>
00041 
00042 // <use visibility=export>
00043 
00044 // <reviewed reviewer="" date="" tests="" demos="">
00045 
00046 // <prerequisite>
00047 //   <li> <linkto class="CalTable">CalTable</linkto> module
00048 // </prerequisite>
00049 //
00050 // <etymology>
00051 // From "calibration table iterator" and "base class"
00052 // </etymology>
00053 //
00054 // <synopsis>
00055 // The CalIterBase class is an abstract base class defining
00056 // the common fundamental interface for different types of
00057 // calibration table iterators. Specializations include
00058 // sequential and indexed iterators.
00059 // </synopsis>
00060 //
00061 // <example>
00062 // <srcblock>
00063 // </srcblock>
00064 // </example>
00065 //
00066 // <motivation>
00067 // Provide an abstract base class for all calibration table iterators
00068 // </motivation>
00069 //
00070 // <todo asof="01/08/01">
00071 // (i) Deal with non-standard columns.
00072 // </todo>
00073 
00074 class CalIterBase 
00075 {
00076  public:
00077   // Default destructor
00078   virtual ~CalIterBase() {};
00079 
00080   // Current iteration sub-table
00081   virtual CalTable& subTable() = 0;
00082 
00083  protected:
00084   // Prohibit public use of the null constructor, which
00085   // does not produce a usable object.
00086   CalIterBase() {};
00087 
00088  private:
00089 
00090 };
00091 
00092 
00093 } //# NAMESPACE CASA - END
00094 
00095 #endif
00096    
00097   
00098 
00099 
00100