00001 /* $Id: ObitGBTIFInfo.h,v 1.3 2004/12/28 13:52:44 bcotton Exp $ */ 00002 /*--------------------------------------------------------------------*/ 00003 /*; Copyright (C) 2003,2004 */ 00004 /*; Associated Universities, Inc. Washington DC, USA. */ 00005 /*; */ 00006 /*; This program is free software; you can redistribute it and/or */ 00007 /*; modify it under the terms of the GNU General Public License as */ 00008 /*; published by the Free Software Foundation; either version 2 of */ 00009 /*; the License, or (at your option) any later version. */ 00010 /*; */ 00011 /*; This program is distributed in the hope that it will be useful, */ 00012 /*; but WITHOUT ANY WARRANTY; without even the implied warranty of */ 00013 /*; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ 00014 /*; GNU General Public License for more details. */ 00015 /*; */ 00016 /*; You should have received a copy of the GNU General Public */ 00017 /*; License along with this program; if not, write to the Free */ 00018 /*; Software Foundation, Inc., 675 Massachusetts Ave, Cambridge, */ 00019 /*; MA 02139, USA. */ 00020 /*; */ 00021 /*; Correspondence this software should be addressed as follows: */ 00022 /*; Internet email: bcotton@nrao.edu. */ 00023 /*; Postal address: William Cotton */ 00024 /*; National Radio Astronomy Observatory */ 00025 /*; 520 Edgemont Road */ 00026 /*; Charlottesville, VA 22903-2475 USA */ 00027 /*--------------------------------------------------------------------*/ 00028 #ifndef OBITGBTIFINFO_H 00029 #define OBITGBTIFINFO_H 00030 #include <glib.h> 00031 #include "Obit.h" 00032 #include "ObitErr.h" 00033 00034 /*-------- Obit: Software for the recently deceased ------------------*/ 00052 /*---------------Class Structure---------------------------*/ 00054 typedef struct { 00055 #include "ObitGBTIFInfoDef.h" /* actual definition */ 00056 } ObitGBTIFInfo; 00057 00058 /*----------------- Macroes ---------------------------*/ 00064 #define ObitGBTIFInfoUnref(in) ObitUnref (in) 00065 00071 #define ObitGBTIFInfoRef(in) ObitRef (in) 00072 00079 #define ObitGBTIFInfoIsA(in) ObitIsA (in, ObitGBTIFInfoGetClass()) 00080 00081 /*---------------Public functions---------------------------*/ 00083 void ObitGBTIFInfoClassInit (void); 00084 00086 ObitGBTIFInfo* newObitGBTIFInfo (gchar* name); 00087 00089 ObitGBTIFInfo* 00090 newObitGBTIFInfoValue (gchar *name, gchar *backend, gint disk, gchar *scan, ObitErr *err); 00091 00093 gconstpointer ObitGBTIFInfoGetClass (void); 00094 00096 ObitGBTIFInfo* 00097 ObitGBTIFInfoCopy (ObitGBTIFInfo *in, ObitGBTIFInfo *out, ObitErr *err); 00098 00099 /*-------------------Class Info--------------------------*/ 00105 typedef struct { 00106 #include "ObitGBTIFInfoClassDef.h" /* Actual definition */ 00107 } ObitGBTIFInfoClassInfo; 00108 00109 00110 #endif /* OBITGBTIFINFO_H */