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 OBITIOHISTORYAIPS_H
00029 #define OBITIOHISTORYAIPS_H
00030 #include "Obit.h"
00031 #include "ObitErr.h"
00032 #include "ObitThread.h"
00033 #include "ObitInfoList.h"
00034 #include "ObitIOHistory.h"
00035 #include "ObitFile.h"
00036
00037
00047
00049 typedef struct {
00050 #include "ObitIOHistoryAIPSDef.h"
00051 } ObitIOHistoryAIPS;
00052
00053
00059 #define ObitIOHistoryAIPSUnref(in) ObitUnref (in)
00060
00066 #define ObitIOHistoryAIPSRef(in) ObitRef (in)
00067
00074 #define ObitIOHistoryAIPSIsA(in) ObitIsA (in, ObitIOHistoryAIPSGetClass())
00075
00076
00077
00078
00080 void ObitIOHistoryAIPSClassInit (void);
00081
00083 ObitIOHistoryAIPS* newObitIOHistoryAIPS (gchar *name, ObitInfoList *info,
00084 ObitErr *err);
00085
00087 gconstpointer ObitIOHistoryAIPSGetClass (void);
00088
00090 gboolean ObitIOHistoryAIPSSame (ObitIO *in, ObitInfoList *in1,
00091 ObitInfoList *in2, ObitErr *err);
00092
00094 void ObitIOHistoryAIPSZap (ObitIOHistoryAIPS *in, ObitErr *err);
00095
00097 ObitIOHistoryAIPS* ObitIOHistoryAIPSCopy (ObitIOHistoryAIPS *in, ObitIOHistoryAIPS *out,
00098 ObitErr *err);
00099
00101 ObitIOCode ObitIOHistoryAIPSOpen (ObitIOHistoryAIPS *in, ObitIOAccess access, ObitInfoList *info,
00102 ObitErr *err);
00103
00105 ObitIOCode ObitIOHistoryAIPSClose (ObitIOHistoryAIPS *in, ObitErr *err);
00106
00108 ObitIOCode ObitIOHistoryAIPSSet (ObitIOHistoryAIPS *in, ObitInfoList *info, ObitErr *err);
00109
00111 ObitIOCode ObitIOHistoryAIPSReadRrec (ObitIOHistoryAIPS *in, glong recno, gchar *hiCard,
00112 ObitErr *err);
00113 typedef ObitIOCode (*ObitIOHistoryAIPSReadRecFP) (ObitIOHistoryAIPS *in, glong recno,
00114 gchar *hiCard, ObitErr *err);
00115
00117 ObitIOCode ObitIOHistoryAIPSWriteRec (ObitIOHistoryAIPS *in, glong recno, gchar *hiCard,
00118 ObitErr *err);
00119 typedef ObitIOCode (*ObitIOHistoryAIPSWriteRecFP) (ObitIOHistoryAIPS *in, glong recno,
00120 gchar *hiCard, ObitErr *err);
00121
00123 ObitIOCode ObitIOHistoryAIPSFlush (ObitIOHistoryAIPS *in, ObitErr *err);
00124
00126 ObitIOCode ObitIOHistoryAIPSReadDescriptor (ObitIOHistoryAIPS *in, ObitErr *err);
00127
00129 ObitIOCode ObitIOHistoryAIPSWriteDescriptor (ObitIOHistoryAIPS *in, ObitErr *err);
00130
00132 gint ObitIOHistoryAIPSNumRec (ObitIOHistory *in);
00133
00134
00135
00141 typedef struct {
00142 #include "ObitIOHistoryAIPSClassDef.h"
00143 } ObitIOHistoryAIPSClassInfo;
00144
00145
00146 #endif