File tree 2 files changed +21
-0
lines changed
2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ Features
17
17
### New API functions
18
18
19
19
- added SCIPskipSpace
20
+ - added XML parser routines from src/xml/xml.h
20
21
21
22
### Interfaces to external software
22
23
Original file line number Diff line number Diff line change @@ -63,69 +63,81 @@ struct XML_NODE_struct
63
63
};
64
64
65
65
/** Parse file */
66
+ SCIP_EXPORT
66
67
XML_NODE * xmlProcess (
67
68
const char * filename /**< XML file name */
68
69
);
69
70
70
71
/** create new node */
72
+ SCIP_EXPORT
71
73
XML_NODE * xmlNewNode (
72
74
const char * name ,
73
75
int lineno
74
76
);
75
77
76
78
/** create new attribute */
79
+ SCIP_EXPORT
77
80
XML_ATTR * xmlNewAttr (
78
81
const char * name ,
79
82
const char * value
80
83
);
81
84
82
85
/** add attribute */
86
+ SCIP_EXPORT
83
87
void xmlAddAttr (
84
88
XML_NODE * n ,
85
89
XML_ATTR * a
86
90
);
87
91
88
92
/** append child node */
93
+ SCIP_EXPORT
89
94
void xmlAppendChild (
90
95
XML_NODE * parent ,
91
96
XML_NODE * child
92
97
);
93
98
94
99
/** free node */
100
+ SCIP_EXPORT
95
101
void xmlFreeNode (
96
102
XML_NODE * node
97
103
);
98
104
99
105
/** output node */
106
+ SCIP_EXPORT
100
107
void xmlShowNode (
101
108
const XML_NODE * root
102
109
);
103
110
104
111
/** get attribute value */
112
+ SCIP_EXPORT
105
113
const char * xmlGetAttrval (
106
114
const XML_NODE * node ,
107
115
const char * name
108
116
);
109
117
110
118
/** return first node */
119
+ SCIP_EXPORT
111
120
const XML_NODE * xmlFirstNode (
112
121
const XML_NODE * node ,
113
122
const char * name
114
123
);
115
124
116
125
/** return next node */
126
+ SCIP_EXPORT
117
127
const XML_NODE * xmlNextNode (
118
128
const XML_NODE * node ,
119
129
const char * name
120
130
);
121
131
122
132
/** find node */
133
+ SCIP_EXPORT
123
134
const XML_NODE * xmlFindNode (
124
135
const XML_NODE * node ,
125
136
const char * name
126
137
);
127
138
128
139
/** find node with bound on the depth */
140
+ SCIP_EXPORT
129
141
const XML_NODE * xmlFindNodeMaxdepth (
130
142
const XML_NODE * node , /**< current node - use start node to begin */
131
143
const char * name , /**< name of tag to search for */
@@ -134,41 +146,49 @@ const XML_NODE* xmlFindNodeMaxdepth(
134
146
);
135
147
136
148
/** return next sibling */
149
+ SCIP_EXPORT
137
150
const XML_NODE * xmlNextSibl (
138
151
const XML_NODE * node
139
152
);
140
153
141
154
/** return previous sibling */
155
+ SCIP_EXPORT
142
156
const XML_NODE * xmlPrevSibl (
143
157
const XML_NODE * node
144
158
);
145
159
146
160
/** return first child */
161
+ SCIP_EXPORT
147
162
const XML_NODE * xmlFirstChild (
148
163
const XML_NODE * node
149
164
);
150
165
151
166
/** return last child */
167
+ SCIP_EXPORT
152
168
const XML_NODE * xmlLastChild (
153
169
const XML_NODE * node
154
170
);
155
171
156
172
/** return name of node */
173
+ SCIP_EXPORT
157
174
const char * xmlGetName (
158
175
const XML_NODE * node
159
176
);
160
177
161
178
/** get line number */
179
+ SCIP_EXPORT
162
180
int xmlGetLine (
163
181
const XML_NODE * node
164
182
);
165
183
166
184
/** get data */
185
+ SCIP_EXPORT
167
186
const char * xmlGetData (
168
187
const XML_NODE * node
169
188
);
170
189
171
190
/** find PCDATA */
191
+ SCIP_EXPORT
172
192
const char * xmlFindPcdata (
173
193
const XML_NODE * node ,
174
194
const char * name
You can’t perform that action at this time.
0 commit comments