00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
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
00073
00075 typedef struct {
00076 #include "ObitIOTableAIPSDef.h"
00077 } ObitIOTableAIPS;
00078
00079
00085 #define ObitIOTableAIPSUnref(in) ObitUnref (in)
00086
00092 #define ObitIOTableAIPSRef(in) ObitRef (in)
00093
00100 #define ObitIOTableAIPSIsA(in) ObitIsA (in, ObitIOTableAIPSGetClass())
00101
00102
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
00170 typedef struct {
00171 #include "ObitIOTableAIPSClassDef.h"
00172 } ObitIOTableAIPSClassInfo;
00173
00174 #endif