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 OBITIOOTFFITS_H
00029 #define OBITIOOTFFITS_H
00030 #include "fitsio.h"
00031 #include "ObitIO.h"
00032 #include "ObitOTFDesc.h"
00033 #include "ObitOTFSel.h"
00034
00035
00036
00060
00062 typedef struct {
00063 #include "ObitIOOTFFITSDef.h"
00064 } ObitIOOTFFITS;
00065
00066
00072 #define ObitIOOTFFITSUnref(in) ObitUnref (in)
00073
00079 #define ObitIOOTFFITSRef(in) ObitRef (in)
00080
00087 #define ObitIOOTFFITSIsA(in) ObitIsA (in, ObitIOOTFFITSGetClass())
00088
00089
00090
00091
00093 void ObitIOOTFFITSClassInit (void);
00094
00096 ObitIOOTFFITS* newObitIOOTFFITS (gchar* name, ObitInfoList *info,
00097 ObitErr *err);
00098
00100 gconstpointer ObitIOOTFFITSGetClass (void);
00101
00103 ObitIOOTFFITS* ObitIOOTFFITSCopy (ObitIOOTFFITS *in,
00104 ObitIOOTFFITS *out, ObitErr *err);
00105
00107 gboolean ObitIOOTFFITSSame (ObitIO *in, ObitInfoList *in1,
00108 ObitInfoList *in2, ObitErr *err);
00109
00111 void ObitIOOTFFITSRename (ObitIO *in, ObitInfoList *info, ObitErr *err);
00112
00114 void ObitIOOTFFITSZap (ObitIOOTFFITS *in, ObitErr *err);
00115
00116
00118 ObitIOCode ObitIOOTFFITSOpen (ObitIOOTFFITS *in, ObitIOAccess access,
00119 ObitInfoList *info, ObitErr *err);
00120
00122 ObitIOCode ObitIOOTFFITSClose (ObitIOOTFFITS *in, ObitErr *err);
00123
00125 ObitIOCode ObitIOOTFFITSSet (ObitIOOTFFITS *in, ObitInfoList *info,
00126 ObitErr *err);
00127
00129 ObitIOCode ObitIOOTFFITSRead (ObitIOOTFFITS *in, gfloat *data, ObitErr *err);
00130
00132 ObitIOCode ObitIOOTFFITSWrite (ObitIOOTFFITS *in, gfloat *data, ObitErr *err);
00133
00135 ObitIOCode ObitIOOTFFITSFlush (ObitIOOTFFITS *in, ObitErr *err);
00136
00138 ObitIOCode ObitIOOTFFITSReadDescriptor (ObitIOOTFFITS *in, ObitErr *err);
00139
00141 ObitIOCode ObitIOOTFFITSWriteDescriptor (ObitIOOTFFITS *in, ObitErr *err);
00142
00144 void
00145 ObitIOOTFFITSCreateBuffer (gfloat **data, glong *size,
00146 ObitIOOTFFITS *in, ObitInfoList *info,
00147 ObitErr *err);
00148
00151 Obit*
00152 newObitIOOTFFITSTable (ObitIOOTFFITS *in, ObitIOAccess access,
00153 gchar *tabType, glong *tabVer, ObitErr *err);
00154
00156 ObitIOCode ObitIOOTFFITSUpdateTables (ObitIOOTFFITS *in, ObitInfoList *info,
00157 ObitErr *err);
00158
00159
00165 typedef struct {
00166 #include "ObitIOOTFFITSClassDef.h"
00167 } ObitIOOTFFITSClassInfo;
00168
00169 #endif