Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gml_parser.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file gml_parser.h
1 /* This software is distributed under the GNU Lesser General Public License */
2 //==========================================================================
3 //
4 // gml_parser.h
5 //
6 //==========================================================================
7 // $Id: gml_parser.h,v 1.7 2000/01/05 16:32:36 raitner Exp $
8 
9 #ifndef GTL_GML_PARSER_H
10 #define GTL_GML_PARSER_H
11 
12 #include <GTL/GTL.h>
13 #include <GTL/gml_scanner.h>
14 
16 
21  long integer;
22  double floating;
23  char* str;
24  struct GML_pair* list;
25 };
26 
31  char* key;
34  struct GML_pair* next;
35 };
36 
41  char* key;
43 };
44 
49  struct GML_error err;
51 };
52 
53 /*
54  * returns list of KEY - VALUE pairs. Errors and a pointer to a list
55  * of key-names are returned in GML_stat. Previous information contained
56  * in GML_stat, i.e. the key_list, will be *lost*.
57  */
58 
59 GTL_EXTERN GML_pair* GML_parser (FILE*, GML_stat*, int);
60 
61 /*
62  * free memory used in a list of GML_pair
63  */
64 
66 
67 
68 /*
69  * debugging
70  */
71 
73 
75 
76 #endif // GTL_GML_PARSER_H
77 
78 //--------------------------------------------------------------------------
79 // end of file
80 //--------------------------------------------------------------------------