Line data Source code
1 :
2 : /*
3 : * ALMA - Atacama Large Millimeter Array
4 : * (c) European Southern Observatory, 2002
5 : * (c) Associated Universities Inc., 2002
6 : * Copyright by ESO (in the framework of the ALMA collaboration),
7 : * Copyright by AUI (in the framework of the ALMA collaboration),
8 : * All rights reserved.
9 : *
10 : * This library is free software; you can redistribute it and/or
11 : * modify it under the terms of the GNU Lesser General Public
12 : * License as published by the Free software Foundation; either
13 : * version 2.1 of the License, or (at your option) any later version.
14 : *
15 : * This library is distributed in the hope that it will be useful,
16 : * but WITHOUT ANY WARRANTY, without even the implied warranty of
17 : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 : * Lesser General Public License for more details.
19 : *
20 : * You should have received a copy of the GNU Lesser General Public
21 : * License along with this library; if not, write to the Free Software
22 : * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
23 : * MA 02111-1307 USA
24 : *
25 : * Warning!
26 : * --------------------------------------------------------------------
27 : * | This is generated code! Do not modify this file. |
28 : * | If you do, all changes will be lost when the file is re-generated. |
29 : * --------------------------------------------------------------------
30 : *
31 : * File Parser.h
32 : */
33 : #ifndef Parser_CLASS
34 : #define Parser_CLASS
35 :
36 : #include <stdint.h>
37 : #include <string>
38 : #include <vector>
39 : #include <set>
40 :
41 : #include <alma/ASDM/Angle.h>
42 : #include <alma/ASDM/AngularRate.h>
43 : #include <alma/ASDM/ArrayTime.h>
44 : #include <alma/ASDM/ArrayTimeInterval.h>
45 : #include <alma/ASDM/ComplexWrapper.h>
46 : #include <alma/ASDM/Entity.h>
47 : #include <alma/ASDM/EntityId.h>
48 : #include <alma/ASDM/EntityRef.h>
49 : #include <alma/ASDM/Flux.h>
50 : #include <alma/ASDM/Frequency.h>
51 : #include <alma/ASDM/Humidity.h>
52 : #include <alma/ASDM/Interval.h>
53 : #include <alma/ASDM/Length.h>
54 : #include <alma/ASDM/Pressure.h>
55 : #include <alma/ASDM/Speed.h>
56 : #include <alma/ASDM/Tag.h>
57 : #include <alma/ASDM/Temperature.h>
58 :
59 : #include <alma/ASDM/StringTokenizer.h>
60 : #include <alma/ASDM/OutOfBoundsException.h>
61 : #include <alma/ASDM/LongWrapper.h>
62 : #include <alma/ASDM/ConversionException.h>
63 :
64 : namespace asdm {
65 : /**
66 : * A Parser of for XML representation of ASDM datasets.
67 : */
68 : class Parser {
69 :
70 : public:
71 :
72 : Parser(const std::string &s);
73 :
74 : /**
75 : * Is s in the string being parsed?
76 : */
77 : bool isStr(const std::string &) const;
78 :
79 : /**
80 : * Get the portion of the string bounded by s1 and s2, inclusive.
81 : * @param s1
82 : * @param s2
83 : * @return
84 : */
85 : std::string getElement(const std::string &s1, const std::string &s2);
86 :
87 : /**
88 : * Get the portion of the string bounded by s1 and s2, exclusive.
89 : * @param s1
90 : * @param s2
91 : * @return
92 : */
93 : std::string getElementContent(const std::string &s1, const std::string &s2);
94 :
95 : std::string getField(const std::string &field);
96 :
97 : static std::string getField(const std::string &xml, const std::string &field);
98 :
99 : // The follwing is a special case.
100 : static std::string getString(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
101 : // throw (ConversionException);
102 : static std::vector<std::string> get1DString(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
103 : // throw (ConversionException);
104 : static std::vector<std::vector<std::string> > get2DString(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
105 : // throw (ConversionException);
106 : static std::vector<std::vector<std::vector<std::string> > > get3DString(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
107 : // throw (ConversionException);
108 :
109 : // Generated methods for conversion to and from XML
110 : // data representations for all types, both primitive
111 : // and extended. Also included are 1, 2, and 3
112 : // dimensional arrays of these types.
113 :
114 :
115 : // Field type: int
116 :
117 : static void toXML(int data, const std::string &name, std::string &buf);
118 :
119 : static void toXML(std::vector<int> data, const std::string &name, std::string &buf);
120 :
121 : static void toXML(std::vector<std::vector<int> > data, const std::string &name, std::string &buf);
122 :
123 : static void toXML(std::vector<std::vector<std::vector<int> > > data, const std::string &name, std::string &buf);
124 :
125 : static void toXML(std::vector<std::vector<std::vector<std::vector<int> > > >data, const std::string &name, std::string &buf);
126 :
127 :
128 :
129 : static void toXML(std::set< int > data, const std::string &name, std::string &buf);
130 :
131 :
132 :
133 :
134 :
135 :
136 : static std::set< int > getIntSet(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
137 :
138 :
139 :
140 : static int getInteger(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
141 : // throw (ConversionException);
142 :
143 : static std::vector<int> get1DInteger(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
144 : // throw (ConversionException);
145 :
146 : static std::vector<std::vector<int> > get2DInteger(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
147 : // throw (ConversionException);
148 :
149 : static std::vector<std::vector<std::vector<int> > > get3DInteger(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
150 : // throw (ConversionException);
151 :
152 : static std::vector<std::vector<std::vector<std::vector<int> > > >get4DInteger(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
153 : // throw (ConversionException);
154 :
155 :
156 :
157 :
158 : // Field type: short
159 :
160 : static void toXML(short data, const std::string &name, std::string &buf);
161 :
162 : static void toXML(std::vector<short> data, const std::string &name, std::string &buf);
163 :
164 : static void toXML(std::vector<std::vector<short> > data, const std::string &name, std::string &buf);
165 :
166 : static void toXML(std::vector<std::vector<std::vector<short> > > data, const std::string &name, std::string &buf);
167 :
168 : static void toXML(std::vector<std::vector<std::vector<std::vector<short> > > >data, const std::string &name, std::string &buf);
169 :
170 :
171 :
172 :
173 :
174 :
175 :
176 :
177 :
178 :
179 : static short getShort(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
180 : // throw (ConversionException);
181 :
182 : static std::vector<short> get1DShort(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
183 : // throw (ConversionException);
184 :
185 : static std::vector<std::vector<short> > get2DShort(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
186 : // throw (ConversionException);
187 :
188 : static std::vector<std::vector<std::vector<short> > > get3DShort(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
189 : // throw (ConversionException);
190 :
191 : static std::vector<std::vector<std::vector<std::vector<short> > > >get4DShort(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
192 : // throw (ConversionException);
193 :
194 :
195 :
196 :
197 : // Field type: int64_t
198 :
199 : static void toXML(int64_t data, const std::string &name, std::string &buf);
200 :
201 : static void toXML(std::vector<int64_t> data, const std::string &name, std::string &buf);
202 :
203 : static void toXML(std::vector<std::vector<int64_t> > data, const std::string &name, std::string &buf);
204 :
205 : static void toXML(std::vector<std::vector<std::vector<int64_t> > > data, const std::string &name, std::string &buf);
206 :
207 : static void toXML(std::vector<std::vector<std::vector<std::vector<int64_t> > > >data, const std::string &name, std::string &buf);
208 :
209 :
210 :
211 :
212 :
213 :
214 :
215 :
216 :
217 :
218 : static int64_t getLong(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
219 : // throw (ConversionException);
220 :
221 : static std::vector<int64_t> get1DLong(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
222 : // throw (ConversionException);
223 :
224 : static std::vector<std::vector<int64_t> > get2DLong(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
225 : // throw (ConversionException);
226 :
227 : static std::vector<std::vector<std::vector<int64_t> > > get3DLong(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
228 : // throw (ConversionException);
229 :
230 : static std::vector<std::vector<std::vector<std::vector<int64_t> > > >get4DLong(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
231 : // throw (ConversionException);
232 :
233 :
234 :
235 :
236 : // Field type: char
237 :
238 : static void toXML(char data, const std::string &name, std::string &buf);
239 :
240 : static void toXML(std::vector<char> data, const std::string &name, std::string &buf);
241 :
242 : static void toXML(std::vector<std::vector<char> > data, const std::string &name, std::string &buf);
243 :
244 : static void toXML(std::vector<std::vector<std::vector<char> > > data, const std::string &name, std::string &buf);
245 :
246 : static void toXML(std::vector<std::vector<std::vector<std::vector<char> > > >data, const std::string &name, std::string &buf);
247 :
248 :
249 :
250 :
251 :
252 :
253 :
254 :
255 :
256 :
257 : static char getByte(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
258 : // throw (ConversionException);
259 :
260 : static std::vector<char> get1DByte(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
261 : // throw (ConversionException);
262 :
263 : static std::vector<std::vector<char> > get2DByte(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
264 : // throw (ConversionException);
265 :
266 : static std::vector<std::vector<std::vector<char> > > get3DByte(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
267 : // throw (ConversionException);
268 :
269 : static std::vector<std::vector<std::vector<std::vector<char> > > >get4DByte(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
270 : // throw (ConversionException);
271 :
272 :
273 :
274 :
275 : // Field type: float
276 :
277 : static void toXML(float data, const std::string &name, std::string &buf);
278 :
279 : static void toXML(std::vector<float> data, const std::string &name, std::string &buf);
280 :
281 : static void toXML(std::vector<std::vector<float> > data, const std::string &name, std::string &buf);
282 :
283 : static void toXML(std::vector<std::vector<std::vector<float> > > data, const std::string &name, std::string &buf);
284 :
285 : static void toXML(std::vector<std::vector<std::vector<std::vector<float> > > >data, const std::string &name, std::string &buf);
286 :
287 :
288 :
289 :
290 :
291 :
292 :
293 :
294 :
295 :
296 : static float getFloat(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
297 : // throw (ConversionException);
298 :
299 : static std::vector<float> get1DFloat(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
300 : // throw (ConversionException);
301 :
302 : static std::vector<std::vector<float> > get2DFloat(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
303 : // throw (ConversionException);
304 :
305 : static std::vector<std::vector<std::vector<float> > > get3DFloat(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
306 : // throw (ConversionException);
307 :
308 : static std::vector<std::vector<std::vector<std::vector<float> > > >get4DFloat(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
309 : // throw (ConversionException);
310 :
311 :
312 :
313 :
314 : // Field type: double
315 :
316 : static void toXML(double data, const std::string &name, std::string &buf);
317 :
318 : static void toXML(std::vector<double> data, const std::string &name, std::string &buf);
319 :
320 : static void toXML(std::vector<std::vector<double> > data, const std::string &name, std::string &buf);
321 :
322 : static void toXML(std::vector<std::vector<std::vector<double> > > data, const std::string &name, std::string &buf);
323 :
324 : static void toXML(std::vector<std::vector<std::vector<std::vector<double> > > >data, const std::string &name, std::string &buf);
325 :
326 :
327 :
328 :
329 :
330 :
331 :
332 :
333 :
334 :
335 : static double getDouble(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
336 : // throw (ConversionException);
337 :
338 : static std::vector<double> get1DDouble(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
339 : // throw (ConversionException);
340 :
341 : static std::vector<std::vector<double> > get2DDouble(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
342 : // throw (ConversionException);
343 :
344 : static std::vector<std::vector<std::vector<double> > > get3DDouble(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
345 : // throw (ConversionException);
346 :
347 : static std::vector<std::vector<std::vector<std::vector<double> > > >get4DDouble(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
348 : // throw (ConversionException);
349 :
350 :
351 :
352 :
353 : // Field type: unsigned char
354 :
355 : static void toXML(unsigned char data, const std::string &name, std::string &buf);
356 :
357 : static void toXML(std::vector<unsigned char> data, const std::string &name, std::string &buf);
358 :
359 : static void toXML(std::vector<std::vector<unsigned char> > data, const std::string &name, std::string &buf);
360 :
361 : static void toXML(std::vector<std::vector<std::vector<unsigned char> > > data, const std::string &name, std::string &buf);
362 :
363 : static void toXML(std::vector<std::vector<std::vector<std::vector<unsigned char> > > >data, const std::string &name, std::string &buf);
364 :
365 :
366 :
367 :
368 :
369 :
370 :
371 :
372 :
373 :
374 : static unsigned char getCharacter(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
375 : // throw (ConversionException);
376 :
377 : static std::vector<unsigned char> get1DCharacter(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
378 : // throw (ConversionException);
379 :
380 : static std::vector<std::vector<unsigned char> > get2DCharacter(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
381 : // throw (ConversionException);
382 :
383 : static std::vector<std::vector<std::vector<unsigned char> > > get3DCharacter(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
384 : // throw (ConversionException);
385 :
386 : static std::vector<std::vector<std::vector<std::vector<unsigned char> > > >get4DCharacter(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
387 : // throw (ConversionException);
388 :
389 :
390 :
391 :
392 : // Field type: bool
393 :
394 : static void toXML(bool data, const std::string &name, std::string &buf);
395 :
396 : static void toXML(std::vector<bool> data, const std::string &name, std::string &buf);
397 :
398 : static void toXML(std::vector<std::vector<bool> > data, const std::string &name, std::string &buf);
399 :
400 : static void toXML(std::vector<std::vector<std::vector<bool> > > data, const std::string &name, std::string &buf);
401 :
402 : static void toXML(std::vector<std::vector<std::vector<std::vector<bool> > > >data, const std::string &name, std::string &buf);
403 :
404 :
405 :
406 :
407 :
408 :
409 :
410 :
411 :
412 :
413 : static bool getBoolean(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
414 : // throw (ConversionException);
415 :
416 : static std::vector<bool> get1DBoolean(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
417 : // throw (ConversionException);
418 :
419 : static std::vector<std::vector<bool> > get2DBoolean(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
420 : // throw (ConversionException);
421 :
422 : static std::vector<std::vector<std::vector<bool> > > get3DBoolean(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
423 : // throw (ConversionException);
424 :
425 : static std::vector<std::vector<std::vector<std::vector<bool> > > >get4DBoolean(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
426 : // throw (ConversionException);
427 :
428 :
429 :
430 :
431 : // Field type: std::string
432 :
433 : static void toXML(std::string data, const std::string &name, std::string &buf);
434 :
435 : static void toXML(std::vector<std::string> data, const std::string &name, std::string &buf);
436 :
437 : static void toXML(std::vector<std::vector<std::string> > data, const std::string &name, std::string &buf);
438 :
439 : static void toXML(std::vector<std::vector<std::vector<std::string> > > data, const std::string &name, std::string &buf);
440 :
441 : static void toXML(std::vector<std::vector<std::vector<std::vector<std::string> > > >data, const std::string &name, std::string &buf);
442 :
443 :
444 :
445 :
446 :
447 :
448 :
449 : // Field type: Angle
450 :
451 : static void toXML(Angle data, const std::string &name, std::string &buf);
452 :
453 : static void toXML(std::vector<Angle> data, const std::string &name, std::string &buf);
454 :
455 : static void toXML(std::vector<std::vector<Angle> > data, const std::string &name, std::string &buf);
456 :
457 : static void toXML(std::vector<std::vector<std::vector<Angle> > > data, const std::string &name, std::string &buf);
458 :
459 : static void toXML(std::vector<std::vector<std::vector<std::vector<Angle> > > >data, const std::string &name, std::string &buf);
460 :
461 :
462 :
463 :
464 :
465 :
466 :
467 :
468 :
469 :
470 : static Angle getAngle(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
471 : // throw (ConversionException);
472 :
473 : static std::vector<Angle> get1DAngle(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
474 : // throw (ConversionException);
475 :
476 : static std::vector<std::vector<Angle> > get2DAngle(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
477 : // throw (ConversionException);
478 :
479 : static std::vector<std::vector<std::vector<Angle> > > get3DAngle(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
480 : // throw (ConversionException);
481 :
482 : static std::vector<std::vector<std::vector<std::vector<Angle> > > >get4DAngle(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
483 : // throw (ConversionException);
484 :
485 :
486 :
487 :
488 : // Field type: AngularRate
489 :
490 : static void toXML(AngularRate data, const std::string &name, std::string &buf);
491 :
492 : static void toXML(std::vector<AngularRate> data, const std::string &name, std::string &buf);
493 :
494 : static void toXML(std::vector<std::vector<AngularRate> > data, const std::string &name, std::string &buf);
495 :
496 : static void toXML(std::vector<std::vector<std::vector<AngularRate> > > data, const std::string &name, std::string &buf);
497 :
498 : static void toXML(std::vector<std::vector<std::vector<std::vector<AngularRate> > > >data, const std::string &name, std::string &buf);
499 :
500 :
501 :
502 :
503 :
504 :
505 :
506 :
507 :
508 :
509 : static AngularRate getAngularRate(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
510 : // throw (ConversionException);
511 :
512 : static std::vector<AngularRate> get1DAngularRate(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
513 : // throw (ConversionException);
514 :
515 : static std::vector<std::vector<AngularRate> > get2DAngularRate(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
516 : // throw (ConversionException);
517 :
518 : static std::vector<std::vector<std::vector<AngularRate> > > get3DAngularRate(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
519 : // throw (ConversionException);
520 :
521 : static std::vector<std::vector<std::vector<std::vector<AngularRate> > > >get4DAngularRate(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
522 : // throw (ConversionException);
523 :
524 :
525 :
526 :
527 : // Field type: ArrayTime
528 :
529 : static void toXML(ArrayTime data, const std::string &name, std::string &buf);
530 :
531 : static void toXML(std::vector<ArrayTime> data, const std::string &name, std::string &buf);
532 :
533 : static void toXML(std::vector<std::vector<ArrayTime> > data, const std::string &name, std::string &buf);
534 :
535 : static void toXML(std::vector<std::vector<std::vector<ArrayTime> > > data, const std::string &name, std::string &buf);
536 :
537 : static void toXML(std::vector<std::vector<std::vector<std::vector<ArrayTime> > > >data, const std::string &name, std::string &buf);
538 :
539 :
540 :
541 :
542 :
543 :
544 :
545 :
546 :
547 :
548 : static ArrayTime getArrayTime(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
549 : // throw (ConversionException);
550 :
551 : static std::vector<ArrayTime> get1DArrayTime(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
552 : // throw (ConversionException);
553 :
554 : static std::vector<std::vector<ArrayTime> > get2DArrayTime(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
555 : // throw (ConversionException);
556 :
557 : static std::vector<std::vector<std::vector<ArrayTime> > > get3DArrayTime(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
558 : // throw (ConversionException);
559 :
560 : static std::vector<std::vector<std::vector<std::vector<ArrayTime> > > >get4DArrayTime(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
561 : // throw (ConversionException);
562 :
563 :
564 :
565 :
566 : // Field type: ArrayTimeInterval
567 :
568 : static void toXML(ArrayTimeInterval data, const std::string &name, std::string &buf);
569 :
570 : static void toXML(std::vector<ArrayTimeInterval> data, const std::string &name, std::string &buf);
571 :
572 : static void toXML(std::vector<std::vector<ArrayTimeInterval> > data, const std::string &name, std::string &buf);
573 :
574 : static void toXML(std::vector<std::vector<std::vector<ArrayTimeInterval> > > data, const std::string &name, std::string &buf);
575 :
576 : static void toXML(std::vector<std::vector<std::vector<std::vector<ArrayTimeInterval> > > >data, const std::string &name, std::string &buf);
577 :
578 :
579 :
580 :
581 :
582 :
583 :
584 :
585 :
586 :
587 : static ArrayTimeInterval getArrayTimeInterval(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
588 : // throw (ConversionException);
589 :
590 : static std::vector<ArrayTimeInterval> get1DArrayTimeInterval(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
591 : // throw (ConversionException);
592 :
593 : static std::vector<std::vector<ArrayTimeInterval> > get2DArrayTimeInterval(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
594 : // throw (ConversionException);
595 :
596 : static std::vector<std::vector<std::vector<ArrayTimeInterval> > > get3DArrayTimeInterval(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
597 : // throw (ConversionException);
598 :
599 : static std::vector<std::vector<std::vector<std::vector<ArrayTimeInterval> > > >get4DArrayTimeInterval(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
600 : // throw (ConversionException);
601 :
602 :
603 :
604 :
605 : // Field type: Complex
606 :
607 : static void toXML(Complex data, const std::string &name, std::string &buf);
608 :
609 : static void toXML(std::vector<Complex> data, const std::string &name, std::string &buf);
610 :
611 : static void toXML(std::vector<std::vector<Complex> > data, const std::string &name, std::string &buf);
612 :
613 : static void toXML(std::vector<std::vector<std::vector<Complex> > > data, const std::string &name, std::string &buf);
614 :
615 : static void toXML(std::vector<std::vector<std::vector<std::vector<Complex> > > >data, const std::string &name, std::string &buf);
616 :
617 :
618 :
619 :
620 :
621 :
622 :
623 :
624 :
625 :
626 : static Complex getComplex(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
627 : // throw (ConversionException);
628 :
629 : static std::vector<Complex> get1DComplex(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
630 : // throw (ConversionException);
631 :
632 : static std::vector<std::vector<Complex> > get2DComplex(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
633 : // throw (ConversionException);
634 :
635 : static std::vector<std::vector<std::vector<Complex> > > get3DComplex(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
636 : // throw (ConversionException);
637 :
638 : static std::vector<std::vector<std::vector<std::vector<Complex> > > >get4DComplex(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
639 : // throw (ConversionException);
640 :
641 :
642 :
643 :
644 : // Field type: Entity
645 :
646 : static void toXML(Entity data, const std::string &name, std::string &buf);
647 :
648 : static void toXML(std::vector<Entity> data, const std::string &name, std::string &buf);
649 :
650 : static void toXML(std::vector<std::vector<Entity> > data, const std::string &name, std::string &buf);
651 :
652 : static void toXML(std::vector<std::vector<std::vector<Entity> > > data, const std::string &name, std::string &buf);
653 :
654 : static void toXML(std::vector<std::vector<std::vector<std::vector<Entity> > > >data, const std::string &name, std::string &buf);
655 :
656 :
657 :
658 :
659 :
660 :
661 :
662 :
663 :
664 :
665 : static Entity getEntity(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
666 : // throw (ConversionException);
667 :
668 : static std::vector<Entity> get1DEntity(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
669 : // throw (ConversionException);
670 :
671 : static std::vector<std::vector<Entity> > get2DEntity(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
672 : // throw (ConversionException);
673 :
674 : static std::vector<std::vector<std::vector<Entity> > > get3DEntity(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
675 : // throw (ConversionException);
676 :
677 : static std::vector<std::vector<std::vector<std::vector<Entity> > > >get4DEntity(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
678 : // throw (ConversionException);
679 :
680 :
681 :
682 :
683 : // Field type: EntityId
684 :
685 : static void toXML(EntityId data, const std::string &name, std::string &buf);
686 :
687 : static void toXML(std::vector<EntityId> data, const std::string &name, std::string &buf);
688 :
689 : static void toXML(std::vector<std::vector<EntityId> > data, const std::string &name, std::string &buf);
690 :
691 : static void toXML(std::vector<std::vector<std::vector<EntityId> > > data, const std::string &name, std::string &buf);
692 :
693 : static void toXML(std::vector<std::vector<std::vector<std::vector<EntityId> > > >data, const std::string &name, std::string &buf);
694 :
695 :
696 :
697 :
698 :
699 :
700 :
701 :
702 :
703 :
704 : static EntityId getEntityId(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
705 : // throw (ConversionException);
706 :
707 : static std::vector<EntityId> get1DEntityId(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
708 : // throw (ConversionException);
709 :
710 : static std::vector<std::vector<EntityId> > get2DEntityId(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
711 : // throw (ConversionException);
712 :
713 : static std::vector<std::vector<std::vector<EntityId> > > get3DEntityId(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
714 : // throw (ConversionException);
715 :
716 : static std::vector<std::vector<std::vector<std::vector<EntityId> > > >get4DEntityId(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
717 : // throw (ConversionException);
718 :
719 :
720 :
721 :
722 : // Field type: EntityRef
723 :
724 : static void toXML(EntityRef data, const std::string &name, std::string &buf);
725 :
726 : static void toXML(std::vector<EntityRef> data, const std::string &name, std::string &buf);
727 :
728 : static void toXML(std::vector<std::vector<EntityRef> > data, const std::string &name, std::string &buf);
729 :
730 : static void toXML(std::vector<std::vector<std::vector<EntityRef> > > data, const std::string &name, std::string &buf);
731 :
732 : static void toXML(std::vector<std::vector<std::vector<std::vector<EntityRef> > > >data, const std::string &name, std::string &buf);
733 :
734 :
735 :
736 :
737 :
738 :
739 :
740 :
741 :
742 :
743 : static EntityRef getEntityRef(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
744 : // throw (ConversionException);
745 :
746 : static std::vector<EntityRef> get1DEntityRef(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
747 : // throw (ConversionException);
748 :
749 : static std::vector<std::vector<EntityRef> > get2DEntityRef(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
750 : // throw (ConversionException);
751 :
752 : static std::vector<std::vector<std::vector<EntityRef> > > get3DEntityRef(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
753 : // throw (ConversionException);
754 :
755 : static std::vector<std::vector<std::vector<std::vector<EntityRef> > > >get4DEntityRef(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
756 : // throw (ConversionException);
757 :
758 :
759 :
760 :
761 : // Field type: Flux
762 :
763 : static void toXML(Flux data, const std::string &name, std::string &buf);
764 :
765 : static void toXML(std::vector<Flux> data, const std::string &name, std::string &buf);
766 :
767 : static void toXML(std::vector<std::vector<Flux> > data, const std::string &name, std::string &buf);
768 :
769 : static void toXML(std::vector<std::vector<std::vector<Flux> > > data, const std::string &name, std::string &buf);
770 :
771 : static void toXML(std::vector<std::vector<std::vector<std::vector<Flux> > > >data, const std::string &name, std::string &buf);
772 :
773 :
774 :
775 :
776 :
777 :
778 :
779 :
780 :
781 :
782 : static Flux getFlux(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
783 : // throw (ConversionException);
784 :
785 : static std::vector<Flux> get1DFlux(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
786 : // throw (ConversionException);
787 :
788 : static std::vector<std::vector<Flux> > get2DFlux(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
789 : // throw (ConversionException);
790 :
791 : static std::vector<std::vector<std::vector<Flux> > > get3DFlux(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
792 : // throw (ConversionException);
793 :
794 : static std::vector<std::vector<std::vector<std::vector<Flux> > > >get4DFlux(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
795 : // throw (ConversionException);
796 :
797 :
798 :
799 :
800 : // Field type: Frequency
801 :
802 : static void toXML(Frequency data, const std::string &name, std::string &buf);
803 :
804 : static void toXML(std::vector<Frequency> data, const std::string &name, std::string &buf);
805 :
806 : static void toXML(std::vector<std::vector<Frequency> > data, const std::string &name, std::string &buf);
807 :
808 : static void toXML(std::vector<std::vector<std::vector<Frequency> > > data, const std::string &name, std::string &buf);
809 :
810 : static void toXML(std::vector<std::vector<std::vector<std::vector<Frequency> > > >data, const std::string &name, std::string &buf);
811 :
812 :
813 :
814 :
815 :
816 :
817 :
818 :
819 :
820 :
821 : static Frequency getFrequency(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
822 : // throw (ConversionException);
823 :
824 : static std::vector<Frequency> get1DFrequency(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
825 : // throw (ConversionException);
826 :
827 : static std::vector<std::vector<Frequency> > get2DFrequency(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
828 : // throw (ConversionException);
829 :
830 : static std::vector<std::vector<std::vector<Frequency> > > get3DFrequency(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
831 : // throw (ConversionException);
832 :
833 : static std::vector<std::vector<std::vector<std::vector<Frequency> > > >get4DFrequency(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
834 : // throw (ConversionException);
835 :
836 :
837 :
838 :
839 : // Field type: Humidity
840 :
841 : static void toXML(Humidity data, const std::string &name, std::string &buf);
842 :
843 : static void toXML(std::vector<Humidity> data, const std::string &name, std::string &buf);
844 :
845 : static void toXML(std::vector<std::vector<Humidity> > data, const std::string &name, std::string &buf);
846 :
847 : static void toXML(std::vector<std::vector<std::vector<Humidity> > > data, const std::string &name, std::string &buf);
848 :
849 : static void toXML(std::vector<std::vector<std::vector<std::vector<Humidity> > > >data, const std::string &name, std::string &buf);
850 :
851 :
852 :
853 :
854 :
855 :
856 :
857 :
858 :
859 :
860 : static Humidity getHumidity(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
861 : // throw (ConversionException);
862 :
863 : static std::vector<Humidity> get1DHumidity(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
864 : // throw (ConversionException);
865 :
866 : static std::vector<std::vector<Humidity> > get2DHumidity(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
867 : // throw (ConversionException);
868 :
869 : static std::vector<std::vector<std::vector<Humidity> > > get3DHumidity(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
870 : // throw (ConversionException);
871 :
872 : static std::vector<std::vector<std::vector<std::vector<Humidity> > > >get4DHumidity(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
873 : // throw (ConversionException);
874 :
875 :
876 :
877 :
878 : // Field type: Interval
879 :
880 : static void toXML(Interval data, const std::string &name, std::string &buf);
881 :
882 : static void toXML(std::vector<Interval> data, const std::string &name, std::string &buf);
883 :
884 : static void toXML(std::vector<std::vector<Interval> > data, const std::string &name, std::string &buf);
885 :
886 : static void toXML(std::vector<std::vector<std::vector<Interval> > > data, const std::string &name, std::string &buf);
887 :
888 : static void toXML(std::vector<std::vector<std::vector<std::vector<Interval> > > >data, const std::string &name, std::string &buf);
889 :
890 :
891 :
892 :
893 :
894 :
895 :
896 :
897 :
898 :
899 : static Interval getInterval(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
900 : // throw (ConversionException);
901 :
902 : static std::vector<Interval> get1DInterval(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
903 : // throw (ConversionException);
904 :
905 : static std::vector<std::vector<Interval> > get2DInterval(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
906 : // throw (ConversionException);
907 :
908 : static std::vector<std::vector<std::vector<Interval> > > get3DInterval(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
909 : // throw (ConversionException);
910 :
911 : static std::vector<std::vector<std::vector<std::vector<Interval> > > >get4DInterval(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
912 : // throw (ConversionException);
913 :
914 :
915 :
916 :
917 : // Field type: Length
918 :
919 : static void toXML(Length data, const std::string &name, std::string &buf);
920 :
921 : static void toXML(std::vector<Length> data, const std::string &name, std::string &buf);
922 :
923 : static void toXML(std::vector<std::vector<Length> > data, const std::string &name, std::string &buf);
924 :
925 : static void toXML(std::vector<std::vector<std::vector<Length> > > data, const std::string &name, std::string &buf);
926 :
927 : static void toXML(std::vector<std::vector<std::vector<std::vector<Length> > > >data, const std::string &name, std::string &buf);
928 :
929 :
930 :
931 :
932 :
933 :
934 :
935 :
936 :
937 :
938 : static Length getLength(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
939 : // throw (ConversionException);
940 :
941 : static std::vector<Length> get1DLength(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
942 : // throw (ConversionException);
943 :
944 : static std::vector<std::vector<Length> > get2DLength(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
945 : // throw (ConversionException);
946 :
947 : static std::vector<std::vector<std::vector<Length> > > get3DLength(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
948 : // throw (ConversionException);
949 :
950 : static std::vector<std::vector<std::vector<std::vector<Length> > > >get4DLength(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
951 : // throw (ConversionException);
952 :
953 :
954 :
955 :
956 : // Field type: Pressure
957 :
958 : static void toXML(Pressure data, const std::string &name, std::string &buf);
959 :
960 : static void toXML(std::vector<Pressure> data, const std::string &name, std::string &buf);
961 :
962 : static void toXML(std::vector<std::vector<Pressure> > data, const std::string &name, std::string &buf);
963 :
964 : static void toXML(std::vector<std::vector<std::vector<Pressure> > > data, const std::string &name, std::string &buf);
965 :
966 : static void toXML(std::vector<std::vector<std::vector<std::vector<Pressure> > > >data, const std::string &name, std::string &buf);
967 :
968 :
969 :
970 :
971 :
972 :
973 :
974 :
975 :
976 :
977 : static Pressure getPressure(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
978 : // throw (ConversionException);
979 :
980 : static std::vector<Pressure> get1DPressure(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
981 : // throw (ConversionException);
982 :
983 : static std::vector<std::vector<Pressure> > get2DPressure(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
984 : // throw (ConversionException);
985 :
986 : static std::vector<std::vector<std::vector<Pressure> > > get3DPressure(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
987 : // throw (ConversionException);
988 :
989 : static std::vector<std::vector<std::vector<std::vector<Pressure> > > >get4DPressure(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
990 : // throw (ConversionException);
991 :
992 :
993 :
994 :
995 : // Field type: Speed
996 :
997 : static void toXML(Speed data, const std::string &name, std::string &buf);
998 :
999 : static void toXML(std::vector<Speed> data, const std::string &name, std::string &buf);
1000 :
1001 : static void toXML(std::vector<std::vector<Speed> > data, const std::string &name, std::string &buf);
1002 :
1003 : static void toXML(std::vector<std::vector<std::vector<Speed> > > data, const std::string &name, std::string &buf);
1004 :
1005 : static void toXML(std::vector<std::vector<std::vector<std::vector<Speed> > > >data, const std::string &name, std::string &buf);
1006 :
1007 :
1008 :
1009 :
1010 :
1011 :
1012 :
1013 :
1014 :
1015 :
1016 : static Speed getSpeed(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
1017 : // throw (ConversionException);
1018 :
1019 : static std::vector<Speed> get1DSpeed(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
1020 : // throw (ConversionException);
1021 :
1022 : static std::vector<std::vector<Speed> > get2DSpeed(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
1023 : // throw (ConversionException);
1024 :
1025 : static std::vector<std::vector<std::vector<Speed> > > get3DSpeed(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
1026 : // throw (ConversionException);
1027 :
1028 : static std::vector<std::vector<std::vector<std::vector<Speed> > > >get4DSpeed(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
1029 : // throw (ConversionException);
1030 :
1031 :
1032 :
1033 :
1034 : // Field type: Tag
1035 :
1036 : static void toXML(Tag data, const std::string &name, std::string &buf);
1037 :
1038 : static void toXML(std::vector<Tag> data, const std::string &name, std::string &buf);
1039 :
1040 : static void toXML(std::vector<std::vector<Tag> > data, const std::string &name, std::string &buf);
1041 :
1042 : static void toXML(std::vector<std::vector<std::vector<Tag> > > data, const std::string &name, std::string &buf);
1043 :
1044 : static void toXML(std::vector<std::vector<std::vector<std::vector<Tag> > > >data, const std::string &name, std::string &buf);
1045 :
1046 :
1047 :
1048 : static void toXML(std::set< Tag > data, const std::string &name, std::string &buf);
1049 :
1050 :
1051 :
1052 :
1053 :
1054 :
1055 : static std::set< Tag > getTagSet(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
1056 :
1057 :
1058 :
1059 : static Tag getTag(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
1060 : // throw (ConversionException);
1061 :
1062 : static std::vector<Tag> get1DTag(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
1063 : // throw (ConversionException);
1064 :
1065 : static std::vector<std::vector<Tag> > get2DTag(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
1066 : // throw (ConversionException);
1067 :
1068 : static std::vector<std::vector<std::vector<Tag> > > get3DTag(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
1069 : // throw (ConversionException);
1070 :
1071 : static std::vector<std::vector<std::vector<std::vector<Tag> > > >get4DTag(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
1072 : // throw (ConversionException);
1073 :
1074 :
1075 :
1076 :
1077 : // Field type: Temperature
1078 :
1079 : static void toXML(Temperature data, const std::string &name, std::string &buf);
1080 :
1081 : static void toXML(std::vector<Temperature> data, const std::string &name, std::string &buf);
1082 :
1083 : static void toXML(std::vector<std::vector<Temperature> > data, const std::string &name, std::string &buf);
1084 :
1085 : static void toXML(std::vector<std::vector<std::vector<Temperature> > > data, const std::string &name, std::string &buf);
1086 :
1087 : static void toXML(std::vector<std::vector<std::vector<std::vector<Temperature> > > >data, const std::string &name, std::string &buf);
1088 :
1089 :
1090 :
1091 :
1092 :
1093 :
1094 :
1095 :
1096 :
1097 :
1098 : static Temperature getTemperature(const std::string &name, const std::string &tableName, const std::string &xmlDoc) ;
1099 : // throw (ConversionException);
1100 :
1101 : static std::vector<Temperature> get1DTemperature(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
1102 : // throw (ConversionException);
1103 :
1104 : static std::vector<std::vector<Temperature> > get2DTemperature(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
1105 : // throw (ConversionException);
1106 :
1107 : static std::vector<std::vector<std::vector<Temperature> > > get3DTemperature(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
1108 : // throw (ConversionException);
1109 :
1110 : static std::vector<std::vector<std::vector<std::vector<Temperature> > > >get4DTemperature(const std::string &name, const std::string &tableName, const std::string &xmlDoc);
1111 : // throw (ConversionException);
1112 :
1113 :
1114 :
1115 :
1116 :
1117 : // Generated methods for conversion to and from XML
1118 : // data representations with a Base64 encoded content.
1119 : // The methods are generated only for 1, 2 and 3 dimensional arrays
1120 : // of data whose BasicType have a non null BaseWrapperName.
1121 : // In practice this represents data whose type is one of the basic numeric types
1122 : // or is built upon a basic numeric type.
1123 :
1124 :
1125 :
1126 : static void toXMLBase64(std::vector<int> data, const std::string &name, std::string &buf);
1127 : static void toXMLBase64(std::vector<std::vector<int> > data, const std::string &name, std::string &buf);
1128 : static void toXMLBase64(std::vector<std::vector<std::vector<int> > > data, const std::string &name, std::string &buf);
1129 : static void toXMLBase64(std::vector<std::vector<std::vector<std::vector<int> > > >data, const std::string &name, std::string &buf);
1130 :
1131 :
1132 : static std::vector<int>& get1DIntegerFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<int>& attribute);
1133 : // throw (ConversionException);
1134 :
1135 :
1136 : static std::vector<std::vector<int> >& get2DIntegerFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<int> >& attribute);
1137 : // throw (ConversionException);
1138 :
1139 :
1140 : static std::vector<std::vector<std::vector<int> > >& get3DIntegerFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<int> > >& attribute);
1141 : // throw (ConversionException);
1142 :
1143 :
1144 : static std::vector<std::vector<std::vector<std::vector<int> > > >& get4DIntegerFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<std::vector<int> > > >& attribute);
1145 : // throw (ConversionException);
1146 :
1147 :
1148 :
1149 :
1150 : static void toXMLBase64(std::vector<short> data, const std::string &name, std::string &buf);
1151 : static void toXMLBase64(std::vector<std::vector<short> > data, const std::string &name, std::string &buf);
1152 : static void toXMLBase64(std::vector<std::vector<std::vector<short> > > data, const std::string &name, std::string &buf);
1153 : static void toXMLBase64(std::vector<std::vector<std::vector<std::vector<short> > > >data, const std::string &name, std::string &buf);
1154 :
1155 :
1156 : static std::vector<short>& get1DShortFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<short>& attribute);
1157 : // throw (ConversionException);
1158 :
1159 :
1160 : static std::vector<std::vector<short> >& get2DShortFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<short> >& attribute);
1161 : // throw (ConversionException);
1162 :
1163 :
1164 : static std::vector<std::vector<std::vector<short> > >& get3DShortFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<short> > >& attribute);
1165 : // throw (ConversionException);
1166 :
1167 :
1168 : static std::vector<std::vector<std::vector<std::vector<short> > > >& get4DShortFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<std::vector<short> > > >& attribute);
1169 : // throw (ConversionException);
1170 :
1171 :
1172 :
1173 :
1174 : static void toXMLBase64(std::vector<int64_t> data, const std::string &name, std::string &buf);
1175 : static void toXMLBase64(std::vector<std::vector<int64_t> > data, const std::string &name, std::string &buf);
1176 : static void toXMLBase64(std::vector<std::vector<std::vector<int64_t> > > data, const std::string &name, std::string &buf);
1177 : static void toXMLBase64(std::vector<std::vector<std::vector<std::vector<int64_t> > > >data, const std::string &name, std::string &buf);
1178 :
1179 :
1180 : static std::vector<int64_t>& get1DLongFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<int64_t>& attribute);
1181 : // throw (ConversionException);
1182 :
1183 :
1184 : static std::vector<std::vector<int64_t> >& get2DLongFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<int64_t> >& attribute);
1185 : // throw (ConversionException);
1186 :
1187 :
1188 : static std::vector<std::vector<std::vector<int64_t> > >& get3DLongFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<int64_t> > >& attribute);
1189 : // throw (ConversionException);
1190 :
1191 :
1192 : static std::vector<std::vector<std::vector<std::vector<int64_t> > > >& get4DLongFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<std::vector<int64_t> > > >& attribute);
1193 : // throw (ConversionException);
1194 :
1195 :
1196 :
1197 :
1198 : static void toXMLBase64(std::vector<char> data, const std::string &name, std::string &buf);
1199 : static void toXMLBase64(std::vector<std::vector<char> > data, const std::string &name, std::string &buf);
1200 : static void toXMLBase64(std::vector<std::vector<std::vector<char> > > data, const std::string &name, std::string &buf);
1201 : static void toXMLBase64(std::vector<std::vector<std::vector<std::vector<char> > > >data, const std::string &name, std::string &buf);
1202 :
1203 :
1204 : static std::vector<char>& get1DByteFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<char>& attribute);
1205 : // throw (ConversionException);
1206 :
1207 :
1208 : static std::vector<std::vector<char> >& get2DByteFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<char> >& attribute);
1209 : // throw (ConversionException);
1210 :
1211 :
1212 : static std::vector<std::vector<std::vector<char> > >& get3DByteFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<char> > >& attribute);
1213 : // throw (ConversionException);
1214 :
1215 :
1216 : static std::vector<std::vector<std::vector<std::vector<char> > > >& get4DByteFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<std::vector<char> > > >& attribute);
1217 : // throw (ConversionException);
1218 :
1219 :
1220 :
1221 :
1222 : static void toXMLBase64(std::vector<float> data, const std::string &name, std::string &buf);
1223 : static void toXMLBase64(std::vector<std::vector<float> > data, const std::string &name, std::string &buf);
1224 : static void toXMLBase64(std::vector<std::vector<std::vector<float> > > data, const std::string &name, std::string &buf);
1225 : static void toXMLBase64(std::vector<std::vector<std::vector<std::vector<float> > > >data, const std::string &name, std::string &buf);
1226 :
1227 :
1228 : static std::vector<float>& get1DFloatFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<float>& attribute);
1229 : // throw (ConversionException);
1230 :
1231 :
1232 : static std::vector<std::vector<float> >& get2DFloatFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<float> >& attribute);
1233 : // throw (ConversionException);
1234 :
1235 :
1236 : static std::vector<std::vector<std::vector<float> > >& get3DFloatFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<float> > >& attribute);
1237 : // throw (ConversionException);
1238 :
1239 :
1240 : static std::vector<std::vector<std::vector<std::vector<float> > > >& get4DFloatFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<std::vector<float> > > >& attribute);
1241 : // throw (ConversionException);
1242 :
1243 :
1244 :
1245 :
1246 : static void toXMLBase64(std::vector<double> data, const std::string &name, std::string &buf);
1247 : static void toXMLBase64(std::vector<std::vector<double> > data, const std::string &name, std::string &buf);
1248 : static void toXMLBase64(std::vector<std::vector<std::vector<double> > > data, const std::string &name, std::string &buf);
1249 : static void toXMLBase64(std::vector<std::vector<std::vector<std::vector<double> > > >data, const std::string &name, std::string &buf);
1250 :
1251 :
1252 : static std::vector<double>& get1DDoubleFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<double>& attribute);
1253 : // throw (ConversionException);
1254 :
1255 :
1256 : static std::vector<std::vector<double> >& get2DDoubleFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<double> >& attribute);
1257 : // throw (ConversionException);
1258 :
1259 :
1260 : static std::vector<std::vector<std::vector<double> > >& get3DDoubleFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<double> > >& attribute);
1261 : // throw (ConversionException);
1262 :
1263 :
1264 : static std::vector<std::vector<std::vector<std::vector<double> > > >& get4DDoubleFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<std::vector<double> > > >& attribute);
1265 : // throw (ConversionException);
1266 :
1267 :
1268 :
1269 :
1270 : static void toXMLBase64(std::vector<unsigned char> data, const std::string &name, std::string &buf);
1271 : static void toXMLBase64(std::vector<std::vector<unsigned char> > data, const std::string &name, std::string &buf);
1272 : static void toXMLBase64(std::vector<std::vector<std::vector<unsigned char> > > data, const std::string &name, std::string &buf);
1273 : static void toXMLBase64(std::vector<std::vector<std::vector<std::vector<unsigned char> > > >data, const std::string &name, std::string &buf);
1274 :
1275 :
1276 : static std::vector<unsigned char>& get1DCharacterFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<unsigned char>& attribute);
1277 : // throw (ConversionException);
1278 :
1279 :
1280 : static std::vector<std::vector<unsigned char> >& get2DCharacterFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<unsigned char> >& attribute);
1281 : // throw (ConversionException);
1282 :
1283 :
1284 : static std::vector<std::vector<std::vector<unsigned char> > >& get3DCharacterFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<unsigned char> > >& attribute);
1285 : // throw (ConversionException);
1286 :
1287 :
1288 : static std::vector<std::vector<std::vector<std::vector<unsigned char> > > >& get4DCharacterFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<std::vector<unsigned char> > > >& attribute);
1289 : // throw (ConversionException);
1290 :
1291 :
1292 :
1293 :
1294 : static void toXMLBase64(std::vector<bool> data, const std::string &name, std::string &buf);
1295 : static void toXMLBase64(std::vector<std::vector<bool> > data, const std::string &name, std::string &buf);
1296 : static void toXMLBase64(std::vector<std::vector<std::vector<bool> > > data, const std::string &name, std::string &buf);
1297 : static void toXMLBase64(std::vector<std::vector<std::vector<std::vector<bool> > > >data, const std::string &name, std::string &buf);
1298 :
1299 :
1300 : static std::vector<bool>& get1DBooleanFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<bool>& attribute);
1301 : // throw (ConversionException);
1302 :
1303 :
1304 : static std::vector<std::vector<bool> >& get2DBooleanFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<bool> >& attribute);
1305 : // throw (ConversionException);
1306 :
1307 :
1308 : static std::vector<std::vector<std::vector<bool> > >& get3DBooleanFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<bool> > >& attribute);
1309 : // throw (ConversionException);
1310 :
1311 :
1312 : static std::vector<std::vector<std::vector<std::vector<bool> > > >& get4DBooleanFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<std::vector<bool> > > >& attribute);
1313 : // throw (ConversionException);
1314 :
1315 :
1316 :
1317 :
1318 :
1319 :
1320 :
1321 : static void toXMLBase64(std::vector<Angle> data, const std::string &name, std::string &buf);
1322 : static void toXMLBase64(std::vector<std::vector<Angle> > data, const std::string &name, std::string &buf);
1323 : static void toXMLBase64(std::vector<std::vector<std::vector<Angle> > > data, const std::string &name, std::string &buf);
1324 : static void toXMLBase64(std::vector<std::vector<std::vector<std::vector<Angle> > > >data, const std::string &name, std::string &buf);
1325 :
1326 :
1327 : static std::vector<Angle>& get1DAngleFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<Angle>& attribute);
1328 : // throw (ConversionException);
1329 :
1330 :
1331 : static std::vector<std::vector<Angle> >& get2DAngleFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<Angle> >& attribute);
1332 : // throw (ConversionException);
1333 :
1334 :
1335 : static std::vector<std::vector<std::vector<Angle> > >& get3DAngleFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<Angle> > >& attribute);
1336 : // throw (ConversionException);
1337 :
1338 :
1339 : static std::vector<std::vector<std::vector<std::vector<Angle> > > >& get4DAngleFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<std::vector<Angle> > > >& attribute);
1340 : // throw (ConversionException);
1341 :
1342 :
1343 :
1344 :
1345 : static void toXMLBase64(std::vector<AngularRate> data, const std::string &name, std::string &buf);
1346 : static void toXMLBase64(std::vector<std::vector<AngularRate> > data, const std::string &name, std::string &buf);
1347 : static void toXMLBase64(std::vector<std::vector<std::vector<AngularRate> > > data, const std::string &name, std::string &buf);
1348 : static void toXMLBase64(std::vector<std::vector<std::vector<std::vector<AngularRate> > > >data, const std::string &name, std::string &buf);
1349 :
1350 :
1351 : static std::vector<AngularRate>& get1DAngularRateFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<AngularRate>& attribute);
1352 : // throw (ConversionException);
1353 :
1354 :
1355 : static std::vector<std::vector<AngularRate> >& get2DAngularRateFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<AngularRate> >& attribute);
1356 : // throw (ConversionException);
1357 :
1358 :
1359 : static std::vector<std::vector<std::vector<AngularRate> > >& get3DAngularRateFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<AngularRate> > >& attribute);
1360 : // throw (ConversionException);
1361 :
1362 :
1363 : static std::vector<std::vector<std::vector<std::vector<AngularRate> > > >& get4DAngularRateFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<std::vector<AngularRate> > > >& attribute);
1364 : // throw (ConversionException);
1365 :
1366 :
1367 :
1368 :
1369 : static void toXMLBase64(std::vector<ArrayTime> data, const std::string &name, std::string &buf);
1370 : static void toXMLBase64(std::vector<std::vector<ArrayTime> > data, const std::string &name, std::string &buf);
1371 : static void toXMLBase64(std::vector<std::vector<std::vector<ArrayTime> > > data, const std::string &name, std::string &buf);
1372 : static void toXMLBase64(std::vector<std::vector<std::vector<std::vector<ArrayTime> > > >data, const std::string &name, std::string &buf);
1373 :
1374 :
1375 : static std::vector<ArrayTime>& get1DArrayTimeFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<ArrayTime>& attribute);
1376 : // throw (ConversionException);
1377 :
1378 :
1379 : static std::vector<std::vector<ArrayTime> >& get2DArrayTimeFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<ArrayTime> >& attribute);
1380 : // throw (ConversionException);
1381 :
1382 :
1383 : static std::vector<std::vector<std::vector<ArrayTime> > >& get3DArrayTimeFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<ArrayTime> > >& attribute);
1384 : // throw (ConversionException);
1385 :
1386 :
1387 : static std::vector<std::vector<std::vector<std::vector<ArrayTime> > > >& get4DArrayTimeFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<std::vector<ArrayTime> > > >& attribute);
1388 : // throw (ConversionException);
1389 :
1390 :
1391 :
1392 :
1393 :
1394 :
1395 :
1396 :
1397 :
1398 :
1399 :
1400 :
1401 :
1402 :
1403 :
1404 :
1405 :
1406 :
1407 :
1408 : static void toXMLBase64(std::vector<Flux> data, const std::string &name, std::string &buf);
1409 : static void toXMLBase64(std::vector<std::vector<Flux> > data, const std::string &name, std::string &buf);
1410 : static void toXMLBase64(std::vector<std::vector<std::vector<Flux> > > data, const std::string &name, std::string &buf);
1411 : static void toXMLBase64(std::vector<std::vector<std::vector<std::vector<Flux> > > >data, const std::string &name, std::string &buf);
1412 :
1413 :
1414 : static std::vector<Flux>& get1DFluxFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<Flux>& attribute);
1415 : // throw (ConversionException);
1416 :
1417 :
1418 : static std::vector<std::vector<Flux> >& get2DFluxFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<Flux> >& attribute);
1419 : // throw (ConversionException);
1420 :
1421 :
1422 : static std::vector<std::vector<std::vector<Flux> > >& get3DFluxFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<Flux> > >& attribute);
1423 : // throw (ConversionException);
1424 :
1425 :
1426 : static std::vector<std::vector<std::vector<std::vector<Flux> > > >& get4DFluxFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<std::vector<Flux> > > >& attribute);
1427 : // throw (ConversionException);
1428 :
1429 :
1430 :
1431 :
1432 : static void toXMLBase64(std::vector<Frequency> data, const std::string &name, std::string &buf);
1433 : static void toXMLBase64(std::vector<std::vector<Frequency> > data, const std::string &name, std::string &buf);
1434 : static void toXMLBase64(std::vector<std::vector<std::vector<Frequency> > > data, const std::string &name, std::string &buf);
1435 : static void toXMLBase64(std::vector<std::vector<std::vector<std::vector<Frequency> > > >data, const std::string &name, std::string &buf);
1436 :
1437 :
1438 : static std::vector<Frequency>& get1DFrequencyFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<Frequency>& attribute);
1439 : // throw (ConversionException);
1440 :
1441 :
1442 : static std::vector<std::vector<Frequency> >& get2DFrequencyFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<Frequency> >& attribute);
1443 : // throw (ConversionException);
1444 :
1445 :
1446 : static std::vector<std::vector<std::vector<Frequency> > >& get3DFrequencyFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<Frequency> > >& attribute);
1447 : // throw (ConversionException);
1448 :
1449 :
1450 : static std::vector<std::vector<std::vector<std::vector<Frequency> > > >& get4DFrequencyFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<std::vector<Frequency> > > >& attribute);
1451 : // throw (ConversionException);
1452 :
1453 :
1454 :
1455 :
1456 : static void toXMLBase64(std::vector<Humidity> data, const std::string &name, std::string &buf);
1457 : static void toXMLBase64(std::vector<std::vector<Humidity> > data, const std::string &name, std::string &buf);
1458 : static void toXMLBase64(std::vector<std::vector<std::vector<Humidity> > > data, const std::string &name, std::string &buf);
1459 : static void toXMLBase64(std::vector<std::vector<std::vector<std::vector<Humidity> > > >data, const std::string &name, std::string &buf);
1460 :
1461 :
1462 : static std::vector<Humidity>& get1DHumidityFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<Humidity>& attribute);
1463 : // throw (ConversionException);
1464 :
1465 :
1466 : static std::vector<std::vector<Humidity> >& get2DHumidityFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<Humidity> >& attribute);
1467 : // throw (ConversionException);
1468 :
1469 :
1470 : static std::vector<std::vector<std::vector<Humidity> > >& get3DHumidityFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<Humidity> > >& attribute);
1471 : // throw (ConversionException);
1472 :
1473 :
1474 : static std::vector<std::vector<std::vector<std::vector<Humidity> > > >& get4DHumidityFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<std::vector<Humidity> > > >& attribute);
1475 : // throw (ConversionException);
1476 :
1477 :
1478 :
1479 :
1480 : static void toXMLBase64(std::vector<Interval> data, const std::string &name, std::string &buf);
1481 : static void toXMLBase64(std::vector<std::vector<Interval> > data, const std::string &name, std::string &buf);
1482 : static void toXMLBase64(std::vector<std::vector<std::vector<Interval> > > data, const std::string &name, std::string &buf);
1483 : static void toXMLBase64(std::vector<std::vector<std::vector<std::vector<Interval> > > >data, const std::string &name, std::string &buf);
1484 :
1485 :
1486 : static std::vector<Interval>& get1DIntervalFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<Interval>& attribute);
1487 : // throw (ConversionException);
1488 :
1489 :
1490 : static std::vector<std::vector<Interval> >& get2DIntervalFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<Interval> >& attribute);
1491 : // throw (ConversionException);
1492 :
1493 :
1494 : static std::vector<std::vector<std::vector<Interval> > >& get3DIntervalFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<Interval> > >& attribute);
1495 : // throw (ConversionException);
1496 :
1497 :
1498 : static std::vector<std::vector<std::vector<std::vector<Interval> > > >& get4DIntervalFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<std::vector<Interval> > > >& attribute);
1499 : // throw (ConversionException);
1500 :
1501 :
1502 :
1503 :
1504 : static void toXMLBase64(std::vector<Length> data, const std::string &name, std::string &buf);
1505 : static void toXMLBase64(std::vector<std::vector<Length> > data, const std::string &name, std::string &buf);
1506 : static void toXMLBase64(std::vector<std::vector<std::vector<Length> > > data, const std::string &name, std::string &buf);
1507 : static void toXMLBase64(std::vector<std::vector<std::vector<std::vector<Length> > > >data, const std::string &name, std::string &buf);
1508 :
1509 :
1510 : static std::vector<Length>& get1DLengthFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<Length>& attribute);
1511 : // throw (ConversionException);
1512 :
1513 :
1514 : static std::vector<std::vector<Length> >& get2DLengthFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<Length> >& attribute);
1515 : // throw (ConversionException);
1516 :
1517 :
1518 : static std::vector<std::vector<std::vector<Length> > >& get3DLengthFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<Length> > >& attribute);
1519 : // throw (ConversionException);
1520 :
1521 :
1522 : static std::vector<std::vector<std::vector<std::vector<Length> > > >& get4DLengthFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<std::vector<Length> > > >& attribute);
1523 : // throw (ConversionException);
1524 :
1525 :
1526 :
1527 :
1528 : static void toXMLBase64(std::vector<Pressure> data, const std::string &name, std::string &buf);
1529 : static void toXMLBase64(std::vector<std::vector<Pressure> > data, const std::string &name, std::string &buf);
1530 : static void toXMLBase64(std::vector<std::vector<std::vector<Pressure> > > data, const std::string &name, std::string &buf);
1531 : static void toXMLBase64(std::vector<std::vector<std::vector<std::vector<Pressure> > > >data, const std::string &name, std::string &buf);
1532 :
1533 :
1534 : static std::vector<Pressure>& get1DPressureFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<Pressure>& attribute);
1535 : // throw (ConversionException);
1536 :
1537 :
1538 : static std::vector<std::vector<Pressure> >& get2DPressureFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<Pressure> >& attribute);
1539 : // throw (ConversionException);
1540 :
1541 :
1542 : static std::vector<std::vector<std::vector<Pressure> > >& get3DPressureFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<Pressure> > >& attribute);
1543 : // throw (ConversionException);
1544 :
1545 :
1546 : static std::vector<std::vector<std::vector<std::vector<Pressure> > > >& get4DPressureFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<std::vector<Pressure> > > >& attribute);
1547 : // throw (ConversionException);
1548 :
1549 :
1550 :
1551 :
1552 : static void toXMLBase64(std::vector<Speed> data, const std::string &name, std::string &buf);
1553 : static void toXMLBase64(std::vector<std::vector<Speed> > data, const std::string &name, std::string &buf);
1554 : static void toXMLBase64(std::vector<std::vector<std::vector<Speed> > > data, const std::string &name, std::string &buf);
1555 : static void toXMLBase64(std::vector<std::vector<std::vector<std::vector<Speed> > > >data, const std::string &name, std::string &buf);
1556 :
1557 :
1558 : static std::vector<Speed>& get1DSpeedFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<Speed>& attribute);
1559 : // throw (ConversionException);
1560 :
1561 :
1562 : static std::vector<std::vector<Speed> >& get2DSpeedFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<Speed> >& attribute);
1563 : // throw (ConversionException);
1564 :
1565 :
1566 : static std::vector<std::vector<std::vector<Speed> > >& get3DSpeedFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<Speed> > >& attribute);
1567 : // throw (ConversionException);
1568 :
1569 :
1570 : static std::vector<std::vector<std::vector<std::vector<Speed> > > >& get4DSpeedFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<std::vector<Speed> > > >& attribute);
1571 : // throw (ConversionException);
1572 :
1573 :
1574 :
1575 :
1576 :
1577 :
1578 :
1579 : static void toXMLBase64(std::vector<Temperature> data, const std::string &name, std::string &buf);
1580 : static void toXMLBase64(std::vector<std::vector<Temperature> > data, const std::string &name, std::string &buf);
1581 : static void toXMLBase64(std::vector<std::vector<std::vector<Temperature> > > data, const std::string &name, std::string &buf);
1582 : static void toXMLBase64(std::vector<std::vector<std::vector<std::vector<Temperature> > > >data, const std::string &name, std::string &buf);
1583 :
1584 :
1585 : static std::vector<Temperature>& get1DTemperatureFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<Temperature>& attribute);
1586 : // throw (ConversionException);
1587 :
1588 :
1589 : static std::vector<std::vector<Temperature> >& get2DTemperatureFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<Temperature> >& attribute);
1590 : // throw (ConversionException);
1591 :
1592 :
1593 : static std::vector<std::vector<std::vector<Temperature> > >& get3DTemperatureFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<Temperature> > >& attribute);
1594 : // throw (ConversionException);
1595 :
1596 :
1597 : static std::vector<std::vector<std::vector<std::vector<Temperature> > > >& get4DTemperatureFromBase64(const std::string &name, const std::string &tableName, const std::string &xmlDoc, std::vector<std::vector<std::vector<std::vector<Temperature> > > >& attribute);
1598 : // throw (ConversionException);
1599 :
1600 :
1601 :
1602 : private:
1603 : std::string str; // The string being parsed.
1604 : std::string::size_type pos; // The current position in the string.
1605 : std::string::size_type beg; // The beginning and end of a fragement
1606 : std::string::size_type end; // in the string.
1607 :
1608 : public:
1609 : static std::string substring(const std::string &s, int a, int b);
1610 : static std::string trim(const std::string &s);
1611 :
1612 : // encode special characters for use in XML
1613 : static std::string encode(const std::string &s);
1614 : // decode special characters used in XML
1615 : static std::string decode(const std::string &s, const std::string &tableName);
1616 :
1617 : }; // End class Parser
1618 :
1619 0 : inline Parser::Parser(const std::string &s) : str(s), pos(0), beg(0), end(0) {
1620 0 : }
1621 :
1622 0 : inline bool Parser::isStr(const std::string &s) const {
1623 0 : return str.find(s,pos) == std::string::npos ? false : true;
1624 : }
1625 :
1626 : } // End namespace asdm
1627 :
1628 : #endif /* Parser_CLASS */
1629 :
|