Main Page | Class List | Directories | File List | Class Members | File Members

ObitIOUVAIPS.h

Go to the documentation of this file.
00001 /* $Id: ObitIOUVAIPS.h,v 1.7 2007/08/31 17:24:48 bcotton Exp $     */
00002 /*--------------------------------------------------------------------*/
00003 /*;  Copyright (C) 2003-2007                                          */
00004 /*;  Associated Universities, Inc. Washington DC, USA.                */
00005 /*;                                                                   */
00006 /*;  This program is free software; you can redistribute it and/or    */
00007 /*;  modify it under the terms of the GNU General Public License as   */
00008 /*;  published by the Free Software Foundation; either version 2 of   */
00009 /*;  the License, or (at your option) any later version.              */
00010 /*;                                                                   */
00011 /*;  This program is distributed in the hope that it will be useful,  */
00012 /*;  but WITHOUT ANY WARRANTY; without even the implied warranty of   */
00013 /*;  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    */
00014 /*;  GNU General Public License for more details.                     */
00015 /*;                                                                   */
00016 /*;  You should have received a copy of the GNU General Public        */
00017 /*;  License along with this program; if not, write to the Free       */
00018 /*;  Software Foundation, Inc., 675 Massachusetts Ave, Cambridge,     */
00019 /*;  MA 02139, USA.                                                   */
00020 /*;                                                                   */
00021 /*; Correspondence about this software should be addressed as follows:*/
00022 /*;         Internet email: bcotton@nrao.edu.                         */
00023 /*;         Postal address: William Cotton                            */
00024 /*;                         National Radio Astronomy Observatory      */
00025 /*;                         520 Edgemont Road                         */
00026 /*;                         Charlottesville, VA 22903-2475 USA        */
00027 /*--------------------------------------------------------------------*/
00028 #ifndef OBITIOUVAIPS_H 
00029 #define OBITIOUVAIPS_H 
00030 #include "fitsio.h"
00031 #include "Obit.h"
00032 #include "ObitIO.h"
00033 #include "ObitFile.h"
00034 #include "ObitUVDesc.h"
00035 #include "ObitUVSel.h"
00036 
00037 /*-------- ObitIO: Software for the recently deceased ------------------*/
00070 /*--------------Class definitions-------------------------------------*/
00072 typedef struct {
00073 #include "ObitIOUVAIPSDef.h" /* This class definition */
00074 } ObitIOUVAIPS;
00075 
00076 /*------------------- Macroes ----------------------------------------*/
00082 #define ObitIOUVAIPSUnref(in) ObitUnref (in)
00083 
00089 #define ObitIOUVAIPSRef(in) ObitRef (in)
00090 
00097 #define ObitIOUVAIPSIsA(in) ObitIsA (in, ObitIOUVAIPSGetClass())
00098 
00099 /*---------------Public functions---------------------------*/
00101 void ObitIOUVAIPSClassInit (void);
00102 
00104 ObitIOUVAIPS* newObitIOUVAIPS (gchar* name, ObitInfoList *info,
00105                                ObitErr *err);
00106 
00108 gconstpointer ObitIOUVAIPSGetClass (void);
00109 
00111 gboolean ObitIOUVAIPSSame (ObitIO *in, ObitInfoList *in1, 
00112                            ObitInfoList *in2, ObitErr *err);
00113 
00115 void ObitIOUVAIPSRename (ObitIO *in, ObitInfoList *info, ObitErr *err);
00116 
00118 void ObitIOUVAIPSZap  (ObitIOUVAIPS *in, ObitErr *err);
00119 
00121 ObitIOUVAIPS* ObitIOUVAIPSCopy  (ObitIOUVAIPS *in, 
00122                                        ObitIOUVAIPS *out, ObitErr *err);
00124 ObitIOCode ObitIOUVAIPSOpen (ObitIOUVAIPS *in, ObitIOAccess access, 
00125                                 ObitInfoList *info, ObitErr *err);
00126 
00128 ObitIOCode ObitIOUVAIPSClose (ObitIOUVAIPS *in, ObitErr *err);
00129 
00131 ObitIOCode ObitIOUVAIPSSet (ObitIOUVAIPS *in, ObitInfoList *info, 
00132                                ObitErr *err);
00133 
00135 ObitIOCode ObitIOUVAIPSRead (ObitIOUVAIPS *in, gfloat *data, 
00136                                 ObitErr *err);
00137 
00139 ObitIOCode ObitIOUVAIPSWrite (ObitIOUVAIPS *in, gfloat *data, 
00140                                  ObitErr *err);
00141 
00143 ObitIOCode ObitIOUVAIPSFlush (ObitIOUVAIPS *in, ObitErr *err);
00144 
00146 ObitIOCode ObitIOUVAIPSReadDescriptor (ObitIOUVAIPS *in, ObitErr *err);
00147 
00149 ObitIOCode ObitIOUVAIPSWriteDescriptor (ObitIOUVAIPS *in, ObitErr *err);
00150 
00152 void ObitIOUVAIPSCreateBuffer (gfloat **data, glong *size, 
00153                                   ObitIOUVAIPS *in, ObitInfoList *info, 
00154                                   ObitErr *err);
00155 
00158 Obit* newObitIOUVAIPSTable (ObitIOUVAIPS *in, ObitIOAccess access, 
00159                       gchar *tabType, glong *tabver, ObitErr *err);
00160 
00162 ObitIOCode ObitIOUVAIPSUpdateTables (ObitIOUVAIPS *in, ObitInfoList *info, 
00163                                      ObitErr *err);
00164 
00165 /*---------------Class Info--------------------------*/
00171 typedef struct  {
00172 #include "ObitIOUVAIPSClassDef.h" /* Actual definition */
00173 } ObitIOUVAIPSClassInfo; 
00174 
00175 #endif /* OBITIOUVAIPS_H */ 

Generated on Fri Aug 31 22:13:04 2007 for Obit by  doxygen 1.3.9.1