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

ObitIOOTFFITS.h

Go to the documentation of this file.
00001 /* $Id: ObitIOOTFFITS.h,v 1.5 2006/07/31 15:55:17 bcotton Exp $   */
00002 /*--------------------------------------------------------------------*/
00003 /*;  Copyright (C) 2003-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 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 /*-------- ObitIO: Software for the recently deceased ------------------*/
00060 /*--------------Class definitions-------------------------------------*/
00062 typedef struct {
00063   #include "ObitIOOTFFITSDef.h" /* class definition */
00064 } ObitIOOTFFITS;
00065 
00066 /*------------------- Macroes ----------------------------------------*/
00072 #define ObitIOOTFFITSUnref(in) ObitUnref (in)
00073 
00079 #define ObitIOOTFFITSRef(in) ObitRef (in)
00080 
00087 #define ObitIOOTFFITSIsA(in) ObitIsA (in, ObitIOOTFFITSGetClass())
00088 
00089 /* Private functions are only defined in the .c file */
00090 
00091 /*---------------Public functions---------------------------*/
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 /*---------------Class Info--------------------------*/
00165 typedef struct  {
00166 #include "ObitIOOTFFITSClassDef.h" /* Actual definition */
00167 } ObitIOOTFFITSClassInfo; 
00168 
00169 #endif /* OBITIOOTFFITS_H */ 

Generated on Mon Sep 3 20:43:53 2007 by  doxygen 1.3.9.1