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

ObitTableOTFTarget.h

Go to the documentation of this file.
00001 /* $Id: ObitTableOTFTarget.h,v 1.24 2006/03/31 16:57:23 bcotton Exp $  */
00002 /* DO NOT EDIT - file generated by ObitSDTables.pl                    */
00003 /*--------------------------------------------------------------------*/
00004 /*;  Copyright (C)  2006                                              */
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 ObitTableOTFTarget_H 
00030 #define ObitTableOTFTarget_H 
00031 
00032 #include <string.h>
00033 #include <stdio.h>
00034 #include <stdlib.h>
00035 #include <math.h>
00036 #include <glib.h>
00037 #include "Obit.h"
00038 #include "ObitErr.h"
00039 #include "ObitTable.h"
00040 
00041 /*-------- Obit: Software for the recently deceased ------------------*/
00131 /*--------------Class definitions-------------------------------------*/
00132 
00134  #define MAXKEYCHARTABLEOTFTarget 24
00135 
00137 typedef struct {
00138 #include "ObitTableOTFTargetDef.h"   /* this class definition */
00139 } ObitTableOTFTarget;
00140 
00142 typedef struct {
00143 #include "ObitTableOTFTargetRowDef.h"   /* this class row definition */
00144 } ObitTableOTFTargetRow;
00145 
00146 /*----------------- Macroes ---------------------------*/
00152 #define ObitTableOTFTargetUnref(in) ObitUnref (in)
00153 
00159 #define ObitTableOTFTargetRef(in) ObitRef (in)
00160 
00167 #define ObitTableOTFTargetIsA(in) ObitIsA (in, ObitTableOTFTargetGetClass())
00168 
00174 #define ObitTableOTFTargetRowUnref(in) ObitUnref (in)
00175 
00181 #define ObitTableOTFTargetRowRef(in) ObitRef (in)
00182 
00189 #define ObitTableOTFTargetRowIsA(in) ObitIsA (in, ObitTableOTFTargetRowGetClass())
00190 
00191 /*---------------Public functions---------------------------*/
00192 /*----------------Table Row Functions ----------------------*/
00194 void ObitTableOTFTargetRowClassInit (void);
00195 
00197 ObitTableOTFTargetRow* newObitTableOTFTargetRow (ObitTableOTFTarget *table);
00198 
00200 gconstpointer ObitTableOTFTargetRowGetClass (void);
00201 
00202 /*------------------Table Functions ------------------------*/
00204 void ObitTableOTFTargetClassInit (void);
00205 
00207 ObitTableOTFTarget* newObitTableOTFTarget (gchar* name);
00208 
00210 ObitTableOTFTarget* 
00211 newObitTableOTFTargetValue (gchar* name, Obit *file, glong *ver,
00212                      ObitIOAccess access,
00213                     
00214                      ObitErr *err);
00215 
00217 gconstpointer ObitTableOTFTargetGetClass (void);
00218 
00220 ObitTableOTFTarget* ObitTableOTFTargetCopy  (ObitTableOTFTarget *in, ObitTableOTFTarget *out, 
00221                            ObitErr *err);
00222 
00224 ObitTableOTFTarget* ObitTableOTFTargetClone (ObitTableOTFTarget *in, ObitTableOTFTarget *out);
00225 
00227 ObitTableOTFTarget* ObitTableOTFTargetConvert  (ObitTable *in);
00228 
00230 ObitIOCode ObitTableOTFTargetOpen (ObitTableOTFTarget *in, ObitIOAccess access, 
00231                           ObitErr *err);
00232 
00234 ObitIOCode 
00235 ObitTableOTFTargetReadRow  (ObitTableOTFTarget *in, glong iOTFTargetRow, ObitTableOTFTargetRow *row,
00236                      ObitErr *err);
00237 
00239 void 
00240 ObitTableOTFTargetSetRow  (ObitTableOTFTarget *in, ObitTableOTFTargetRow *row,
00241                      ObitErr *err);
00242 
00244 ObitIOCode 
00245 ObitTableOTFTargetWriteRow  (ObitTableOTFTarget *in, glong iOTFTargetRow, ObitTableOTFTargetRow *row,
00246                      ObitErr *err);
00247 
00249 ObitIOCode ObitTableOTFTargetClose (ObitTableOTFTarget *in, ObitErr *err);
00250 
00251 /*----------- ClassInfo Structure -----------------------------------*/
00257 typedef struct  {
00258 #include "ObitTableOTFTargetClassDef.h"
00259 } ObitTableOTFTargetClassInfo; 
00260 
00266 typedef struct  {
00267 #include "ObitTableOTFTargetRowClassDef.h"
00268 } ObitTableOTFTargetRowClassInfo; 
00269 #endif /* ObitTableOTFTarget_H */ 

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