00001 /* $Id: ObitTableDesc.h,v 1.3 2004/12/28 14:40:48 bcotton Exp $ */ 00002 /*--------------------------------------------------------------------*/ 00003 /*; Copyright (C) 2003,2004 */ 00004 /*; Associated Universities, Inc. Washington DC, USA. */ 00005 /*; This program is free software; you can redistribute it and/or */ 00006 /*; modify it under the terms of the GNU General Public License as */ 00007 /*; published by the Free Software Foundation; either version 2 of */ 00008 /*; the License, or (at your option) any later version. */ 00009 /*; */ 00010 /*; This program is distributed in the hope that it will be useful, */ 00011 /*; but WITHOUT ANY WARRANTY; without even the implied warranty of */ 00012 /*; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ 00013 /*; GNU General Public License for more details. */ 00014 /*; */ 00015 /*; You should have received a copy of the GNU General Public */ 00016 /*; License along with this program; if not, write to the Free */ 00017 /*; Software Foundation, Inc., 675 Massachusetts Ave, Cambridge, */ 00018 /*; MA 02139, USA. */ 00019 /*; */ 00020 /*; Correspondence this software should be addressed as follows: */ 00021 /*; Internet email: bcotton@nrao.edu. */ 00022 /*; Postal address: William Cotton */ 00023 /*; National Radio Astronomy Observatory */ 00024 /*; 520 Edgemont Road */ 00025 /*; Charlottesville, VA 22903-2475 USA */ 00026 /*--------------------------------------------------------------------*/ 00027 #ifndef OBITTABLEDESC_H 00028 #define OBITTABLEDESC_H 00029 #include <glib.h> 00030 #include "Obit.h" 00031 #include "ObitErr.h" 00032 #include "ObitInfoList.h" 00033 00034 /*-------- Obit: Software for the recently deceased ------------------*/ 00050 /*----------------- Macroes ---------------------------*/ 00056 #define ObitTableDescUnref(in) ObitUnref (in) 00057 00063 #define ObitTableDescRef(in) ObitRef (in) 00064 00071 #define ObitTableDescIsA(in) ObitIsA (in, ObitTableDescGetClass()) 00072 00074 #define Table_MAXDIM 7 /* maximum array dimension */ 00075 00076 #define Table_MAX_RANP 14 /* maximum array dimension */ 00077 00078 #define TableLEN_VALUE 41 00079 00080 #define TableLEN_KEYWORD 21 00081 00082 /*--------------Class definitions-------------------------------------*/ 00088 typedef struct { 00089 #include "ObitTableDescDef.h" /* Actual definitions */ 00090 } ObitTableDesc; 00091 00092 /*---------------Public functions---------------------------*/ 00094 void ObitTableDescClassInit (void); 00095 00097 ObitTableDesc* newObitTableDesc (gchar *name); 00098 00100 ObitTableDesc* ObitTableDescCopy (ObitTableDesc* in, ObitTableDesc* out, 00101 ObitErr *err); 00102 00104 gconstpointer ObitTableDescGetClass (void); 00105 00107 void ObitTableDescCopyDesc (ObitTableDesc* in, ObitTableDesc* out, 00108 ObitErr *err); 00109 00111 void ObitTableDescIndex (ObitTableDesc* in); 00112 00114 void ObitTableDescRealloc (ObitTableDesc* in, glong nfield); 00115 00117 gboolean ObitTableDescCompatible (ObitTableDesc* in1, 00118 ObitTableDesc* in2); 00119 00120 /*-------------------Class Info--------------------------*/ 00126 typedef struct { 00127 #include "ObitTableDescClassDef.h" /* Actual definition */ 00128 } ObitTableDescClassInfo; 00129 00130 00131 #endif /* OBITTABLEDESC_H */ 00132
1.3.9.1