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

ObitTableHistory.h

Go to the documentation of this file.
00001 /* $Id: ObitTableHistory.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 OBITTABLEHistory_H 
00030 #define OBITTABLEHistory_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 ------------------*/
00138 /*--------------Class definitions-------------------------------------*/
00139 
00141  #define MAXKEYCHARTABLEHistory 24
00142 
00144 typedef struct {
00145 #include "ObitTableHistoryDef.h"   /* this class definition */
00146 } ObitTableHistory;
00147 
00149 typedef struct {
00150 #include "ObitTableHistoryRowDef.h"   /* this class row definition */
00151 } ObitTableHistoryRow;
00152 
00153 /*----------------- Macroes ---------------------------*/
00159 #define ObitTableHistoryUnref(in) ObitUnref (in)
00160 
00166 #define ObitTableHistoryRef(in) ObitRef (in)
00167 
00174 #define ObitTableHistoryIsA(in) ObitIsA (in, ObitTableHistoryGetClass())
00175 
00181 #define ObitTableHistoryRowUnref(in) ObitUnref (in)
00182 
00188 #define ObitTableHistoryRowRef(in) ObitRef (in)
00189 
00196 #define ObitTableHistoryRowIsA(in) ObitIsA (in, ObitTableHistoryRowGetClass())
00197 
00198 /*---------------Public functions---------------------------*/
00199 /*----------------Table Row Functions ----------------------*/
00201 void ObitTableHistoryRowClassInit (void);
00202 
00204 ObitTableHistoryRow* newObitTableHistoryRow (ObitTableHistory *table);
00205 
00207 gconstpointer ObitTableHistoryRowGetClass (void);
00208 
00209 /*------------------Table Functions ------------------------*/
00211 void ObitTableHistoryClassInit (void);
00212 
00214 ObitTableHistory* newObitTableHistory (gchar* name);
00215 
00217 ObitTableHistory* 
00218 newObitTableHistoryValue (gchar* name, ObitData *file, glong *ver,
00219                      ObitIOAccess access,
00220                     
00221                      ObitErr *err);
00222 
00224 void ObitTableHistoryClassInit (void);
00225 
00227 gconstpointer ObitTableHistoryGetClass (void);
00228 
00230 ObitTableHistory* ObitTableHistoryCopy  (ObitTableHistory *in, ObitTableHistory *out, 
00231                            ObitErr *err);
00232 
00234 ObitTableHistory* ObitTableHistoryClone (ObitTableHistory *in, ObitTableHistory *out);
00235 
00237 ObitTableHistory* ObitTableHistoryConvert  (ObitTable *in);
00238 
00240 ObitIOCode ObitTableHistoryOpen (ObitTableHistory *in, ObitIOAccess access, 
00241                           ObitErr *err);
00242 
00244 ObitIOCode 
00245 ObitTableHistoryReadRow  (ObitTableHistory *in, glong iHistoryRow, ObitTableHistoryRow *row,
00246                      ObitErr *err);
00247 
00249 void 
00250 ObitTableHistorySetRow  (ObitTableHistory *in, ObitTableHistoryRow *row,
00251                      ObitErr *err);
00252 
00254 ObitIOCode 
00255 ObitTableHistoryWriteRow  (ObitTableHistory *in, glong iHistoryRow, ObitTableHistoryRow *row,
00256                      ObitErr *err);
00257 
00259 ObitIOCode ObitTableHistoryClose (ObitTableHistory *in, ObitErr *err);
00260 
00261 /*----------- ClassInfo Structure -----------------------------------*/
00267 typedef struct  {
00268 #include "ObitTableHistoryClassDef.h"
00269 } ObitTableHistoryClassInfo; 
00270 
00276 typedef struct  {
00277 #include "ObitTableHistoryRowClassDef.h"
00278 } ObitTableHistoryRowClassInfo; 
00279 #endif /* OBITTABLEHistory_H */ 

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