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

ObitIOTableAIPS.h

Go to the documentation of this file.
00001 /* $Id: ObitIOTableAIPS.h,v 1.6 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 OBITIOTABLEAIPS_H 
00029 #define OBITIOTABLEAIPS_H 
00030 #include "fitsio.h"
00031 #include "Obit.h"
00032 #include "ObitIO.h"
00033 #include "ObitFile.h"
00034 #include "ObitTableDesc.h"
00035 #include "ObitTableSel.h"
00036 
00037 /*-------- ObitIO: Software for the recently deceased ------------------*/
00073 /*--------------Class definitions-------------------------------------*/
00075 typedef struct {
00076 #include "ObitIOTableAIPSDef.h" /* This class definition */
00077 } ObitIOTableAIPS;
00078 
00079 /*------------------- Macroes ----------------------------------------*/
00085 #define ObitIOTableAIPSUnref(in) ObitUnref (in)
00086 
00092 #define ObitIOTableAIPSRef(in) ObitRef (in)
00093 
00100 #define ObitIOTableAIPSIsA(in) ObitIsA (in, ObitIOTableAIPSGetClass())
00101 
00102 /*---------------Public functions---------------------------*/
00104 void ObitIOTableAIPSClassInit (void);
00105 
00107 ObitIOTableAIPS* newObitIOTableAIPS (gchar* name, ObitInfoList *info,
00108                                      ObitErr *err);
00109 
00111 gconstpointer ObitIOTableAIPSGetClass (void);
00112 
00114 gboolean ObitIOTableAIPSSame (ObitIO *in, ObitInfoList *in1, 
00115                               ObitInfoList *in2, ObitErr *err);
00116 
00118 void ObitIOTableAIPSZap  (ObitIOTableAIPS *in, ObitErr *err);
00119 
00121 ObitIOTableAIPS* ObitIOTableAIPSCopy  (ObitIOTableAIPS *in, 
00122                                        ObitIOTableAIPS *out, ObitErr *err);
00124 ObitIOCode ObitIOTableAIPSOpen (ObitIOTableAIPS *in, ObitIOAccess access, 
00125                                 ObitInfoList *info, ObitErr *err);
00126 
00128 ObitIOCode ObitIOTableAIPSClose (ObitIOTableAIPS *in, ObitErr *err);
00129 
00131 ObitIOCode ObitIOTableAIPSSet (ObitIOTableAIPS *in, ObitInfoList *info, 
00132                                ObitErr *err);
00133 
00135 ObitIOCode ObitIOTableAIPSRead (ObitIOTableAIPS *in, gfloat *data, 
00136                                 ObitErr *err);
00137 
00139 ObitIOCode ObitIOTableAIPSReadRow (ObitIOTableAIPS *in, glong rowno, gfloat *data, 
00140                                 ObitErr *err);
00141 
00143 ObitIOCode ObitIOTableAIPSWrite (ObitIOTableAIPS *in, gfloat *data, 
00144                                  ObitErr *err);
00145 
00147 ObitIOCode ObitIOTableAIPSWriteRow (ObitIOTableAIPS *in, glong rowno, gfloat *data, 
00148                                  ObitErr *err);
00149 
00151 ObitIOCode ObitIOTableAIPSFlush (ObitIOTableAIPS *in, ObitErr *err);
00152 
00154 ObitIOCode ObitIOTableAIPSReadDescriptor (ObitIOTableAIPS *in, ObitErr *err);
00155 
00157 ObitIOCode ObitIOTableAIPSWriteDescriptor (ObitIOTableAIPS *in, ObitErr *err);
00158 
00160 void ObitIOTableAIPSCreateBuffer (gfloat **data, glong *size, 
00161                                   ObitIOTableAIPS *in, ObitInfoList *info, 
00162                                   ObitErr *err);
00163 
00164 /*---------------Class Info--------------------------*/
00170 typedef struct  {
00171 #include "ObitIOTableAIPSClassDef.h" /* Actual definition */
00172 } ObitIOTableAIPSClassInfo; 
00173 
00174 #endif /* OBITIOTABLEAIPS_H */ 

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