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 OBITIOHISTORYFITS_H
00029 #define OBITIOHISTORYFITS_H
00030 #include "Obit.h"
00031 #include "ObitErr.h"
00032 #include "ObitThread.h"
00033 #include "ObitInfoList.h"
00034 #include "ObitIOHistory.h"
00035 #include "ObitTableHistory.h"
00036
00037
00047
00049 typedef struct {
00050 #include "ObitIOHistoryFITSDef.h"
00051 } ObitIOHistoryFITS;
00052
00053
00059 #define ObitIOHistoryFITSUnref(in) ObitUnref (in)
00060
00066 #define ObitIOHistoryFITSRef(in) ObitRef (in)
00067
00074 #define ObitIOHistoryFITSIsA(in) ObitIsA (in, ObitIOHistoryFITSGetClass())
00075
00076
00077
00078
00080 void ObitIOHistoryFITSClassInit (void);
00081
00083 ObitIOHistoryFITS* newObitIOHistoryFITS (gchar *name, ObitInfoList *info,
00084 ObitErr *err);
00085
00087 gconstpointer ObitIOHistoryFITSGetClass (void);
00088
00090 gboolean ObitIOHistoryFITSSame (ObitIO *in, ObitInfoList *in1,
00091 ObitInfoList *in2, ObitErr *err);
00092
00094 void ObitIOHistoryFITSZap (ObitIOHistoryFITS *in, ObitErr *err);
00095
00097 ObitIOHistoryFITS* ObitIOHistoryFITSCopy (ObitIOHistoryFITS *in, ObitIOHistoryFITS *out,
00098 ObitErr *err);
00099
00101 ObitIOCode ObitIOHistoryFITSOpen (ObitIOHistoryFITS *in, ObitIOAccess access, ObitInfoList *info,
00102 ObitErr *err);
00103
00105 ObitIOCode ObitIOHistoryFITSClose (ObitIOHistoryFITS *in, ObitErr *err);
00106
00108 ObitIOCode ObitIOHistoryFITSSet (ObitIOHistoryFITS *in, ObitInfoList *info, ObitErr *err);
00109
00111 ObitIOCode ObitIOHistoryFITSReadRrec (ObitIOHistoryFITS *in, glong recno, gchar *hiCard, ObitErr *err);
00112 typedef ObitIOCode (*ObitIOHistoryFITSReadRecFP) (ObitIOHistoryFITS *in, glong recno, gchar *hiCard,
00113 ObitErr *err);
00114
00116 ObitIOCode ObitIOHistoryFITSWriteRec (ObitIOHistoryFITS *in, glong recno, gchar *hiCard, ObitErr *err);
00117 typedef ObitIOCode (*ObitIOHistoryFITSWriteRecFP) (ObitIOHistoryFITS *in, glong recno, gchar *hiCard,
00118 ObitErr *err);
00119
00121 ObitIOCode ObitIOHistoryFITSFlush (ObitIOHistoryFITS *in, ObitErr *err);
00122
00124 ObitIOCode ObitIOHistoryFITSReadDescriptor (ObitIOHistoryFITS *in, ObitErr *err);
00125
00127 ObitIOCode ObitIOHistoryFITSWriteDescriptor (ObitIOHistoryFITS *in, ObitErr *err);
00128
00130 gint ObitIOHistoryFITSNumRec (ObitIOHistory *in);
00131
00132
00133
00139 typedef struct {
00140 #include "ObitIOHistoryFITSClassDef.h"
00141 } ObitIOHistoryFITSClassInfo;
00142
00143
00144 #endif