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

ObitTableCT.h

Go to the documentation of this file.
00001 /* $Id: ObitTableCT.h,v 1.12 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 OBITTABLECT_H 
00030 #define OBITTABLECT_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 ------------------*/
00139 /*--------------Class definitions-------------------------------------*/
00140 
00142  #define MAXKEYCHARTABLECT 24
00143 
00145 typedef struct {
00146 #include "ObitTableCTDef.h"   /* this class definition */
00147 } ObitTableCT;
00148 
00150 typedef struct {
00151 #include "ObitTableCTRowDef.h"   /* this class row definition */
00152 } ObitTableCTRow;
00153 
00154 /*----------------- Macroes ---------------------------*/
00160 #define ObitTableCTUnref(in) ObitUnref (in)
00161 
00167 #define ObitTableCTRef(in) ObitRef (in)
00168 
00175 #define ObitTableCTIsA(in) ObitIsA (in, ObitTableCTGetClass())
00176 
00182 #define ObitTableCTRowUnref(in) ObitUnref (in)
00183 
00189 #define ObitTableCTRowRef(in) ObitRef (in)
00190 
00197 #define ObitTableCTRowIsA(in) ObitIsA (in, ObitTableCTRowGetClass())
00198 
00199 /*---------------Public functions---------------------------*/
00200 /*----------------Table Row Functions ----------------------*/
00202 void ObitTableCTRowClassInit (void);
00203 
00205 ObitTableCTRow* newObitTableCTRow (ObitTableCT *table);
00206 
00208 gconstpointer ObitTableCTRowGetClass (void);
00209 
00210 /*------------------Table Functions ------------------------*/
00212 void ObitTableCTClassInit (void);
00213 
00215 ObitTableCT* newObitTableCT (gchar* name);
00216 
00218 ObitTableCT* 
00219 newObitTableCTValue (gchar* name, ObitData *file, glong *ver,
00220                      ObitIOAccess access,
00221                      oint numBand,
00222                      ObitErr *err);
00223 
00225 void ObitTableCTClassInit (void);
00226 
00228 gconstpointer ObitTableCTGetClass (void);
00229 
00231 ObitTableCT* ObitTableCTCopy  (ObitTableCT *in, ObitTableCT *out, 
00232                            ObitErr *err);
00233 
00235 ObitTableCT* ObitTableCTClone (ObitTableCT *in, ObitTableCT *out);
00236 
00238 ObitTableCT* ObitTableCTConvert  (ObitTable *in);
00239 
00241 ObitIOCode ObitTableCTOpen (ObitTableCT *in, ObitIOAccess access, 
00242                           ObitErr *err);
00243 
00245 ObitIOCode 
00246 ObitTableCTReadRow  (ObitTableCT *in, glong iCTRow, ObitTableCTRow *row,
00247                      ObitErr *err);
00248 
00250 void 
00251 ObitTableCTSetRow  (ObitTableCT *in, ObitTableCTRow *row,
00252                      ObitErr *err);
00253 
00255 ObitIOCode 
00256 ObitTableCTWriteRow  (ObitTableCT *in, glong iCTRow, ObitTableCTRow *row,
00257                      ObitErr *err);
00258 
00260 ObitIOCode ObitTableCTClose (ObitTableCT *in, ObitErr *err);
00261 
00262 /*----------- ClassInfo Structure -----------------------------------*/
00268 typedef struct  {
00269 #include "ObitTableCTClassDef.h"
00270 } ObitTableCTClassInfo; 
00271 
00277 typedef struct  {
00278 #include "ObitTableCTRowClassDef.h"
00279 } ObitTableCTRowClassInfo; 
00280 #endif /* OBITTABLECT_H */ 

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