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 OBITIOHISTORY_H
00029 #define OBITIOHISTORY_H
00030 #include "Obit.h"
00031 #include "ObitIO.h"
00032 #include "ObitErr.h"
00033 #include "ObitThread.h"
00034 #include "ObitInfoList.h"
00035
00036
00056
00058 typedef struct {
00059 #include "ObitIOHistoryDef.h"
00060 } ObitIOHistory;
00061
00062
00068 #define ObitIOHistoryUnref(in) ObitUnref (in)
00069
00075 #define ObitIOHistoryRef(in) ObitRef (in)
00076
00083 #define ObitIOHistoryIsA(in) ObitIsA (in, ObitIOHistoryGetClass())
00084
00085
00086
00087
00089 void ObitIOHistoryClassInit (void);
00090
00092 ObitIOHistory* newObitIOHistory (gchar *name, ObitInfoList *info,
00093 ObitErr *err);
00094
00096 gconstpointer ObitIOHistoryGetClass (void);
00097
00099 gboolean ObitIOHistorySame (ObitIOHistory *in, ObitInfoList *in1,
00100 ObitInfoList *in2, ObitErr *err);
00101
00103 void ObitIOHistoryZap (ObitIOHistory *in, ObitErr *err);
00104
00106 ObitIOHistory* ObitIOHistoryCopy (ObitIOHistory *in, ObitIOHistory *out, ObitErr *err);
00107
00109 ObitIOCode ObitIOHistoryOpen (ObitIOHistory *in, ObitIOAccess access, ObitInfoList *info,
00110 ObitErr *err);
00111
00113 ObitIOCode ObitIOHistoryClose (ObitIOHistory *in, ObitErr *err);
00114
00116 ObitIOCode ObitIOHistorySet (ObitIOHistory *in, ObitInfoList *info, ObitErr *err);
00117
00119 ObitIOCode ObitIOHistoryReadRec (ObitIOHistory *in, glong recno, gchar *hiCard, ObitErr *err);
00120 typedef ObitIOCode (*ObitIOHistoryReadRecFP) (ObitIOHistory *in, glong recno, gchar *hiCard,
00121 ObitErr *err);
00122
00124 ObitIOCode ObitIOHistoryWriteRec (ObitIOHistory *in, glong recno, gchar *hiCard, ObitErr *err);
00125 typedef ObitIOCode (*ObitIOHistoryWriteRecFP) (ObitIOHistory *in, glong recno, gchar *hiCard,
00126 ObitErr *err);
00127
00129 ObitIOCode ObitIOHistoryFlush (ObitIOHistory *in, ObitErr *err);
00130
00132 ObitIOCode ObitIOHistoryReadDescriptor (ObitIOHistory *in, ObitErr *err);
00133
00135 ObitIOCode ObitIOHistoryWriteDescriptor (ObitIOHistory *in, ObitErr *err);
00136
00138 gint ObitIOHistoryNumRec (ObitIOHistory *in);
00139 typedef gint (*ObitIOHistoryNumRecFP) (ObitIOHistory *in);
00140
00141
00147 typedef struct {
00148 #include "ObitIOHistoryClassDef.h"
00149 } ObitIOHistoryClassInfo;
00150
00151
00152 #endif