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 OBITTABLEHistory_H
00030 #define OBITTABLEHistory_H
00031
00032 #include "Obit.h"
00033 #include "ObitErr.h"
00034 #include "ObitTable.h"
00035 #include "ObitData.h"
00036
00037
00138
00139
00141 #define MAXKEYCHARTABLEHistory 24
00142
00144 typedef struct {
00145 #include "ObitTableHistoryDef.h"
00146 } ObitTableHistory;
00147
00149 typedef struct {
00150 #include "ObitTableHistoryRowDef.h"
00151 } ObitTableHistoryRow;
00152
00153
00159 #define ObitTableHistoryUnref(in) ObitUnref (in)
00160
00166 #define ObitTableHistoryRef(in) ObitRef (in)
00167
00174 #define ObitTableHistoryIsA(in) ObitIsA (in, ObitTableHistoryGetClass())
00175
00181 #define ObitTableHistoryRowUnref(in) ObitUnref (in)
00182
00188 #define ObitTableHistoryRowRef(in) ObitRef (in)
00189
00196 #define ObitTableHistoryRowIsA(in) ObitIsA (in, ObitTableHistoryRowGetClass())
00197
00198
00199
00201 void ObitTableHistoryRowClassInit (void);
00202
00204 ObitTableHistoryRow* newObitTableHistoryRow (ObitTableHistory *table);
00205
00207 gconstpointer ObitTableHistoryRowGetClass (void);
00208
00209
00211 void ObitTableHistoryClassInit (void);
00212
00214 ObitTableHistory* newObitTableHistory (gchar* name);
00215
00217 ObitTableHistory*
00218 newObitTableHistoryValue (gchar* name, ObitData *file, glong *ver,
00219 ObitIOAccess access,
00220
00221 ObitErr *err);
00222
00224 void ObitTableHistoryClassInit (void);
00225
00227 gconstpointer ObitTableHistoryGetClass (void);
00228
00230 ObitTableHistory* ObitTableHistoryCopy (ObitTableHistory *in, ObitTableHistory *out,
00231 ObitErr *err);
00232
00234 ObitTableHistory* ObitTableHistoryClone (ObitTableHistory *in, ObitTableHistory *out);
00235
00237 ObitTableHistory* ObitTableHistoryConvert (ObitTable *in);
00238
00240 ObitIOCode ObitTableHistoryOpen (ObitTableHistory *in, ObitIOAccess access,
00241 ObitErr *err);
00242
00244 ObitIOCode
00245 ObitTableHistoryReadRow (ObitTableHistory *in, glong iHistoryRow, ObitTableHistoryRow *row,
00246 ObitErr *err);
00247
00249 void
00250 ObitTableHistorySetRow (ObitTableHistory *in, ObitTableHistoryRow *row,
00251 ObitErr *err);
00252
00254 ObitIOCode
00255 ObitTableHistoryWriteRow (ObitTableHistory *in, glong iHistoryRow, ObitTableHistoryRow *row,
00256 ObitErr *err);
00257
00259 ObitIOCode ObitTableHistoryClose (ObitTableHistory *in, ObitErr *err);
00260
00261
00267 typedef struct {
00268 #include "ObitTableHistoryClassDef.h"
00269 } ObitTableHistoryClassInfo;
00270
00276 typedef struct {
00277 #include "ObitTableHistoryRowClassDef.h"
00278 } ObitTableHistoryRowClassInfo;
00279 #endif