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

ObitTableOTFIndex.h

Go to the documentation of this file.
00001 /* $Id: ObitTableOTFIndex.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 ObitTableOTFIndex_H 
00030 #define ObitTableOTFIndex_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 ------------------*/
00132 /*--------------Class definitions-------------------------------------*/
00133 
00135  #define MAXKEYCHARTABLEOTFIndex 24
00136 
00138 typedef struct {
00139 #include "ObitTableOTFIndexDef.h"   /* this class definition */
00140 } ObitTableOTFIndex;
00141 
00143 typedef struct {
00144 #include "ObitTableOTFIndexRowDef.h"   /* this class row definition */
00145 } ObitTableOTFIndexRow;
00146 
00147 /*----------------- Macroes ---------------------------*/
00153 #define ObitTableOTFIndexUnref(in) ObitUnref (in)
00154 
00160 #define ObitTableOTFIndexRef(in) ObitRef (in)
00161 
00168 #define ObitTableOTFIndexIsA(in) ObitIsA (in, ObitTableOTFIndexGetClass())
00169 
00175 #define ObitTableOTFIndexRowUnref(in) ObitUnref (in)
00176 
00182 #define ObitTableOTFIndexRowRef(in) ObitRef (in)
00183 
00190 #define ObitTableOTFIndexRowIsA(in) ObitIsA (in, ObitTableOTFIndexRowGetClass())
00191 
00192 /*---------------Public functions---------------------------*/
00193 /*----------------Table Row Functions ----------------------*/
00195 void ObitTableOTFIndexRowClassInit (void);
00196 
00198 ObitTableOTFIndexRow* newObitTableOTFIndexRow (ObitTableOTFIndex *table);
00199 
00201 gconstpointer ObitTableOTFIndexRowGetClass (void);
00202 
00203 /*------------------Table Functions ------------------------*/
00205 void ObitTableOTFIndexClassInit (void);
00206 
00208 ObitTableOTFIndex* newObitTableOTFIndex (gchar* name);
00209 
00211 ObitTableOTFIndex* 
00212 newObitTableOTFIndexValue (gchar* name, Obit *file, glong *ver,
00213                      ObitIOAccess access,
00214                     
00215                      ObitErr *err);
00216 
00218 gconstpointer ObitTableOTFIndexGetClass (void);
00219 
00221 ObitTableOTFIndex* ObitTableOTFIndexCopy  (ObitTableOTFIndex *in, ObitTableOTFIndex *out, 
00222                            ObitErr *err);
00223 
00225 ObitTableOTFIndex* ObitTableOTFIndexClone (ObitTableOTFIndex *in, ObitTableOTFIndex *out);
00226 
00228 ObitTableOTFIndex* ObitTableOTFIndexConvert  (ObitTable *in);
00229 
00231 ObitIOCode ObitTableOTFIndexOpen (ObitTableOTFIndex *in, ObitIOAccess access, 
00232                           ObitErr *err);
00233 
00235 ObitIOCode 
00236 ObitTableOTFIndexReadRow  (ObitTableOTFIndex *in, glong iOTFIndexRow, ObitTableOTFIndexRow *row,
00237                      ObitErr *err);
00238 
00240 void 
00241 ObitTableOTFIndexSetRow  (ObitTableOTFIndex *in, ObitTableOTFIndexRow *row,
00242                      ObitErr *err);
00243 
00245 ObitIOCode 
00246 ObitTableOTFIndexWriteRow  (ObitTableOTFIndex *in, glong iOTFIndexRow, ObitTableOTFIndexRow *row,
00247                      ObitErr *err);
00248 
00250 ObitIOCode ObitTableOTFIndexClose (ObitTableOTFIndex *in, ObitErr *err);
00251 
00252 /*----------- ClassInfo Structure -----------------------------------*/
00258 typedef struct  {
00259 #include "ObitTableOTFIndexClassDef.h"
00260 } ObitTableOTFIndexClassInfo; 
00261 
00267 typedef struct  {
00268 #include "ObitTableOTFIndexRowClassDef.h"
00269 } ObitTableOTFIndexRowClassInfo; 
00270 #endif /* ObitTableOTFIndex_H */ 

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