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

ObitTableBL.h

Go to the documentation of this file.
00001 /* $Id: ObitTableBL.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 OBITTABLEBL_H 
00030 #define OBITTABLEBL_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 ------------------*/
00142 /*--------------Class definitions-------------------------------------*/
00143 
00145  #define MAXKEYCHARTABLEBL 24
00146 
00148 typedef struct {
00149 #include "ObitTableBLDef.h"   /* this class definition */
00150 } ObitTableBL;
00151 
00153 typedef struct {
00154 #include "ObitTableBLRowDef.h"   /* this class row definition */
00155 } ObitTableBLRow;
00156 
00157 /*----------------- Macroes ---------------------------*/
00163 #define ObitTableBLUnref(in) ObitUnref (in)
00164 
00170 #define ObitTableBLRef(in) ObitRef (in)
00171 
00178 #define ObitTableBLIsA(in) ObitIsA (in, ObitTableBLGetClass())
00179 
00185 #define ObitTableBLRowUnref(in) ObitUnref (in)
00186 
00192 #define ObitTableBLRowRef(in) ObitRef (in)
00193 
00200 #define ObitTableBLRowIsA(in) ObitIsA (in, ObitTableBLRowGetClass())
00201 
00202 /*---------------Public functions---------------------------*/
00203 /*----------------Table Row Functions ----------------------*/
00205 void ObitTableBLRowClassInit (void);
00206 
00208 ObitTableBLRow* newObitTableBLRow (ObitTableBL *table);
00209 
00211 gconstpointer ObitTableBLRowGetClass (void);
00212 
00213 /*------------------Table Functions ------------------------*/
00215 void ObitTableBLClassInit (void);
00216 
00218 ObitTableBL* newObitTableBL (gchar* name);
00219 
00221 ObitTableBL* 
00222 newObitTableBLValue (gchar* name, ObitData *file, glong *ver,
00223                      ObitIOAccess access,
00224                      oint numPol, oint numIF,
00225                      ObitErr *err);
00226 
00228 void ObitTableBLClassInit (void);
00229 
00231 gconstpointer ObitTableBLGetClass (void);
00232 
00234 ObitTableBL* ObitTableBLCopy  (ObitTableBL *in, ObitTableBL *out, 
00235                            ObitErr *err);
00236 
00238 ObitTableBL* ObitTableBLClone (ObitTableBL *in, ObitTableBL *out);
00239 
00241 ObitTableBL* ObitTableBLConvert  (ObitTable *in);
00242 
00244 ObitIOCode ObitTableBLOpen (ObitTableBL *in, ObitIOAccess access, 
00245                           ObitErr *err);
00246 
00248 ObitIOCode 
00249 ObitTableBLReadRow  (ObitTableBL *in, glong iBLRow, ObitTableBLRow *row,
00250                      ObitErr *err);
00251 
00253 void 
00254 ObitTableBLSetRow  (ObitTableBL *in, ObitTableBLRow *row,
00255                      ObitErr *err);
00256 
00258 ObitIOCode 
00259 ObitTableBLWriteRow  (ObitTableBL *in, glong iBLRow, ObitTableBLRow *row,
00260                      ObitErr *err);
00261 
00263 ObitIOCode ObitTableBLClose (ObitTableBL *in, ObitErr *err);
00264 
00265 /*----------- ClassInfo Structure -----------------------------------*/
00271 typedef struct  {
00272 #include "ObitTableBLClassDef.h"
00273 } ObitTableBLClassInfo; 
00274 
00280 typedef struct  {
00281 #include "ObitTableBLRowClassDef.h"
00282 } ObitTableBLRowClassInfo; 
00283 #endif /* OBITTABLEBL_H */ 

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