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

ObitIOImageAIPS.h

Go to the documentation of this file.
00001 /* $Id: ObitIOImageAIPS.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 OBITIOIMAGEAIPS_H 
00029 #define OBITIOIMAGEAIPS_H 
00030 #include "fitsio.h"
00031 #include "ObitIO.h"
00032 #include "ObitFile.h"
00033 #include "ObitImageDesc.h"
00034 
00035 /*-------- ObitIO: Software for the recently deceased ------------------*/
00068 /*--------------Class definitions-------------------------------------*/
00070 typedef struct {
00071 #include "ObitIOImageAIPSDef.h" /* This class definition */
00072 } ObitIOImageAIPS;
00073 
00074 /*------------------- Macroes ----------------------------------------*/
00080 #define ObitIOImageAIPSUnref(in) ObitUnref (in)
00081 
00087 #define IOImageAIPSRef(in) ObitRef (in)
00088 
00095 #define IOImageAIPSIsA(in) ObitIsA (in, IOImageAIPSGetClass())
00096 
00097 /*---------------Public functions---------------------------*/
00099 void ObitIOImageAIPSClassInit (void);
00100 
00102 ObitIOImageAIPS* newObitIOImageAIPS (gchar* name, ObitInfoList *info,
00103                                      ObitErr *err);
00104 
00106 gconstpointer ObitIOImageAIPSGetClass (void);
00107 
00109 gboolean ObitIOImageAIPSSame (ObitIO *in, ObitInfoList *in1, 
00110                               ObitInfoList *in2, ObitErr *err);
00111 
00113 void ObitIOImageAIPSRename (ObitIO *in, ObitInfoList *info, ObitErr *err);
00114 
00116 void ObitIOImageAIPSZap  (ObitIOImageAIPS *in, ObitErr *err);
00117 
00119 ObitIOImageAIPS* ObitIOImageAIPSCopy  (ObitIOImageAIPS *in, 
00120                                        ObitIOImageAIPS *out, ObitErr *err);
00121 
00123 ObitIOCode ObitIOImageAIPSOpen (ObitIOImageAIPS *in, ObitIOAccess access, 
00124                                 ObitInfoList *info, ObitErr *err);
00125 
00127 ObitIOCode ObitIOImageAIPSClose (ObitIOImageAIPS *in, ObitErr *err);
00128 
00130 ObitIOCode ObitIOImageAIPSSet (ObitIOImageAIPS *in, ObitInfoList *info, 
00131                                ObitErr *err);
00132 
00134 ObitIOCode ObitIOImageAIPSRead (ObitIOImageAIPS *in, gfloat *data, 
00135                                 ObitErr *err);
00136 
00138 ObitIOCode ObitIOImageAIPSWrite (ObitIOImageAIPS *in, gfloat *data, 
00139                                  ObitErr *err);
00140 
00142 ObitIOCode ObitIOImageAIPSFlush (ObitIOImageAIPS *in, ObitErr *err);
00143 
00145 ObitIOCode ObitIOImageAIPSReadDescriptor (ObitIOImageAIPS *in, ObitErr *err);
00146 
00148 ObitIOCode ObitIOImageAIPSWriteDescriptor (ObitIOImageAIPS *in, ObitErr *err);
00149 
00151 void ObitIOImageAIPSCreateBuffer (gfloat **data, glong *size, 
00152                                   ObitIOImageAIPS *in, ObitInfoList *info, 
00153                                   ObitErr *err);
00154 
00157 Obit* newObitIOImageAIPSTable (ObitIOImageAIPS *in, ObitIOAccess access, 
00158                       gchar *tabType, glong *tabver, ObitErr *err);
00159 
00161 ObitIOCode ObitIOImageAIPSUpdateTables (ObitIOImageAIPS *in, 
00162                                         ObitInfoList *info, 
00163                                         ObitErr *err);
00164 
00165 /*---------------Class Info--------------------------*/
00166 
00172 typedef struct  {
00173 #include "ObitIOImageAIPSClassDef.h" /* Actual definition */
00174 } ObitIOImageAIPSClassInfo; 
00175 
00176 #endif /* OBITIOIMAGEAIPS_H */ 

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