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

ObitIOUVFITS.h

Go to the documentation of this file.
00001 /* $Id: ObitIOUVFITS.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 OBITIOUVFITS_H 
00029 #define OBITIOUVFITS_H 
00030 #include "fitsio.h"
00031 #include "Obit.h"
00032 #include "ObitIO.h"
00033 #include "ObitUVDesc.h"
00034 #include "ObitUVSel.h"
00035 
00036 
00037 /*-------- ObitIO: Software for the recently deceased ------------------*/
00063 /*--------------Class definitions-------------------------------------*/
00065 typedef struct {
00066   #include "ObitIOUVFITSDef.h" /* class definition */
00067 } ObitIOUVFITS;
00068 
00069 /*------------------- Macroes ----------------------------------------*/
00075 #define ObitIOUVFITSUnref(in) ObitUnref (in)
00076 
00082 #define ObitIOUVFITSRef(in) ObitRef (in)
00083 
00090 #define ObitIOUVFITSIsA(in) ObitIsA (in, ObitIOUVFITSGetClass())
00091 
00092 /* Private functions are only defined in the .c file */
00093 
00094 /*---------------Public functions---------------------------*/
00096 void ObitIOUVFITSClassInit (void);
00097 
00099 ObitIOUVFITS* newObitIOUVFITS (gchar* name, ObitInfoList *info,
00100                                ObitErr *err);
00101 
00103 gconstpointer ObitIOUVFITSGetClass (void);
00104 
00106 ObitIOUVFITS* ObitIOUVFITSCopy  (ObitIOUVFITS *in, 
00107                                        ObitIOUVFITS *out, ObitErr *err);
00108 
00110 gboolean ObitIOUVFITSSame (ObitIO *in, ObitInfoList *in1, 
00111                            ObitInfoList *in2, ObitErr *err);
00112 
00114 void ObitIOUVFITSRename  (ObitIO *in, ObitInfoList *info, ObitErr *err);
00115 
00117 void ObitIOUVFITSZap  (ObitIOUVFITS *in, ObitErr *err);
00118 
00119 
00121 ObitIOCode ObitIOUVFITSOpen (ObitIOUVFITS *in, ObitIOAccess access, 
00122                                 ObitInfoList *info, ObitErr *err);
00123 
00125 ObitIOCode ObitIOUVFITSClose (ObitIOUVFITS *in, ObitErr *err);
00126 
00128 ObitIOCode ObitIOUVFITSSet (ObitIOUVFITS *in, ObitInfoList *info, 
00129                                ObitErr *err);
00130 
00132 ObitIOCode ObitIOUVFITSRead (ObitIOUVFITS *in, gfloat *data, 
00133                                 ObitErr *err);
00134 
00136 ObitIOCode ObitIOUVFITSWrite (ObitIOUVFITS *in, gfloat *data, 
00137                                  ObitErr *err);
00138 
00140 ObitIOCode ObitIOUVFITSFlush (ObitIOUVFITS *in, ObitErr *err);
00141 
00143 ObitIOCode ObitIOUVFITSReadDescriptor (ObitIOUVFITS *in, ObitErr *err);
00144 
00146 ObitIOCode ObitIOUVFITSWriteDescriptor (ObitIOUVFITS *in, ObitErr *err);
00147 
00149 void
00150 ObitIOUVFITSCreateBuffer (gfloat **data, glong *size, 
00151                              ObitIOUVFITS *in, ObitInfoList *info, 
00152                              ObitErr *err);
00153 
00156 Obit* 
00157 newObitIOUVFITSTable (ObitIOUVFITS *in, ObitIOAccess access, 
00158                       gchar *tabType, glong *tabVer, ObitErr *err);
00159 
00161 ObitIOCode ObitIOUVFITSUpdateTables (ObitIOUVFITS *in,  ObitInfoList *info,
00162                                      ObitErr *err);
00163 
00164 /*---------------Class Info--------------------------*/
00170 typedef struct  {
00171 #include "ObitIOUVFITSClassDef.h" /* Actual definition */
00172 } ObitIOUVFITSClassInfo; 
00173 
00174 #endif /* OBITIOUVFITS_H */ 

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