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

ObitIOTableFITS.h

Go to the documentation of this file.
00001 /* $Id: ObitIOTableFITS.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 OBITIOTABLEFITS_H 
00029 #define OBITIOTABLEFITS_H 
00030 #include "fitsio.h"
00031 #include "Obit.h"
00032 #include "ObitIO.h"
00033 #include "ObitTableDesc.h"
00034 #include "ObitTableSel.h"
00035 
00036 
00037 /*-------- ObitIO: Software for the recently deceased ------------------*/
00071 /*--------------Class definitions-------------------------------------*/
00073 typedef struct {
00074   #include "ObitIOTableFITSDef.h" /* class definition */
00075 } ObitIOTableFITS;
00076 
00077 /*------------------- Macroes ----------------------------------------*/
00083 #define ObitIOTableFITSUnref(in) ObitUnref (in)
00084 
00090 #define ObitIOTableFITSRef(in) ObitRef (in)
00091 
00098 #define ObitIOTableFITSIsA(in) ObitIsA (in, ObitIOTableFITSGetClass())
00099 /* Private functions are only defined in the .c file */
00100 
00101 /*---------------Public functions---------------------------*/
00103 void ObitIOTableFITSClassInit (void);
00104 
00106 ObitIOTableFITS* newObitIOTableFITS (gchar* name, ObitInfoList *info,
00107                                      ObitErr *err);
00108 
00110 gconstpointer ObitIOTableFITSGetClass (void);
00111 
00113 gboolean ObitIOTableFITSSame (ObitIO *in, ObitInfoList *in1, 
00114                               ObitInfoList *in2, ObitErr *err);
00115 
00117 void ObitIOTableFITSZap  (ObitIOTableFITS *in, ObitErr *err);
00118 
00120 ObitIOTableFITS* ObitIOTableFITSCopy  (ObitIOTableFITS *in, 
00121                                        ObitIOTableFITS *out, ObitErr *err);
00122 
00124 ObitIOCode ObitIOTableFITSOpen (ObitIOTableFITS *in, ObitIOAccess access, 
00125                                 ObitInfoList *info, ObitErr *err);
00126 
00128 ObitIOCode ObitIOTableFITSClose (ObitIOTableFITS *in, ObitErr *err);
00129 
00131 ObitIOCode ObitIOTableFITSSet (ObitIOTableFITS *in, ObitInfoList *info, 
00132                                ObitErr *err);
00133 
00135 ObitIOCode ObitIOTableFITSRead (ObitIOTableFITS *in, gfloat *data, 
00136                                 ObitErr *err);
00137 
00139 ObitIOCode ObitIOTableFITSReadRow (ObitIOTableFITS *in, glong rowno, gfloat *data, 
00140                                 ObitErr *err);
00142 ObitIOCode ObitIOTableFITSWrite (ObitIOTableFITS *in, gfloat *data, 
00143                                  ObitErr *err);
00144 
00146 ObitIOCode ObitIOTableFITSWriteRow (ObitIOTableFITS *in, glong rowno, gfloat *data, 
00147                                  ObitErr *err);
00148 
00150 ObitIOCode ObitIOTableFITSFlush (ObitIOTableFITS *in, ObitErr *err);
00151 
00153 ObitIOCode ObitIOTableFITSReadDescriptor (ObitIOTableFITS *in, ObitErr *err);
00154 
00156 ObitIOCode ObitIOTableFITSWriteDescriptor (ObitIOTableFITS *in, ObitErr *err);
00157 
00159 void
00160 ObitIOTableFITSCreateBuffer (gfloat **data, glong *size, 
00161                              ObitIOTableFITS *in, ObitInfoList *info, 
00162                              ObitErr *err);
00163 
00164 /*---------------Class Info--------------------------*/
00170 typedef struct  {
00171 #include "ObitIOTableFITSClassDef.h" /* Actual definition */
00172 } ObitIOTableFITSClassInfo; 
00173 
00174 #endif /* OBITIOTABLEFITS_H */ 

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