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

ObitIOHistory.h

Go to the documentation of this file.
00001 /* $Id: ObitIOHistory.h,v 1.6 2006/06/19 14:51:27 bcotton Exp $      */
00002 /*--------------------------------------------------------------------*/
00003 /*;  Copyright (C) 2004,2006                                          */
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 OBITIOHISTORY_H 
00029 #define OBITIOHISTORY_H 
00030 #include "Obit.h"
00031 #include "ObitIO.h"
00032 #include "ObitErr.h"
00033 #include "ObitThread.h"
00034 #include "ObitInfoList.h"
00035 
00036 /*-------- Obit: Software for the recently deceased ------------------*/
00056 /*---------------Class Structure---------------------------*/
00058 typedef struct {
00059 #include "ObitIOHistoryDef.h"   /* actual definition */
00060 } ObitIOHistory;
00061 
00062 /*----------------- Macroes ---------------------------*/
00068 #define ObitIOHistoryUnref(in) ObitUnref (in)
00069 
00075 #define ObitIOHistoryRef(in) ObitRef (in)
00076 
00083 #define ObitIOHistoryIsA(in) ObitIsA (in, ObitIOHistoryGetClass())
00084 
00085 /* Private functions are only defined in the .c file */
00086 
00087 /*---------------Public functions---------------------------*/
00089 void ObitIOHistoryClassInit (void);
00090 
00092 ObitIOHistory* newObitIOHistory (gchar *name, ObitInfoList *info,
00093                    ObitErr *err);
00094 
00096 gconstpointer ObitIOHistoryGetClass (void);
00097 
00099 gboolean ObitIOHistorySame (ObitIOHistory *in, ObitInfoList *in1, 
00100                             ObitInfoList *in2, ObitErr *err);
00101 
00103 void ObitIOHistoryZap  (ObitIOHistory *in, ObitErr *err);
00104 
00106 ObitIOHistory* ObitIOHistoryCopy  (ObitIOHistory *in, ObitIOHistory *out, ObitErr *err);
00107 
00109 ObitIOCode ObitIOHistoryOpen (ObitIOHistory *in, ObitIOAccess access, ObitInfoList *info, 
00110                                      ObitErr *err);
00111 
00113 ObitIOCode ObitIOHistoryClose (ObitIOHistory *in, ObitErr *err);
00114 
00116 ObitIOCode ObitIOHistorySet (ObitIOHistory *in, ObitInfoList *info, ObitErr *err);
00117 
00119 ObitIOCode ObitIOHistoryReadRec (ObitIOHistory *in, glong recno, gchar *hiCard, ObitErr *err);
00120 typedef ObitIOCode (*ObitIOHistoryReadRecFP) (ObitIOHistory *in, glong recno, gchar *hiCard, 
00121                                               ObitErr *err);
00122 
00124 ObitIOCode ObitIOHistoryWriteRec (ObitIOHistory *in, glong recno, gchar *hiCard, ObitErr *err);
00125 typedef ObitIOCode (*ObitIOHistoryWriteRecFP) (ObitIOHistory *in, glong recno, gchar *hiCard, 
00126                                      ObitErr *err);
00127 
00129 ObitIOCode ObitIOHistoryFlush (ObitIOHistory *in, ObitErr *err);
00130 
00132 ObitIOCode ObitIOHistoryReadDescriptor (ObitIOHistory *in, ObitErr *err);
00133 
00135 ObitIOCode ObitIOHistoryWriteDescriptor (ObitIOHistory *in, ObitErr *err);
00136 
00138 gint ObitIOHistoryNumRec (ObitIOHistory *in);
00139 typedef gint (*ObitIOHistoryNumRecFP) (ObitIOHistory *in);
00140 
00141 /*-------------------Class Info--------------------------*/
00147 typedef struct  {
00148 #include "ObitIOHistoryClassDef.h" /* Actual definition */
00149 } ObitIOHistoryClassInfo; 
00150 
00151 
00152 #endif /* OBITIOHISTORY_H */ 

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