Main Page | Class List | Directories | File List | Class Members | File Members

ObitIOHistoryFITS.h

Go to the documentation of this file.
00001 /* $Id: ObitIOHistoryFITS.h,v 1.7 2007/08/31 17:24:48 bcotton Exp $   */
00002 /*--------------------------------------------------------------------*/
00003 /*;  Copyright (C) 2004-2007                                          */
00004 /*;  Associated Universities, Inc. Washington DC, USA.                */
00005 /*;                                                                   */
00006 /*;  This program is free software; you can redistribute it and/or    */
00007 /*;  modify it under the terms of the GNU General Public License as   */
00008 /*;  published by the Free Software Foundation; either version 2 of   */
00009 /*;  the License, or (at your option) any later version.              */
00010 /*;                                                                   */
00011 /*;  This program is distributed in the hope that it will be useful,  */
00012 /*;  but WITHOUT ANY WARRANTY; without even the implied warranty of   */
00013 /*;  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    */
00014 /*;  GNU General Public License for more details.                     */
00015 /*;                                                                   */
00016 /*;  You should have received a copy of the GNU General Public        */
00017 /*;  License along with this program; if not, write to the Free       */
00018 /*;  Software Foundation, Inc., 675 Massachusetts Ave, Cambridge,     */
00019 /*;  MA 02139, USA.                                                   */
00020 /*;                                                                   */
00021 /*; Correspondence about this software should be addressed as follows:*/
00022 /*;         Internet email: bcotton@nrao.edu.                         */
00023 /*;         Postal address: William Cotton                            */
00024 /*;                         National Radio Astronomy Observatory      */
00025 /*;                         520 Edgemont Road                         */
00026 /*;                         Charlottesville, VA 22903-2475 USA        */
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 /*-------- Obit: Software for the recently deceased ------------------*/
00047 /*---------------Class Structure---------------------------*/
00049 typedef struct {
00050 #include "ObitIOHistoryFITSDef.h"   /* actual definition */
00051 } ObitIOHistoryFITS;
00052 
00053 /*----------------- Macroes ---------------------------*/
00059 #define ObitIOHistoryFITSUnref(in) ObitUnref (in)
00060 
00066 #define ObitIOHistoryFITSRef(in) ObitRef (in)
00067 
00074 #define ObitIOHistoryFITSIsA(in) ObitIsA (in, ObitIOHistoryFITSGetClass())
00075 
00076 /* Private functions are only defined in the .c file */
00077 
00078 /*---------------Public functions---------------------------*/
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 /*-------------------Class Info--------------------------*/
00139 typedef struct  {
00140 #include "ObitIOHistoryFITSClassDef.h" /* Actual definition */
00141 } ObitIOHistoryFITSClassInfo; 
00142 
00143 
00144 #endif /* OBITIOHISTORYFITS_H */ 

Generated on Fri Aug 31 22:13:04 2007 for Obit by  doxygen 1.3.9.1