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
00029 #ifndef OBITTABLEGC_H
00030 #define OBITTABLEGC_H
00031
00032 #include "Obit.h"
00033 #include "ObitErr.h"
00034 #include "ObitTable.h"
00035 #include "ObitData.h"
00036
00037
00139
00140
00142 #define MAXKEYCHARTABLEGC 24
00143
00145 typedef struct {
00146 #include "ObitTableGCDef.h"
00147 } ObitTableGC;
00148
00150 typedef struct {
00151 #include "ObitTableGCRowDef.h"
00152 } ObitTableGCRow;
00153
00154
00160 #define ObitTableGCUnref(in) ObitUnref (in)
00161
00167 #define ObitTableGCRef(in) ObitRef (in)
00168
00175 #define ObitTableGCIsA(in) ObitIsA (in, ObitTableGCGetClass())
00176
00182 #define ObitTableGCRowUnref(in) ObitUnref (in)
00183
00189 #define ObitTableGCRowRef(in) ObitRef (in)
00190
00197 #define ObitTableGCRowIsA(in) ObitIsA (in, ObitTableGCRowGetClass())
00198
00199
00200
00202 void ObitTableGCRowClassInit (void);
00203
00205 ObitTableGCRow* newObitTableGCRow (ObitTableGC *table);
00206
00208 gconstpointer ObitTableGCRowGetClass (void);
00209
00210
00212 void ObitTableGCClassInit (void);
00213
00215 ObitTableGC* newObitTableGC (gchar* name);
00216
00218 ObitTableGC*
00219 newObitTableGCValue (gchar* name, ObitData *file, glong *ver,
00220 ObitIOAccess access,
00221 oint numBand, oint numPol, oint numTabs,
00222 ObitErr *err);
00223
00225 void ObitTableGCClassInit (void);
00226
00228 gconstpointer ObitTableGCGetClass (void);
00229
00231 ObitTableGC* ObitTableGCCopy (ObitTableGC *in, ObitTableGC *out,
00232 ObitErr *err);
00233
00235 ObitTableGC* ObitTableGCClone (ObitTableGC *in, ObitTableGC *out);
00236
00238 ObitTableGC* ObitTableGCConvert (ObitTable *in);
00239
00241 ObitIOCode ObitTableGCOpen (ObitTableGC *in, ObitIOAccess access,
00242 ObitErr *err);
00243
00245 ObitIOCode
00246 ObitTableGCReadRow (ObitTableGC *in, glong iGCRow, ObitTableGCRow *row,
00247 ObitErr *err);
00248
00250 void
00251 ObitTableGCSetRow (ObitTableGC *in, ObitTableGCRow *row,
00252 ObitErr *err);
00253
00255 ObitIOCode
00256 ObitTableGCWriteRow (ObitTableGC *in, glong iGCRow, ObitTableGCRow *row,
00257 ObitErr *err);
00258
00260 ObitIOCode ObitTableGCClose (ObitTableGC *in, ObitErr *err);
00261
00262
00268 typedef struct {
00269 #include "ObitTableGCClassDef.h"
00270 } ObitTableGCClassInfo;
00271
00277 typedef struct {
00278 #include "ObitTableGCRowClassDef.h"
00279 } ObitTableGCRowClassInfo;
00280 #endif