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 OBITTABLEBL_H
00030 #define OBITTABLEBL_H
00031
00032 #include "Obit.h"
00033 #include "ObitErr.h"
00034 #include "ObitTable.h"
00035 #include "ObitData.h"
00036
00037
00142
00143
00145 #define MAXKEYCHARTABLEBL 24
00146
00148 typedef struct {
00149 #include "ObitTableBLDef.h"
00150 } ObitTableBL;
00151
00153 typedef struct {
00154 #include "ObitTableBLRowDef.h"
00155 } ObitTableBLRow;
00156
00157
00163 #define ObitTableBLUnref(in) ObitUnref (in)
00164
00170 #define ObitTableBLRef(in) ObitRef (in)
00171
00178 #define ObitTableBLIsA(in) ObitIsA (in, ObitTableBLGetClass())
00179
00185 #define ObitTableBLRowUnref(in) ObitUnref (in)
00186
00192 #define ObitTableBLRowRef(in) ObitRef (in)
00193
00200 #define ObitTableBLRowIsA(in) ObitIsA (in, ObitTableBLRowGetClass())
00201
00202
00203
00205 void ObitTableBLRowClassInit (void);
00206
00208 ObitTableBLRow* newObitTableBLRow (ObitTableBL *table);
00209
00211 gconstpointer ObitTableBLRowGetClass (void);
00212
00213
00215 void ObitTableBLClassInit (void);
00216
00218 ObitTableBL* newObitTableBL (gchar* name);
00219
00221 ObitTableBL*
00222 newObitTableBLValue (gchar* name, ObitData *file, glong *ver,
00223 ObitIOAccess access,
00224 oint numPol, oint numIF,
00225 ObitErr *err);
00226
00228 void ObitTableBLClassInit (void);
00229
00231 gconstpointer ObitTableBLGetClass (void);
00232
00234 ObitTableBL* ObitTableBLCopy (ObitTableBL *in, ObitTableBL *out,
00235 ObitErr *err);
00236
00238 ObitTableBL* ObitTableBLClone (ObitTableBL *in, ObitTableBL *out);
00239
00241 ObitTableBL* ObitTableBLConvert (ObitTable *in);
00242
00244 ObitIOCode ObitTableBLOpen (ObitTableBL *in, ObitIOAccess access,
00245 ObitErr *err);
00246
00248 ObitIOCode
00249 ObitTableBLReadRow (ObitTableBL *in, glong iBLRow, ObitTableBLRow *row,
00250 ObitErr *err);
00251
00253 void
00254 ObitTableBLSetRow (ObitTableBL *in, ObitTableBLRow *row,
00255 ObitErr *err);
00256
00258 ObitIOCode
00259 ObitTableBLWriteRow (ObitTableBL *in, glong iBLRow, ObitTableBLRow *row,
00260 ObitErr *err);
00261
00263 ObitIOCode ObitTableBLClose (ObitTableBL *in, ObitErr *err);
00264
00265
00271 typedef struct {
00272 #include "ObitTableBLClassDef.h"
00273 } ObitTableBLClassInfo;
00274
00280 typedef struct {
00281 #include "ObitTableBLRowClassDef.h"
00282 } ObitTableBLRowClassInfo;
00283 #endif