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

ObitIOHistoryAIPS.h

Go to the documentation of this file.
00001 /* $Id: ObitIOHistoryAIPS.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 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 /*-------- Obit: Software for the recently deceased ------------------*/
00047 /*---------------Class Structure---------------------------*/
00049 typedef struct {
00050 #include "ObitIOHistoryAIPSDef.h"   /* actual definition */
00051 } ObitIOHistoryAIPS;
00052 
00053 /*----------------- Macroes ---------------------------*/
00059 #define ObitIOHistoryAIPSUnref(in) ObitUnref (in)
00060 
00066 #define ObitIOHistoryAIPSRef(in) ObitRef (in)
00067 
00074 #define ObitIOHistoryAIPSIsA(in) ObitIsA (in, ObitIOHistoryAIPSGetClass())
00075 
00076 /* Private functions are only defined in the .c file */
00077 
00078 /*---------------Public functions---------------------------*/
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 /*-------------------Class Info--------------------------*/
00141 typedef struct  {
00142 #include "ObitIOHistoryAIPSClassDef.h" /* Actual definition */
00143 } ObitIOHistoryAIPSClassInfo; 
00144 
00145 
00146 #endif /* OBITIOHISTORYAIPS_H */ 

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