1 | // file : xsd/cxx/parser/non-validating/xml-schema-pskel.ixx |
---|
2 | // author : Boris Kolpackov <boris@codesynthesis.com> |
---|
3 | // copyright : Copyright (c) 2005-2008 Code Synthesis Tools CC |
---|
4 | // license : GNU GPL v2 + exceptions; see accompanying LICENSE file |
---|
5 | |
---|
6 | #if defined(XSD_CXX_PARSER_USE_CHAR) || !defined(XSD_CXX_PARSER_USE_WCHAR) |
---|
7 | |
---|
8 | #ifndef XSD_CXX_PARSER_NON_VALIDATING_XML_SCHEMA_PSKEL_IXX_CHAR |
---|
9 | #define XSD_CXX_PARSER_NON_VALIDATING_XML_SCHEMA_PSKEL_IXX_CHAR |
---|
10 | |
---|
11 | namespace xsd |
---|
12 | { |
---|
13 | namespace cxx |
---|
14 | { |
---|
15 | namespace parser |
---|
16 | { |
---|
17 | namespace non_validating |
---|
18 | { |
---|
19 | template<> |
---|
20 | inline const char* any_type_pskel<char>:: |
---|
21 | _static_type () |
---|
22 | { |
---|
23 | return "anyType http://www.w3.org/2001/XMLSchema"; |
---|
24 | } |
---|
25 | |
---|
26 | template<> |
---|
27 | inline const char* any_type_pskel<char>:: |
---|
28 | _dynamic_type () const |
---|
29 | { |
---|
30 | return _static_type (); |
---|
31 | } |
---|
32 | |
---|
33 | template<> |
---|
34 | inline const char* any_simple_type_pskel<char>:: |
---|
35 | _static_type () |
---|
36 | { |
---|
37 | return "anySimpleType http://www.w3.org/2001/XMLSchema"; |
---|
38 | } |
---|
39 | |
---|
40 | template<> |
---|
41 | inline const char* any_simple_type_pskel<char>:: |
---|
42 | _dynamic_type () const |
---|
43 | { |
---|
44 | return _static_type (); |
---|
45 | } |
---|
46 | |
---|
47 | template<> |
---|
48 | inline const char* boolean_pskel<char>:: |
---|
49 | _static_type () |
---|
50 | { |
---|
51 | return "boolean http://www.w3.org/2001/XMLSchema"; |
---|
52 | } |
---|
53 | |
---|
54 | template<> |
---|
55 | inline const char* boolean_pskel<char>:: |
---|
56 | _dynamic_type () const |
---|
57 | { |
---|
58 | return _static_type (); |
---|
59 | } |
---|
60 | |
---|
61 | template<> |
---|
62 | inline const char* byte_pskel<char>:: |
---|
63 | _static_type () |
---|
64 | { |
---|
65 | return "byte http://www.w3.org/2001/XMLSchema"; |
---|
66 | } |
---|
67 | |
---|
68 | template<> |
---|
69 | inline const char* byte_pskel<char>:: |
---|
70 | _dynamic_type () const |
---|
71 | { |
---|
72 | return _static_type (); |
---|
73 | } |
---|
74 | |
---|
75 | template<> |
---|
76 | inline const char* unsigned_byte_pskel<char>:: |
---|
77 | _static_type () |
---|
78 | { |
---|
79 | return "unsignedByte http://www.w3.org/2001/XMLSchema"; |
---|
80 | } |
---|
81 | |
---|
82 | template<> |
---|
83 | inline const char* unsigned_byte_pskel<char>:: |
---|
84 | _dynamic_type () const |
---|
85 | { |
---|
86 | return _static_type (); |
---|
87 | } |
---|
88 | |
---|
89 | template<> |
---|
90 | inline const char* short_pskel<char>:: |
---|
91 | _static_type () |
---|
92 | { |
---|
93 | return "short http://www.w3.org/2001/XMLSchema"; |
---|
94 | } |
---|
95 | |
---|
96 | template<> |
---|
97 | inline const char* short_pskel<char>:: |
---|
98 | _dynamic_type () const |
---|
99 | { |
---|
100 | return _static_type (); |
---|
101 | } |
---|
102 | |
---|
103 | template<> |
---|
104 | inline const char* unsigned_short_pskel<char>:: |
---|
105 | _static_type () |
---|
106 | { |
---|
107 | return "unsignedShort http://www.w3.org/2001/XMLSchema"; |
---|
108 | } |
---|
109 | |
---|
110 | template<> |
---|
111 | inline const char* unsigned_short_pskel<char>:: |
---|
112 | _dynamic_type () const |
---|
113 | { |
---|
114 | return _static_type (); |
---|
115 | } |
---|
116 | |
---|
117 | template<> |
---|
118 | inline const char* int_pskel<char>:: |
---|
119 | _static_type () |
---|
120 | { |
---|
121 | return "int http://www.w3.org/2001/XMLSchema"; |
---|
122 | } |
---|
123 | |
---|
124 | template<> |
---|
125 | inline const char* int_pskel<char>:: |
---|
126 | _dynamic_type () const |
---|
127 | { |
---|
128 | return _static_type (); |
---|
129 | } |
---|
130 | |
---|
131 | template<> |
---|
132 | inline const char* unsigned_int_pskel<char>:: |
---|
133 | _static_type () |
---|
134 | { |
---|
135 | return "unsignedInt http://www.w3.org/2001/XMLSchema"; |
---|
136 | } |
---|
137 | |
---|
138 | template<> |
---|
139 | inline const char* unsigned_int_pskel<char>:: |
---|
140 | _dynamic_type () const |
---|
141 | { |
---|
142 | return _static_type (); |
---|
143 | } |
---|
144 | |
---|
145 | template<> |
---|
146 | inline const char* long_pskel<char>:: |
---|
147 | _static_type () |
---|
148 | { |
---|
149 | return "long http://www.w3.org/2001/XMLSchema"; |
---|
150 | } |
---|
151 | |
---|
152 | template<> |
---|
153 | inline const char* long_pskel<char>:: |
---|
154 | _dynamic_type () const |
---|
155 | { |
---|
156 | return _static_type (); |
---|
157 | } |
---|
158 | |
---|
159 | template<> |
---|
160 | inline const char* unsigned_long_pskel<char>:: |
---|
161 | _static_type () |
---|
162 | { |
---|
163 | return "unsignedLong http://www.w3.org/2001/XMLSchema"; |
---|
164 | } |
---|
165 | |
---|
166 | template<> |
---|
167 | inline const char* unsigned_long_pskel<char>:: |
---|
168 | _dynamic_type () const |
---|
169 | { |
---|
170 | return _static_type (); |
---|
171 | } |
---|
172 | |
---|
173 | template<> |
---|
174 | inline const char* integer_pskel<char>:: |
---|
175 | _static_type () |
---|
176 | { |
---|
177 | return "integer http://www.w3.org/2001/XMLSchema"; |
---|
178 | } |
---|
179 | |
---|
180 | template<> |
---|
181 | inline const char* integer_pskel<char>:: |
---|
182 | _dynamic_type () const |
---|
183 | { |
---|
184 | return _static_type (); |
---|
185 | } |
---|
186 | |
---|
187 | template<> |
---|
188 | inline const char* negative_integer_pskel<char>:: |
---|
189 | _static_type () |
---|
190 | { |
---|
191 | return "negativeInteger http://www.w3.org/2001/XMLSchema"; |
---|
192 | } |
---|
193 | |
---|
194 | template<> |
---|
195 | inline const char* negative_integer_pskel<char>:: |
---|
196 | _dynamic_type () const |
---|
197 | { |
---|
198 | return _static_type (); |
---|
199 | } |
---|
200 | |
---|
201 | template<> |
---|
202 | inline const char* non_positive_integer_pskel<char>:: |
---|
203 | _static_type () |
---|
204 | { |
---|
205 | return "nonPositiveInteger http://www.w3.org/2001/XMLSchema"; |
---|
206 | } |
---|
207 | |
---|
208 | template<> |
---|
209 | inline const char* non_positive_integer_pskel<char>:: |
---|
210 | _dynamic_type () const |
---|
211 | { |
---|
212 | return _static_type (); |
---|
213 | } |
---|
214 | |
---|
215 | template<> |
---|
216 | inline const char* positive_integer_pskel<char>:: |
---|
217 | _static_type () |
---|
218 | { |
---|
219 | return "positiveInteger http://www.w3.org/2001/XMLSchema"; |
---|
220 | } |
---|
221 | |
---|
222 | template<> |
---|
223 | inline const char* positive_integer_pskel<char>:: |
---|
224 | _dynamic_type () const |
---|
225 | { |
---|
226 | return _static_type (); |
---|
227 | } |
---|
228 | |
---|
229 | template<> |
---|
230 | inline const char* non_negative_integer_pskel<char>:: |
---|
231 | _static_type () |
---|
232 | { |
---|
233 | return "nonNegativeInteger http://www.w3.org/2001/XMLSchema"; |
---|
234 | } |
---|
235 | |
---|
236 | template<> |
---|
237 | inline const char* non_negative_integer_pskel<char>:: |
---|
238 | _dynamic_type () const |
---|
239 | { |
---|
240 | return _static_type (); |
---|
241 | } |
---|
242 | |
---|
243 | template<> |
---|
244 | inline const char* float_pskel<char>:: |
---|
245 | _static_type () |
---|
246 | { |
---|
247 | return "float http://www.w3.org/2001/XMLSchema"; |
---|
248 | } |
---|
249 | |
---|
250 | template<> |
---|
251 | inline const char* float_pskel<char>:: |
---|
252 | _dynamic_type () const |
---|
253 | { |
---|
254 | return _static_type (); |
---|
255 | } |
---|
256 | |
---|
257 | template<> |
---|
258 | inline const char* double_pskel<char>:: |
---|
259 | _static_type () |
---|
260 | { |
---|
261 | return "double http://www.w3.org/2001/XMLSchema"; |
---|
262 | } |
---|
263 | |
---|
264 | template<> |
---|
265 | inline const char* double_pskel<char>:: |
---|
266 | _dynamic_type () const |
---|
267 | { |
---|
268 | return _static_type (); |
---|
269 | } |
---|
270 | |
---|
271 | template<> |
---|
272 | inline const char* decimal_pskel<char>:: |
---|
273 | _static_type () |
---|
274 | { |
---|
275 | return "decimal http://www.w3.org/2001/XMLSchema"; |
---|
276 | } |
---|
277 | |
---|
278 | template<> |
---|
279 | inline const char* decimal_pskel<char>:: |
---|
280 | _dynamic_type () const |
---|
281 | { |
---|
282 | return _static_type (); |
---|
283 | } |
---|
284 | |
---|
285 | template<> |
---|
286 | inline const char* string_pskel<char>:: |
---|
287 | _static_type () |
---|
288 | { |
---|
289 | return "string http://www.w3.org/2001/XMLSchema"; |
---|
290 | } |
---|
291 | |
---|
292 | template<> |
---|
293 | inline const char* string_pskel<char>:: |
---|
294 | _dynamic_type () const |
---|
295 | { |
---|
296 | return _static_type (); |
---|
297 | } |
---|
298 | |
---|
299 | template<> |
---|
300 | inline const char* normalized_string_pskel<char>:: |
---|
301 | _static_type () |
---|
302 | { |
---|
303 | return "normalizedString http://www.w3.org/2001/XMLSchema"; |
---|
304 | } |
---|
305 | |
---|
306 | template<> |
---|
307 | inline const char* normalized_string_pskel<char>:: |
---|
308 | _dynamic_type () const |
---|
309 | { |
---|
310 | return _static_type (); |
---|
311 | } |
---|
312 | |
---|
313 | template<> |
---|
314 | inline const char* token_pskel<char>:: |
---|
315 | _static_type () |
---|
316 | { |
---|
317 | return "token http://www.w3.org/2001/XMLSchema"; |
---|
318 | } |
---|
319 | |
---|
320 | template<> |
---|
321 | inline const char* token_pskel<char>:: |
---|
322 | _dynamic_type () const |
---|
323 | { |
---|
324 | return _static_type (); |
---|
325 | } |
---|
326 | |
---|
327 | template<> |
---|
328 | inline const char* name_pskel<char>:: |
---|
329 | _static_type () |
---|
330 | { |
---|
331 | return "Name http://www.w3.org/2001/XMLSchema"; |
---|
332 | } |
---|
333 | |
---|
334 | template<> |
---|
335 | inline const char* name_pskel<char>:: |
---|
336 | _dynamic_type () const |
---|
337 | { |
---|
338 | return _static_type (); |
---|
339 | } |
---|
340 | |
---|
341 | template<> |
---|
342 | inline const char* nmtoken_pskel<char>:: |
---|
343 | _static_type () |
---|
344 | { |
---|
345 | return "NMTOKEN http://www.w3.org/2001/XMLSchema"; |
---|
346 | } |
---|
347 | |
---|
348 | template<> |
---|
349 | inline const char* nmtoken_pskel<char>:: |
---|
350 | _dynamic_type () const |
---|
351 | { |
---|
352 | return _static_type (); |
---|
353 | } |
---|
354 | |
---|
355 | template<> |
---|
356 | inline const char* nmtokens_pskel<char>:: |
---|
357 | _static_type () |
---|
358 | { |
---|
359 | return "NMTOKENS http://www.w3.org/2001/XMLSchema"; |
---|
360 | } |
---|
361 | |
---|
362 | template<> |
---|
363 | inline const char* nmtokens_pskel<char>:: |
---|
364 | _dynamic_type () const |
---|
365 | { |
---|
366 | return _static_type (); |
---|
367 | } |
---|
368 | |
---|
369 | template<> |
---|
370 | inline const char* ncname_pskel<char>:: |
---|
371 | _static_type () |
---|
372 | { |
---|
373 | return "NCName http://www.w3.org/2001/XMLSchema"; |
---|
374 | } |
---|
375 | |
---|
376 | template<> |
---|
377 | inline const char* ncname_pskel<char>:: |
---|
378 | _dynamic_type () const |
---|
379 | { |
---|
380 | return _static_type (); |
---|
381 | } |
---|
382 | |
---|
383 | template<> |
---|
384 | inline const char* id_pskel<char>:: |
---|
385 | _static_type () |
---|
386 | { |
---|
387 | return "ID http://www.w3.org/2001/XMLSchema"; |
---|
388 | } |
---|
389 | |
---|
390 | template<> |
---|
391 | inline const char* id_pskel<char>:: |
---|
392 | _dynamic_type () const |
---|
393 | { |
---|
394 | return _static_type (); |
---|
395 | } |
---|
396 | |
---|
397 | template<> |
---|
398 | inline const char* idref_pskel<char>:: |
---|
399 | _static_type () |
---|
400 | { |
---|
401 | return "IDREF http://www.w3.org/2001/XMLSchema"; |
---|
402 | } |
---|
403 | |
---|
404 | template<> |
---|
405 | inline const char* idref_pskel<char>:: |
---|
406 | _dynamic_type () const |
---|
407 | { |
---|
408 | return _static_type (); |
---|
409 | } |
---|
410 | |
---|
411 | template<> |
---|
412 | inline const char* idrefs_pskel<char>:: |
---|
413 | _static_type () |
---|
414 | { |
---|
415 | return "IDREFS http://www.w3.org/2001/XMLSchema"; |
---|
416 | } |
---|
417 | |
---|
418 | template<> |
---|
419 | inline const char* idrefs_pskel<char>:: |
---|
420 | _dynamic_type () const |
---|
421 | { |
---|
422 | return _static_type (); |
---|
423 | } |
---|
424 | |
---|
425 | template<> |
---|
426 | inline const char* language_pskel<char>:: |
---|
427 | _static_type () |
---|
428 | { |
---|
429 | return "language http://www.w3.org/2001/XMLSchema"; |
---|
430 | } |
---|
431 | |
---|
432 | template<> |
---|
433 | inline const char* language_pskel<char>:: |
---|
434 | _dynamic_type () const |
---|
435 | { |
---|
436 | return _static_type (); |
---|
437 | } |
---|
438 | |
---|
439 | template<> |
---|
440 | inline const char* uri_pskel<char>:: |
---|
441 | _static_type () |
---|
442 | { |
---|
443 | return "anyURI http://www.w3.org/2001/XMLSchema"; |
---|
444 | } |
---|
445 | |
---|
446 | template<> |
---|
447 | inline const char* uri_pskel<char>:: |
---|
448 | _dynamic_type () const |
---|
449 | { |
---|
450 | return _static_type (); |
---|
451 | } |
---|
452 | |
---|
453 | template<> |
---|
454 | inline const char* qname_pskel<char>:: |
---|
455 | _static_type () |
---|
456 | { |
---|
457 | return "QName http://www.w3.org/2001/XMLSchema"; |
---|
458 | } |
---|
459 | |
---|
460 | template<> |
---|
461 | inline const char* qname_pskel<char>:: |
---|
462 | _dynamic_type () const |
---|
463 | { |
---|
464 | return _static_type (); |
---|
465 | } |
---|
466 | |
---|
467 | template<> |
---|
468 | inline const char* base64_binary_pskel<char>:: |
---|
469 | _static_type () |
---|
470 | { |
---|
471 | return "base64Binary http://www.w3.org/2001/XMLSchema"; |
---|
472 | } |
---|
473 | |
---|
474 | template<> |
---|
475 | inline const char* base64_binary_pskel<char>:: |
---|
476 | _dynamic_type () const |
---|
477 | { |
---|
478 | return _static_type (); |
---|
479 | } |
---|
480 | |
---|
481 | template<> |
---|
482 | inline const char* hex_binary_pskel<char>:: |
---|
483 | _static_type () |
---|
484 | { |
---|
485 | return "hexBinary http://www.w3.org/2001/XMLSchema"; |
---|
486 | } |
---|
487 | |
---|
488 | template<> |
---|
489 | inline const char* hex_binary_pskel<char>:: |
---|
490 | _dynamic_type () const |
---|
491 | { |
---|
492 | return _static_type (); |
---|
493 | } |
---|
494 | |
---|
495 | template<> |
---|
496 | inline const char* gday_pskel<char>:: |
---|
497 | _static_type () |
---|
498 | { |
---|
499 | return "gDay http://www.w3.org/2001/XMLSchema"; |
---|
500 | } |
---|
501 | |
---|
502 | template<> |
---|
503 | inline const char* gday_pskel<char>:: |
---|
504 | _dynamic_type () const |
---|
505 | { |
---|
506 | return _static_type (); |
---|
507 | } |
---|
508 | |
---|
509 | template<> |
---|
510 | inline const char* gmonth_pskel<char>:: |
---|
511 | _static_type () |
---|
512 | { |
---|
513 | return "gMonth http://www.w3.org/2001/XMLSchema"; |
---|
514 | } |
---|
515 | |
---|
516 | template<> |
---|
517 | inline const char* gmonth_pskel<char>:: |
---|
518 | _dynamic_type () const |
---|
519 | { |
---|
520 | return _static_type (); |
---|
521 | } |
---|
522 | |
---|
523 | template<> |
---|
524 | inline const char* gyear_pskel<char>:: |
---|
525 | _static_type () |
---|
526 | { |
---|
527 | return "gYear http://www.w3.org/2001/XMLSchema"; |
---|
528 | } |
---|
529 | |
---|
530 | template<> |
---|
531 | inline const char* gyear_pskel<char>:: |
---|
532 | _dynamic_type () const |
---|
533 | { |
---|
534 | return _static_type (); |
---|
535 | } |
---|
536 | |
---|
537 | template<> |
---|
538 | inline const char* gmonth_day_pskel<char>:: |
---|
539 | _static_type () |
---|
540 | { |
---|
541 | return "gMonthDay http://www.w3.org/2001/XMLSchema"; |
---|
542 | } |
---|
543 | |
---|
544 | template<> |
---|
545 | inline const char* gmonth_day_pskel<char>:: |
---|
546 | _dynamic_type () const |
---|
547 | { |
---|
548 | return _static_type (); |
---|
549 | } |
---|
550 | |
---|
551 | template<> |
---|
552 | inline const char* gyear_month_pskel<char>:: |
---|
553 | _static_type () |
---|
554 | { |
---|
555 | return "gYearMonth http://www.w3.org/2001/XMLSchema"; |
---|
556 | } |
---|
557 | |
---|
558 | template<> |
---|
559 | inline const char* gyear_month_pskel<char>:: |
---|
560 | _dynamic_type () const |
---|
561 | { |
---|
562 | return _static_type (); |
---|
563 | } |
---|
564 | |
---|
565 | template<> |
---|
566 | inline const char* date_pskel<char>:: |
---|
567 | _static_type () |
---|
568 | { |
---|
569 | return "date http://www.w3.org/2001/XMLSchema"; |
---|
570 | } |
---|
571 | |
---|
572 | template<> |
---|
573 | inline const char* date_pskel<char>:: |
---|
574 | _dynamic_type () const |
---|
575 | { |
---|
576 | return _static_type (); |
---|
577 | } |
---|
578 | |
---|
579 | template<> |
---|
580 | inline const char* time_pskel<char>:: |
---|
581 | _static_type () |
---|
582 | { |
---|
583 | return "time http://www.w3.org/2001/XMLSchema"; |
---|
584 | } |
---|
585 | |
---|
586 | template<> |
---|
587 | inline const char* time_pskel<char>:: |
---|
588 | _dynamic_type () const |
---|
589 | { |
---|
590 | return _static_type (); |
---|
591 | } |
---|
592 | |
---|
593 | template<> |
---|
594 | inline const char* date_time_pskel<char>:: |
---|
595 | _static_type () |
---|
596 | { |
---|
597 | return "dateTime http://www.w3.org/2001/XMLSchema"; |
---|
598 | } |
---|
599 | |
---|
600 | template<> |
---|
601 | inline const char* date_time_pskel<char>:: |
---|
602 | _dynamic_type () const |
---|
603 | { |
---|
604 | return _static_type (); |
---|
605 | } |
---|
606 | |
---|
607 | template<> |
---|
608 | inline const char* duration_pskel<char>:: |
---|
609 | _static_type () |
---|
610 | { |
---|
611 | return "duration http://www.w3.org/2001/XMLSchema"; |
---|
612 | } |
---|
613 | |
---|
614 | template<> |
---|
615 | inline const char* duration_pskel<char>:: |
---|
616 | _dynamic_type () const |
---|
617 | { |
---|
618 | return _static_type (); |
---|
619 | } |
---|
620 | } |
---|
621 | } |
---|
622 | } |
---|
623 | } |
---|
624 | |
---|
625 | #endif // XSD_CXX_PARSER_NON_VALIDATING_XML_SCHEMA_PSKEL_IXX_CHAR |
---|
626 | #endif // XSD_CXX_PARSER_USE_CHAR |
---|
627 | |
---|
628 | |
---|
629 | #if defined(XSD_CXX_PARSER_USE_WCHAR) || !defined(XSD_CXX_PARSER_USE_CHAR) |
---|
630 | |
---|
631 | #ifndef XSD_CXX_PARSER_NON_VALIDATING_XML_SCHEMA_PSKEL_IXX_WCHAR |
---|
632 | #define XSD_CXX_PARSER_NON_VALIDATING_XML_SCHEMA_PSKEL_IXX_WCHAR |
---|
633 | |
---|
634 | namespace xsd |
---|
635 | { |
---|
636 | namespace cxx |
---|
637 | { |
---|
638 | namespace parser |
---|
639 | { |
---|
640 | namespace non_validating |
---|
641 | { |
---|
642 | |
---|
643 | inline const wchar_t* any_type_pskel<wchar_t>:: |
---|
644 | _static_type () |
---|
645 | { |
---|
646 | return L"anyType http://www.w3.org/2001/XMLSchema"; |
---|
647 | } |
---|
648 | |
---|
649 | template<> |
---|
650 | inline const wchar_t* any_type_pskel<wchar_t>:: |
---|
651 | _dynamic_type () const |
---|
652 | { |
---|
653 | return _static_type (); |
---|
654 | } |
---|
655 | |
---|
656 | template<> |
---|
657 | inline const wchar_t* any_simple_type_pskel<wchar_t>:: |
---|
658 | _static_type () |
---|
659 | { |
---|
660 | return L"anySimpleType http://www.w3.org/2001/XMLSchema"; |
---|
661 | } |
---|
662 | |
---|
663 | template<> |
---|
664 | inline const wchar_t* any_simple_type_pskel<wchar_t>:: |
---|
665 | _dynamic_type () const |
---|
666 | { |
---|
667 | return _static_type (); |
---|
668 | } |
---|
669 | |
---|
670 | template<> |
---|
671 | inline const wchar_t* boolean_pskel<wchar_t>:: |
---|
672 | _static_type () |
---|
673 | { |
---|
674 | return L"boolean http://www.w3.org/2001/XMLSchema"; |
---|
675 | } |
---|
676 | |
---|
677 | template<> |
---|
678 | inline const wchar_t* boolean_pskel<wchar_t>:: |
---|
679 | _dynamic_type () const |
---|
680 | { |
---|
681 | return _static_type (); |
---|
682 | } |
---|
683 | |
---|
684 | template<> |
---|
685 | inline const wchar_t* byte_pskel<wchar_t>:: |
---|
686 | _static_type () |
---|
687 | { |
---|
688 | return L"byte http://www.w3.org/2001/XMLSchema"; |
---|
689 | } |
---|
690 | |
---|
691 | template<> |
---|
692 | inline const wchar_t* byte_pskel<wchar_t>:: |
---|
693 | _dynamic_type () const |
---|
694 | { |
---|
695 | return _static_type (); |
---|
696 | } |
---|
697 | |
---|
698 | template<> |
---|
699 | inline const wchar_t* unsigned_byte_pskel<wchar_t>:: |
---|
700 | _static_type () |
---|
701 | { |
---|
702 | return L"unsignedByte http://www.w3.org/2001/XMLSchema"; |
---|
703 | } |
---|
704 | |
---|
705 | template<> |
---|
706 | inline const wchar_t* unsigned_byte_pskel<wchar_t>:: |
---|
707 | _dynamic_type () const |
---|
708 | { |
---|
709 | return _static_type (); |
---|
710 | } |
---|
711 | |
---|
712 | template<> |
---|
713 | inline const wchar_t* short_pskel<wchar_t>:: |
---|
714 | _static_type () |
---|
715 | { |
---|
716 | return L"short http://www.w3.org/2001/XMLSchema"; |
---|
717 | } |
---|
718 | |
---|
719 | template<> |
---|
720 | inline const wchar_t* short_pskel<wchar_t>:: |
---|
721 | _dynamic_type () const |
---|
722 | { |
---|
723 | return _static_type (); |
---|
724 | } |
---|
725 | |
---|
726 | template<> |
---|
727 | inline const wchar_t* unsigned_short_pskel<wchar_t>:: |
---|
728 | _static_type () |
---|
729 | { |
---|
730 | return L"unsignedShort http://www.w3.org/2001/XMLSchema"; |
---|
731 | } |
---|
732 | |
---|
733 | template<> |
---|
734 | inline const wchar_t* unsigned_short_pskel<wchar_t>:: |
---|
735 | _dynamic_type () const |
---|
736 | { |
---|
737 | return _static_type (); |
---|
738 | } |
---|
739 | |
---|
740 | template<> |
---|
741 | inline const wchar_t* int_pskel<wchar_t>:: |
---|
742 | _static_type () |
---|
743 | { |
---|
744 | return L"int http://www.w3.org/2001/XMLSchema"; |
---|
745 | } |
---|
746 | |
---|
747 | template<> |
---|
748 | inline const wchar_t* int_pskel<wchar_t>:: |
---|
749 | _dynamic_type () const |
---|
750 | { |
---|
751 | return _static_type (); |
---|
752 | } |
---|
753 | |
---|
754 | template<> |
---|
755 | inline const wchar_t* unsigned_int_pskel<wchar_t>:: |
---|
756 | _static_type () |
---|
757 | { |
---|
758 | return L"unsignedInt http://www.w3.org/2001/XMLSchema"; |
---|
759 | } |
---|
760 | |
---|
761 | template<> |
---|
762 | inline const wchar_t* unsigned_int_pskel<wchar_t>:: |
---|
763 | _dynamic_type () const |
---|
764 | { |
---|
765 | return _static_type (); |
---|
766 | } |
---|
767 | |
---|
768 | template<> |
---|
769 | inline const wchar_t* long_pskel<wchar_t>:: |
---|
770 | _static_type () |
---|
771 | { |
---|
772 | return L"long http://www.w3.org/2001/XMLSchema"; |
---|
773 | } |
---|
774 | |
---|
775 | template<> |
---|
776 | inline const wchar_t* long_pskel<wchar_t>:: |
---|
777 | _dynamic_type () const |
---|
778 | { |
---|
779 | return _static_type (); |
---|
780 | } |
---|
781 | |
---|
782 | template<> |
---|
783 | inline const wchar_t* unsigned_long_pskel<wchar_t>:: |
---|
784 | _static_type () |
---|
785 | { |
---|
786 | return L"unsignedLong http://www.w3.org/2001/XMLSchema"; |
---|
787 | } |
---|
788 | |
---|
789 | template<> |
---|
790 | inline const wchar_t* unsigned_long_pskel<wchar_t>:: |
---|
791 | _dynamic_type () const |
---|
792 | { |
---|
793 | return _static_type (); |
---|
794 | } |
---|
795 | |
---|
796 | template<> |
---|
797 | inline const wchar_t* integer_pskel<wchar_t>:: |
---|
798 | _static_type () |
---|
799 | { |
---|
800 | return L"integer http://www.w3.org/2001/XMLSchema"; |
---|
801 | } |
---|
802 | |
---|
803 | template<> |
---|
804 | inline const wchar_t* integer_pskel<wchar_t>:: |
---|
805 | _dynamic_type () const |
---|
806 | { |
---|
807 | return _static_type (); |
---|
808 | } |
---|
809 | |
---|
810 | template<> |
---|
811 | inline const wchar_t* negative_integer_pskel<wchar_t>:: |
---|
812 | _static_type () |
---|
813 | { |
---|
814 | return L"negativeInteger http://www.w3.org/2001/XMLSchema"; |
---|
815 | } |
---|
816 | |
---|
817 | template<> |
---|
818 | inline const wchar_t* negative_integer_pskel<wchar_t>:: |
---|
819 | _dynamic_type () const |
---|
820 | { |
---|
821 | return _static_type (); |
---|
822 | } |
---|
823 | |
---|
824 | template<> |
---|
825 | inline const wchar_t* non_positive_integer_pskel<wchar_t>:: |
---|
826 | _static_type () |
---|
827 | { |
---|
828 | return L"nonPositiveInteger http://www.w3.org/2001/XMLSchema"; |
---|
829 | } |
---|
830 | |
---|
831 | template<> |
---|
832 | inline const wchar_t* non_positive_integer_pskel<wchar_t>:: |
---|
833 | _dynamic_type () const |
---|
834 | { |
---|
835 | return _static_type (); |
---|
836 | } |
---|
837 | |
---|
838 | template<> |
---|
839 | inline const wchar_t* positive_integer_pskel<wchar_t>:: |
---|
840 | _static_type () |
---|
841 | { |
---|
842 | return L"positiveInteger http://www.w3.org/2001/XMLSchema"; |
---|
843 | } |
---|
844 | |
---|
845 | template<> |
---|
846 | inline const wchar_t* positive_integer_pskel<wchar_t>:: |
---|
847 | _dynamic_type () const |
---|
848 | { |
---|
849 | return _static_type (); |
---|
850 | } |
---|
851 | |
---|
852 | template<> |
---|
853 | inline const wchar_t* non_negative_integer_pskel<wchar_t>:: |
---|
854 | _static_type () |
---|
855 | { |
---|
856 | return L"nonNegativeInteger http://www.w3.org/2001/XMLSchema"; |
---|
857 | } |
---|
858 | |
---|
859 | template<> |
---|
860 | inline const wchar_t* non_negative_integer_pskel<wchar_t>:: |
---|
861 | _dynamic_type () const |
---|
862 | { |
---|
863 | return _static_type (); |
---|
864 | } |
---|
865 | |
---|
866 | template<> |
---|
867 | inline const wchar_t* float_pskel<wchar_t>:: |
---|
868 | _static_type () |
---|
869 | { |
---|
870 | return L"float http://www.w3.org/2001/XMLSchema"; |
---|
871 | } |
---|
872 | |
---|
873 | template<> |
---|
874 | inline const wchar_t* float_pskel<wchar_t>:: |
---|
875 | _dynamic_type () const |
---|
876 | { |
---|
877 | return _static_type (); |
---|
878 | } |
---|
879 | |
---|
880 | template<> |
---|
881 | inline const wchar_t* double_pskel<wchar_t>:: |
---|
882 | _static_type () |
---|
883 | { |
---|
884 | return L"double http://www.w3.org/2001/XMLSchema"; |
---|
885 | } |
---|
886 | |
---|
887 | template<> |
---|
888 | inline const wchar_t* double_pskel<wchar_t>:: |
---|
889 | _dynamic_type () const |
---|
890 | { |
---|
891 | return _static_type (); |
---|
892 | } |
---|
893 | |
---|
894 | template<> |
---|
895 | inline const wchar_t* decimal_pskel<wchar_t>:: |
---|
896 | _static_type () |
---|
897 | { |
---|
898 | return L"decimal http://www.w3.org/2001/XMLSchema"; |
---|
899 | } |
---|
900 | |
---|
901 | template<> |
---|
902 | inline const wchar_t* decimal_pskel<wchar_t>:: |
---|
903 | _dynamic_type () const |
---|
904 | { |
---|
905 | return _static_type (); |
---|
906 | } |
---|
907 | |
---|
908 | template<> |
---|
909 | inline const wchar_t* string_pskel<wchar_t>:: |
---|
910 | _static_type () |
---|
911 | { |
---|
912 | return L"string http://www.w3.org/2001/XMLSchema"; |
---|
913 | } |
---|
914 | |
---|
915 | template<> |
---|
916 | inline const wchar_t* string_pskel<wchar_t>:: |
---|
917 | _dynamic_type () const |
---|
918 | { |
---|
919 | return _static_type (); |
---|
920 | } |
---|
921 | |
---|
922 | template<> |
---|
923 | inline const wchar_t* normalized_string_pskel<wchar_t>:: |
---|
924 | _static_type () |
---|
925 | { |
---|
926 | return L"normalizedString http://www.w3.org/2001/XMLSchema"; |
---|
927 | } |
---|
928 | |
---|
929 | template<> |
---|
930 | inline const wchar_t* normalized_string_pskel<wchar_t>:: |
---|
931 | _dynamic_type () const |
---|
932 | { |
---|
933 | return _static_type (); |
---|
934 | } |
---|
935 | |
---|
936 | template<> |
---|
937 | inline const wchar_t* token_pskel<wchar_t>:: |
---|
938 | _static_type () |
---|
939 | { |
---|
940 | return L"token http://www.w3.org/2001/XMLSchema"; |
---|
941 | } |
---|
942 | |
---|
943 | template<> |
---|
944 | inline const wchar_t* token_pskel<wchar_t>:: |
---|
945 | _dynamic_type () const |
---|
946 | { |
---|
947 | return _static_type (); |
---|
948 | } |
---|
949 | |
---|
950 | template<> |
---|
951 | inline const wchar_t* name_pskel<wchar_t>:: |
---|
952 | _static_type () |
---|
953 | { |
---|
954 | return L"Name http://www.w3.org/2001/XMLSchema"; |
---|
955 | } |
---|
956 | |
---|
957 | template<> |
---|
958 | inline const wchar_t* name_pskel<wchar_t>:: |
---|
959 | _dynamic_type () const |
---|
960 | { |
---|
961 | return _static_type (); |
---|
962 | } |
---|
963 | |
---|
964 | template<> |
---|
965 | inline const wchar_t* nmtoken_pskel<wchar_t>:: |
---|
966 | _static_type () |
---|
967 | { |
---|
968 | return L"NMTOKEN http://www.w3.org/2001/XMLSchema"; |
---|
969 | } |
---|
970 | |
---|
971 | template<> |
---|
972 | inline const wchar_t* nmtoken_pskel<wchar_t>:: |
---|
973 | _dynamic_type () const |
---|
974 | { |
---|
975 | return _static_type (); |
---|
976 | } |
---|
977 | |
---|
978 | template<> |
---|
979 | inline const wchar_t* nmtokens_pskel<wchar_t>:: |
---|
980 | _static_type () |
---|
981 | { |
---|
982 | return L"NMTOKENS http://www.w3.org/2001/XMLSchema"; |
---|
983 | } |
---|
984 | |
---|
985 | template<> |
---|
986 | inline const wchar_t* nmtokens_pskel<wchar_t>:: |
---|
987 | _dynamic_type () const |
---|
988 | { |
---|
989 | return _static_type (); |
---|
990 | } |
---|
991 | |
---|
992 | template<> |
---|
993 | inline const wchar_t* ncname_pskel<wchar_t>:: |
---|
994 | _static_type () |
---|
995 | { |
---|
996 | return L"NCName http://www.w3.org/2001/XMLSchema"; |
---|
997 | } |
---|
998 | |
---|
999 | template<> |
---|
1000 | inline const wchar_t* ncname_pskel<wchar_t>:: |
---|
1001 | _dynamic_type () const |
---|
1002 | { |
---|
1003 | return _static_type (); |
---|
1004 | } |
---|
1005 | |
---|
1006 | template<> |
---|
1007 | inline const wchar_t* id_pskel<wchar_t>:: |
---|
1008 | _static_type () |
---|
1009 | { |
---|
1010 | return L"ID http://www.w3.org/2001/XMLSchema"; |
---|
1011 | } |
---|
1012 | |
---|
1013 | template<> |
---|
1014 | inline const wchar_t* id_pskel<wchar_t>:: |
---|
1015 | _dynamic_type () const |
---|
1016 | { |
---|
1017 | return _static_type (); |
---|
1018 | } |
---|
1019 | |
---|
1020 | template<> |
---|
1021 | inline const wchar_t* idref_pskel<wchar_t>:: |
---|
1022 | _static_type () |
---|
1023 | { |
---|
1024 | return L"IDREF http://www.w3.org/2001/XMLSchema"; |
---|
1025 | } |
---|
1026 | |
---|
1027 | template<> |
---|
1028 | inline const wchar_t* idref_pskel<wchar_t>:: |
---|
1029 | _dynamic_type () const |
---|
1030 | { |
---|
1031 | return _static_type (); |
---|
1032 | } |
---|
1033 | |
---|
1034 | template<> |
---|
1035 | inline const wchar_t* idrefs_pskel<wchar_t>:: |
---|
1036 | _static_type () |
---|
1037 | { |
---|
1038 | return L"IDREFS http://www.w3.org/2001/XMLSchema"; |
---|
1039 | } |
---|
1040 | |
---|
1041 | template<> |
---|
1042 | inline const wchar_t* idrefs_pskel<wchar_t>:: |
---|
1043 | _dynamic_type () const |
---|
1044 | { |
---|
1045 | return _static_type (); |
---|
1046 | } |
---|
1047 | |
---|
1048 | template<> |
---|
1049 | inline const wchar_t* language_pskel<wchar_t>:: |
---|
1050 | _static_type () |
---|
1051 | { |
---|
1052 | return L"language http://www.w3.org/2001/XMLSchema"; |
---|
1053 | } |
---|
1054 | |
---|
1055 | template<> |
---|
1056 | inline const wchar_t* language_pskel<wchar_t>:: |
---|
1057 | _dynamic_type () const |
---|
1058 | { |
---|
1059 | return _static_type (); |
---|
1060 | } |
---|
1061 | |
---|
1062 | template<> |
---|
1063 | inline const wchar_t* uri_pskel<wchar_t>:: |
---|
1064 | _static_type () |
---|
1065 | { |
---|
1066 | return L"anyURI http://www.w3.org/2001/XMLSchema"; |
---|
1067 | } |
---|
1068 | |
---|
1069 | template<> |
---|
1070 | inline const wchar_t* uri_pskel<wchar_t>:: |
---|
1071 | _dynamic_type () const |
---|
1072 | { |
---|
1073 | return _static_type (); |
---|
1074 | } |
---|
1075 | |
---|
1076 | template<> |
---|
1077 | inline const wchar_t* qname_pskel<wchar_t>:: |
---|
1078 | _static_type () |
---|
1079 | { |
---|
1080 | return L"QName http://www.w3.org/2001/XMLSchema"; |
---|
1081 | } |
---|
1082 | |
---|
1083 | template<> |
---|
1084 | inline const wchar_t* qname_pskel<wchar_t>:: |
---|
1085 | _dynamic_type () const |
---|
1086 | { |
---|
1087 | return _static_type (); |
---|
1088 | } |
---|
1089 | |
---|
1090 | template<> |
---|
1091 | inline const wchar_t* base64_binary_pskel<wchar_t>:: |
---|
1092 | _static_type () |
---|
1093 | { |
---|
1094 | return L"base64Binary http://www.w3.org/2001/XMLSchema"; |
---|
1095 | } |
---|
1096 | |
---|
1097 | template<> |
---|
1098 | inline const wchar_t* base64_binary_pskel<wchar_t>:: |
---|
1099 | _dynamic_type () const |
---|
1100 | { |
---|
1101 | return _static_type (); |
---|
1102 | } |
---|
1103 | |
---|
1104 | template<> |
---|
1105 | inline const wchar_t* hex_binary_pskel<wchar_t>:: |
---|
1106 | _static_type () |
---|
1107 | { |
---|
1108 | return L"hexBinary http://www.w3.org/2001/XMLSchema"; |
---|
1109 | } |
---|
1110 | |
---|
1111 | template<> |
---|
1112 | inline const wchar_t* hex_binary_pskel<wchar_t>:: |
---|
1113 | _dynamic_type () const |
---|
1114 | { |
---|
1115 | return _static_type (); |
---|
1116 | } |
---|
1117 | |
---|
1118 | template<> |
---|
1119 | inline const wchar_t* gday_pskel<wchar_t>:: |
---|
1120 | _static_type () |
---|
1121 | { |
---|
1122 | return L"gDay http://www.w3.org/2001/XMLSchema"; |
---|
1123 | } |
---|
1124 | |
---|
1125 | template<> |
---|
1126 | inline const wchar_t* gday_pskel<wchar_t>:: |
---|
1127 | _dynamic_type () const |
---|
1128 | { |
---|
1129 | return _static_type (); |
---|
1130 | } |
---|
1131 | |
---|
1132 | template<> |
---|
1133 | inline const wchar_t* gmonth_pskel<wchar_t>:: |
---|
1134 | _static_type () |
---|
1135 | { |
---|
1136 | return L"gMonth http://www.w3.org/2001/XMLSchema"; |
---|
1137 | } |
---|
1138 | |
---|
1139 | template<> |
---|
1140 | inline const wchar_t* gmonth_pskel<wchar_t>:: |
---|
1141 | _dynamic_type () const |
---|
1142 | { |
---|
1143 | return _static_type (); |
---|
1144 | } |
---|
1145 | |
---|
1146 | template<> |
---|
1147 | inline const wchar_t* gyear_pskel<wchar_t>:: |
---|
1148 | _static_type () |
---|
1149 | { |
---|
1150 | return L"gYear http://www.w3.org/2001/XMLSchema"; |
---|
1151 | } |
---|
1152 | |
---|
1153 | template<> |
---|
1154 | inline const wchar_t* gyear_pskel<wchar_t>:: |
---|
1155 | _dynamic_type () const |
---|
1156 | { |
---|
1157 | return _static_type (); |
---|
1158 | } |
---|
1159 | |
---|
1160 | template<> |
---|
1161 | inline const wchar_t* gmonth_day_pskel<wchar_t>:: |
---|
1162 | _static_type () |
---|
1163 | { |
---|
1164 | return L"gMonthDay http://www.w3.org/2001/XMLSchema"; |
---|
1165 | } |
---|
1166 | |
---|
1167 | template<> |
---|
1168 | inline const wchar_t* gmonth_day_pskel<wchar_t>:: |
---|
1169 | _dynamic_type () const |
---|
1170 | { |
---|
1171 | return _static_type (); |
---|
1172 | } |
---|
1173 | |
---|
1174 | template<> |
---|
1175 | inline const wchar_t* gyear_month_pskel<wchar_t>:: |
---|
1176 | _static_type () |
---|
1177 | { |
---|
1178 | return L"gYearMonth http://www.w3.org/2001/XMLSchema"; |
---|
1179 | } |
---|
1180 | |
---|
1181 | template<> |
---|
1182 | inline const wchar_t* gyear_month_pskel<wchar_t>:: |
---|
1183 | _dynamic_type () const |
---|
1184 | { |
---|
1185 | return _static_type (); |
---|
1186 | } |
---|
1187 | |
---|
1188 | template<> |
---|
1189 | inline const wchar_t* date_pskel<wchar_t>:: |
---|
1190 | _static_type () |
---|
1191 | { |
---|
1192 | return L"date http://www.w3.org/2001/XMLSchema"; |
---|
1193 | } |
---|
1194 | |
---|
1195 | template<> |
---|
1196 | inline const wchar_t* date_pskel<wchar_t>:: |
---|
1197 | _dynamic_type () const |
---|
1198 | { |
---|
1199 | return _static_type (); |
---|
1200 | } |
---|
1201 | |
---|
1202 | template<> |
---|
1203 | inline const wchar_t* time_pskel<wchar_t>:: |
---|
1204 | _static_type () |
---|
1205 | { |
---|
1206 | return L"time http://www.w3.org/2001/XMLSchema"; |
---|
1207 | } |
---|
1208 | |
---|
1209 | template<> |
---|
1210 | inline const wchar_t* time_pskel<wchar_t>:: |
---|
1211 | _dynamic_type () const |
---|
1212 | { |
---|
1213 | return _static_type (); |
---|
1214 | } |
---|
1215 | |
---|
1216 | template<> |
---|
1217 | inline const wchar_t* date_time_pskel<wchar_t>:: |
---|
1218 | _static_type () |
---|
1219 | { |
---|
1220 | return L"dateTime http://www.w3.org/2001/XMLSchema"; |
---|
1221 | } |
---|
1222 | |
---|
1223 | template<> |
---|
1224 | inline const wchar_t* date_time_pskel<wchar_t>:: |
---|
1225 | _dynamic_type () const |
---|
1226 | { |
---|
1227 | return _static_type (); |
---|
1228 | } |
---|
1229 | |
---|
1230 | template<> |
---|
1231 | inline const wchar_t* duration_pskel<wchar_t>:: |
---|
1232 | _static_type () |
---|
1233 | { |
---|
1234 | return L"duration http://www.w3.org/2001/XMLSchema"; |
---|
1235 | } |
---|
1236 | |
---|
1237 | template<> |
---|
1238 | inline const wchar_t* duration_pskel<wchar_t>:: |
---|
1239 | _dynamic_type () const |
---|
1240 | { |
---|
1241 | return _static_type (); |
---|
1242 | } |
---|
1243 | } |
---|
1244 | } |
---|
1245 | } |
---|
1246 | } |
---|
1247 | |
---|
1248 | #endif // XSD_CXX_PARSER_NON_VALIDATING_XML_SCHEMA_PSKEL_IXX_WCHAR |
---|
1249 | #endif // XSD_CXX_PARSER_USE_WCHAR |
---|