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

ObitTableNI.h

Go to the documentation of this file.
00001 /* $Id: ObitTableNI.h,v 1.30 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 OBITTABLENI_H 
00030 #define OBITTABLENI_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 ------------------*/
00143 /*--------------Class definitions-------------------------------------*/
00144 
00146  #define MAXKEYCHARTABLENI 24
00147 
00149 typedef struct {
00150 #include "ObitTableNIDef.h"   /* this class definition */
00151 } ObitTableNI;
00152 
00154 typedef struct {
00155 #include "ObitTableNIRowDef.h"   /* this class row definition */
00156 } ObitTableNIRow;
00157 
00158 /*----------------- Macroes ---------------------------*/
00164 #define ObitTableNIUnref(in) ObitUnref (in)
00165 
00171 #define ObitTableNIRef(in) ObitRef (in)
00172 
00179 #define ObitTableNIIsA(in) ObitIsA (in, ObitTableNIGetClass())
00180 
00186 #define ObitTableNIRowUnref(in) ObitUnref (in)
00187 
00193 #define ObitTableNIRowRef(in) ObitRef (in)
00194 
00201 #define ObitTableNIRowIsA(in) ObitIsA (in, ObitTableNIRowGetClass())
00202 
00203 /*---------------Public functions---------------------------*/
00204 /*----------------Table Row Functions ----------------------*/
00206 void ObitTableNIRowClassInit (void);
00207 
00209 ObitTableNIRow* newObitTableNIRow (ObitTableNI *table);
00210 
00212 gconstpointer ObitTableNIRowGetClass (void);
00213 
00214 /*------------------Table Functions ------------------------*/
00216 void ObitTableNIClassInit (void);
00217 
00219 ObitTableNI* newObitTableNI (gchar* name);
00220 
00222 ObitTableNI* 
00223 newObitTableNIValue (gchar* name, ObitData *file, glong *ver,
00224                      ObitIOAccess access,
00225                      oint numCoef,
00226                      ObitErr *err);
00227 
00229 void ObitTableNIClassInit (void);
00230 
00232 gconstpointer ObitTableNIGetClass (void);
00233 
00235 ObitTableNI* ObitTableNICopy  (ObitTableNI *in, ObitTableNI *out, 
00236                            ObitErr *err);
00237 
00239 ObitTableNI* ObitTableNIClone (ObitTableNI *in, ObitTableNI *out);
00240 
00242 ObitTableNI* ObitTableNIConvert  (ObitTable *in);
00243 
00245 ObitIOCode ObitTableNIOpen (ObitTableNI *in, ObitIOAccess access, 
00246                           ObitErr *err);
00247 
00249 ObitIOCode 
00250 ObitTableNIReadRow  (ObitTableNI *in, glong iNIRow, ObitTableNIRow *row,
00251                      ObitErr *err);
00252 
00254 void 
00255 ObitTableNISetRow  (ObitTableNI *in, ObitTableNIRow *row,
00256                      ObitErr *err);
00257 
00259 ObitIOCode 
00260 ObitTableNIWriteRow  (ObitTableNI *in, glong iNIRow, ObitTableNIRow *row,
00261                      ObitErr *err);
00262 
00264 ObitIOCode ObitTableNIClose (ObitTableNI *in, ObitErr *err);
00265 
00266 /*----------- ClassInfo Structure -----------------------------------*/
00272 typedef struct  {
00273 #include "ObitTableNIClassDef.h"
00274 } ObitTableNIClassInfo; 
00275 
00281 typedef struct  {
00282 #include "ObitTableNIRowClassDef.h"
00283 } ObitTableNIRowClassInfo; 
00284 #endif /* OBITTABLENI_H */ 

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