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

ObitTableAN.h

Go to the documentation of this file.
00001 /* $Id: ObitTableAN.h,v 1.31 2007/08/31 17:24:48 bcotton Exp $   */
00002 /* DO NOT EDIT - file generated by ObitTables.pl                      */
00003 /*--------------------------------------------------------------------*/
00004 /*;  Copyright (C)  2007                                              */
00005 /*;  Associated Universities, Inc. Washington DC, USA.                */
00006 /*;                                                                   */
00007 /*;  This program is free software; you can redistribute it and/or    */
00008 /*;  modify it under the terms of the GNU General Public License as   */
00009 /*;  published by the Free Software Foundation; either version 2 of   */
00010 /*;  the License, or (at your option) any later version.              */
00011 /*;                                                                   */
00012 /*;  This program is distributed in the hope that it will be useful,  */
00013 /*;  but WITHOUT ANY WARRANTY; without even the implied warranty of   */
00014 /*;  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    */
00015 /*;  GNU General Public License for more details.                     */
00016 /*;                                                                   */
00017 /*;  You should have received a copy of the GNU General Public        */
00018 /*;  License along with this program; if not, write to the Free       */
00019 /*;  Software Foundation, Inc., 675 Massachusetts Ave, Cambridge,     */
00020 /*;  MA 02139, USA.                                                   */
00021 /*;                                                                   */
00022 /*;  Correspondence this software should be addressed as follows:     */
00023 /*;         Internet email: bcotton@nrao.edu.                         */
00024 /*;         Postal address: William Cotton                            */
00025 /*;                         National Radio Astronomy Observatory      */
00026 /*;                         520 Edgemont Road                         */
00027 /*;                         Charlottesville, VA 22903-2475 USA        */
00028 /*--------------------------------------------------------------------*/
00029 #ifndef OBITTABLEAN_H 
00030 #define OBITTABLEAN_H 
00031 
00032 #include "Obit.h"
00033 #include "ObitErr.h"
00034 #include "ObitTable.h"
00035 #include "ObitData.h"
00036 
00037 /*-------- Obit: Software for the recently deceased ------------------*/
00141 /*--------------Class definitions-------------------------------------*/
00142 
00144  #define MAXKEYCHARTABLEAN 24
00145 
00147 typedef struct {
00148 #include "ObitTableANDef.h"   /* this class definition */
00149 } ObitTableAN;
00150 
00152 typedef struct {
00153 #include "ObitTableANRowDef.h"   /* this class row definition */
00154 } ObitTableANRow;
00155 
00156 /*----------------- Macroes ---------------------------*/
00162 #define ObitTableANUnref(in) ObitUnref (in)
00163 
00169 #define ObitTableANRef(in) ObitRef (in)
00170 
00177 #define ObitTableANIsA(in) ObitIsA (in, ObitTableANGetClass())
00178 
00184 #define ObitTableANRowUnref(in) ObitUnref (in)
00185 
00191 #define ObitTableANRowRef(in) ObitRef (in)
00192 
00199 #define ObitTableANRowIsA(in) ObitIsA (in, ObitTableANRowGetClass())
00200 
00201 /*---------------Public functions---------------------------*/
00202 /*----------------Table Row Functions ----------------------*/
00204 void ObitTableANRowClassInit (void);
00205 
00207 ObitTableANRow* newObitTableANRow (ObitTableAN *table);
00208 
00210 gconstpointer ObitTableANRowGetClass (void);
00211 
00212 /*------------------Table Functions ------------------------*/
00214 void ObitTableANClassInit (void);
00215 
00217 ObitTableAN* newObitTableAN (gchar* name);
00218 
00220 ObitTableAN* 
00221 newObitTableANValue (gchar* name, ObitData *file, glong *ver,
00222                      ObitIOAccess access,
00223                      oint numOrb, oint numPCal,
00224                      ObitErr *err);
00225 
00227 void ObitTableANClassInit (void);
00228 
00230 gconstpointer ObitTableANGetClass (void);
00231 
00233 ObitTableAN* ObitTableANCopy  (ObitTableAN *in, ObitTableAN *out, 
00234                            ObitErr *err);
00235 
00237 ObitTableAN* ObitTableANClone (ObitTableAN *in, ObitTableAN *out);
00238 
00240 ObitTableAN* ObitTableANConvert  (ObitTable *in);
00241 
00243 ObitIOCode ObitTableANOpen (ObitTableAN *in, ObitIOAccess access, 
00244                           ObitErr *err);
00245 
00247 ObitIOCode 
00248 ObitTableANReadRow  (ObitTableAN *in, glong iANRow, ObitTableANRow *row,
00249                      ObitErr *err);
00250 
00252 void 
00253 ObitTableANSetRow  (ObitTableAN *in, ObitTableANRow *row,
00254                      ObitErr *err);
00255 
00257 ObitIOCode 
00258 ObitTableANWriteRow  (ObitTableAN *in, glong iANRow, ObitTableANRow *row,
00259                      ObitErr *err);
00260 
00262 ObitIOCode ObitTableANClose (ObitTableAN *in, ObitErr *err);
00263 
00264 /*----------- ClassInfo Structure -----------------------------------*/
00270 typedef struct  {
00271 #include "ObitTableANClassDef.h"
00272 } ObitTableANClassInfo; 
00273 
00279 typedef struct  {
00280 #include "ObitTableANRowClassDef.h"
00281 } ObitTableANRowClassInfo; 
00282 #endif /* OBITTABLEAN_H */ 

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