MolSim
Loading...
Searching...
No Matches
vtk-unstructured.h
Go to the documentation of this file.
1// Copyright (c) 2005-2014 Code Synthesis Tools CC
2//
3// This program was generated by CodeSynthesis XSD, an XML Schema to
4// C++ data binding compiler.
5//
6// This program is free software; you can redistribute it and/or modify
7// it under the terms of the GNU General Public License version 2 as
8// published by the Free Software Foundation.
9//
10// This program is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// You should have received a copy of the GNU General Public License
16// along with this program; if not, write to the Free Software
17// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18//
19// In addition, as a special exception, Code Synthesis Tools CC gives
20// permission to link this program with the Xerces-C++ library (or with
21// modified versions of Xerces-C++ that use the same license as Xerces-C++),
22// and distribute linked combinations including the two. You must obey
23// the GNU General Public License version 2 in all respects for all of
24// the code used other than Xerces-C++. If you modify this copy of the
25// program, you may extend this exception to your version of the program,
26// but you are not obligated to do so. If you do not wish to do so, delete
27// this exception statement from your version.
28//
29// Furthermore, Code Synthesis Tools CC makes a special exception for
30// the Free/Libre and Open Source Software (FLOSS) which is described
31// in the accompanying FLOSSE file.
32//
33
39#ifndef VTK_UNSTRUCTURED_H
40#define VTK_UNSTRUCTURED_H
41
42#ifndef XSD_CXX11
43#define XSD_CXX11
44#endif
45
46#ifndef XSD_USE_CHAR
47#define XSD_USE_CHAR
48#endif
49
50#ifndef XSD_CXX_TREE_USE_CHAR
51#define XSD_CXX_TREE_USE_CHAR
52#endif
53
54// Begin prologue.
55//
56//
57// End prologue.
58
59#include <xsd/cxx/config.hxx>
60
61#if (XSD_INT_VERSION != 4000000L)
62#error XSD runtime version mismatch
63#endif
64
65#include <xsd/cxx/pre.hxx>
66
67#include <xsd/cxx/xml/char-utf8.hxx>
68
69#include <xsd/cxx/tree/elements.hxx>
70#include <xsd/cxx/tree/exceptions.hxx>
71#include <xsd/cxx/tree/types.hxx>
72
73#include <xsd/cxx/xml/error-handler.hxx>
74
75#include <xsd/cxx/xml/dom/auto-ptr.hxx>
76
77#include <xsd/cxx/tree/parsing.hxx>
78#include <xsd/cxx/tree/parsing/boolean.hxx>
79#include <xsd/cxx/tree/parsing/byte.hxx>
80#include <xsd/cxx/tree/parsing/decimal.hxx>
81#include <xsd/cxx/tree/parsing/double.hxx>
82#include <xsd/cxx/tree/parsing/float.hxx>
83#include <xsd/cxx/tree/parsing/int.hxx>
84#include <xsd/cxx/tree/parsing/long.hxx>
85#include <xsd/cxx/tree/parsing/short.hxx>
86#include <xsd/cxx/tree/parsing/unsigned-byte.hxx>
87#include <xsd/cxx/tree/parsing/unsigned-int.hxx>
88#include <xsd/cxx/tree/parsing/unsigned-long.hxx>
89#include <xsd/cxx/tree/parsing/unsigned-short.hxx>
90
91#include <xsd/cxx/tree/serialization.hxx>
92#include <xsd/cxx/tree/serialization/boolean.hxx>
93#include <xsd/cxx/tree/serialization/byte.hxx>
94#include <xsd/cxx/tree/serialization/decimal.hxx>
95#include <xsd/cxx/tree/serialization/double.hxx>
96#include <xsd/cxx/tree/serialization/float.hxx>
97#include <xsd/cxx/tree/serialization/int.hxx>
98#include <xsd/cxx/tree/serialization/long.hxx>
99#include <xsd/cxx/tree/serialization/short.hxx>
100#include <xsd/cxx/tree/serialization/unsigned-byte.hxx>
101#include <xsd/cxx/tree/serialization/unsigned-int.hxx>
102#include <xsd/cxx/tree/serialization/unsigned-long.hxx>
103#include <xsd/cxx/tree/serialization/unsigned-short.hxx>
104#include <xsd/cxx/xml/dom/serialization-header.hxx>
105
110namespace xml_schema {
111// anyType and anySimpleType.
112//
113
118typedef ::xsd::cxx::tree::type type;
119
124typedef ::xsd::cxx::tree::simple_type<char, type> simple_type;
125
129typedef ::xsd::cxx::tree::type container;
130
131// 8-bit
132//
133
138typedef signed char byte;
139
144typedef unsigned char unsigned_byte;
145
146// 16-bit
147//
148
153typedef short short_;
154
159typedef unsigned short unsigned_short;
160
161// 32-bit
162//
163
168typedef int int_;
169
174typedef unsigned int unsigned_int;
175
176// 64-bit
177//
178
183typedef long long long_;
184
189typedef unsigned long long unsigned_long;
190
191// Supposed to be arbitrary-length integral types.
192//
193
198typedef long long integer;
199
204typedef long long non_positive_integer;
205
210typedef unsigned long long non_negative_integer;
211
216typedef unsigned long long positive_integer;
217
222typedef long long negative_integer;
223
224// Boolean.
225//
226
231typedef bool boolean;
232
233// Floating-point types.
234//
235
240typedef float float_;
241
246typedef double double_;
247
252typedef double decimal;
253
254// String types.
255//
256
261typedef ::xsd::cxx::tree::string<char, simple_type> string;
262
267typedef ::xsd::cxx::tree::normalized_string<char, string> normalized_string;
268
273typedef ::xsd::cxx::tree::token<char, normalized_string> token;
274
279typedef ::xsd::cxx::tree::name<char, token> name;
280
285typedef ::xsd::cxx::tree::nmtoken<char, token> nmtoken;
286
291typedef ::xsd::cxx::tree::nmtokens<char, simple_type, nmtoken> nmtokens;
292
297typedef ::xsd::cxx::tree::ncname<char, name> ncname;
298
303typedef ::xsd::cxx::tree::language<char, token> language;
304
305// ID/IDREF.
306//
307
312typedef ::xsd::cxx::tree::id<char, ncname> id;
313
318typedef ::xsd::cxx::tree::idref<char, ncname, type> idref;
319
324typedef ::xsd::cxx::tree::idrefs<char, simple_type, idref> idrefs;
325
326// URI.
327//
328
333typedef ::xsd::cxx::tree::uri<char, simple_type> uri;
334
335// Qualified name.
336//
337
342typedef ::xsd::cxx::tree::qname<char, simple_type, uri, ncname> qname;
343
344// Binary.
345//
346
350typedef ::xsd::cxx::tree::buffer<char> buffer;
351
356typedef ::xsd::cxx::tree::base64_binary<char, simple_type> base64_binary;
357
362typedef ::xsd::cxx::tree::hex_binary<char, simple_type> hex_binary;
363
364// Date/time.
365//
366
370typedef ::xsd::cxx::tree::time_zone time_zone;
371
376typedef ::xsd::cxx::tree::date<char, simple_type> date;
377
382typedef ::xsd::cxx::tree::date_time<char, simple_type> date_time;
383
388typedef ::xsd::cxx::tree::duration<char, simple_type> duration;
389
394typedef ::xsd::cxx::tree::gday<char, simple_type> gday;
395
400typedef ::xsd::cxx::tree::gmonth<char, simple_type> gmonth;
401
406typedef ::xsd::cxx::tree::gmonth_day<char, simple_type> gmonth_day;
407
412typedef ::xsd::cxx::tree::gyear<char, simple_type> gyear;
413
418typedef ::xsd::cxx::tree::gyear_month<char, simple_type> gyear_month;
419
424typedef ::xsd::cxx::tree::time<char, simple_type> time;
425
426// Entity.
427//
428
433typedef ::xsd::cxx::tree::entity<char, ncname> entity;
434
439typedef ::xsd::cxx::tree::entities<char, simple_type, entity> entities;
440
444typedef ::xsd::cxx::tree::content_order content_order;
445// Namespace information and list stream. Used in
446// serialization functions.
447//
451typedef ::xsd::cxx::xml::dom::namespace_info<char> namespace_info;
452
456typedef ::xsd::cxx::xml::dom::namespace_infomap<char> namespace_infomap;
457
461typedef ::xsd::cxx::tree::list_stream<char> list_stream;
462
466typedef ::xsd::cxx::tree::as_double<double_> as_double;
467
471typedef ::xsd::cxx::tree::as_decimal<decimal> as_decimal;
472
476typedef ::xsd::cxx::tree::facet facet;
477
478// Flags and properties.
479//
480
484typedef ::xsd::cxx::tree::flags flags;
485
489typedef ::xsd::cxx::tree::properties<char> properties;
490
491// Parsing/serialization diagnostics.
492//
493
497typedef ::xsd::cxx::tree::severity severity;
498
502typedef ::xsd::cxx::tree::error<char> error;
503
507typedef ::xsd::cxx::tree::diagnostics<char> diagnostics;
508
509// Exceptions.
510//
511
515typedef ::xsd::cxx::tree::exception<char> exception;
516
521typedef ::xsd::cxx::tree::bounds<char> bounds;
522
527typedef ::xsd::cxx::tree::duplicate_id<char> duplicate_id;
528
532typedef ::xsd::cxx::tree::parsing<char> parsing;
533
538typedef ::xsd::cxx::tree::expected_element<char> expected_element;
539
544typedef ::xsd::cxx::tree::unexpected_element<char> unexpected_element;
545
550typedef ::xsd::cxx::tree::expected_attribute<char> expected_attribute;
551
556typedef ::xsd::cxx::tree::unexpected_enumerator<char> unexpected_enumerator;
557
562typedef ::xsd::cxx::tree::expected_text_content<char> expected_text_content;
563
568typedef ::xsd::cxx::tree::no_prefix_mapping<char> no_prefix_mapping;
569
573typedef ::xsd::cxx::tree::serialization<char> serialization;
574
578typedef ::xsd::cxx::xml::error_handler<char> error_handler;
579
583namespace dom {
587using ::xsd::cxx::xml::dom::unique_ptr;
588
589#ifndef XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA
590#define XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA
594const XMLCh *const tree_node_key = ::xsd::cxx::tree::user_data_keys::node;
595#endif
596} // namespace dom
597} // namespace xml_schema
598
599// Forward declarations.
600//
601class DataArrayList_t;
602class DataArray_t;
605class PolyData_t;
606class VTKFile_t;
607class type;
608class PointData;
609class CellData;
610class Points;
611class Cells;
612
613#include <algorithm> // std::binary_search
614#include <limits> // std::numeric_limits
615#include <memory> // ::std::unique_ptr
616#include <utility> // std::move
617
618#include <xsd/cxx/xml/char-utf8.hxx>
619
620#include <xsd/cxx/tree/containers.hxx>
621#include <xsd/cxx/tree/elements.hxx>
622#include <xsd/cxx/tree/exceptions.hxx>
623#include <xsd/cxx/tree/list.hxx>
624
625#include <xsd/cxx/xml/dom/parsing-header.hxx>
626
636 public ::xsd::cxx::tree::list<::xml_schema::decimal, char, ::xsd::cxx::tree::schema_type::decimal> {
637 public:
644
653 DataArrayList_t(size_type n, const ::xml_schema::decimal &x);
654
664 template <typename I>
665 DataArrayList_t(const I &begin, const I &end)
666 : ::xsd::cxx::tree::list<::xml_schema::decimal, char, ::xsd::cxx::tree::schema_type::decimal>(begin, end,
667 this) {}
668
677 DataArrayList_t(const ::xercesc::DOMElement &e, ::xml_schema::flags f = 0, ::xml_schema::container *c = 0);
678
687 DataArrayList_t(const ::xercesc::DOMAttr &a, ::xml_schema::flags f = 0, ::xml_schema::container *c = 0);
688
698 DataArrayList_t(const ::std::string &s, const ::xercesc::DOMElement *e, ::xml_schema::flags f = 0,
700
711
724
729};
730
737 public:
745
750
754 typedef ::xsd::cxx::tree::traits<type_type, char> type_traits;
755
761 const type_type &type() const;
762
769
778 void type(const type_type &x);
779
788 void type(::std::unique_ptr<type_type> p);
789
791
799
804
808 typedef ::xsd::cxx::tree::traits<Name_type, char> Name_traits;
809
815 const Name_type &Name() const;
816
823
832 void Name(const Name_type &x);
833
842 void Name(::std::unique_ptr<Name_type> p);
843
845
853
858
862 typedef ::xsd::cxx::tree::traits<NumberOfComponents_type, char> NumberOfComponents_traits;
863
870
877
887
889
897
902
906 typedef ::xsd::cxx::tree::traits<format_type, char> format_traits;
907
913 const format_type &format() const;
914
922
924
932
937
941 typedef ::xsd::cxx::tree::optional<offset_type> offset_optional;
942
946 typedef ::xsd::cxx::tree::traits<offset_type, char> offset_traits;
947
954 const offset_optional &offset() const;
955
962
971 void offset(const offset_type &x);
972
982 void offset(const offset_optional &x);
983
985
990
996
1001 DataArray_t(const ::DataArrayList_t &, const type_type &, const Name_type &, const NumberOfComponents_type &);
1002
1011 DataArray_t(const ::xercesc::DOMElement &e, ::xml_schema::flags f = 0, ::xml_schema::container *c = 0);
1012
1023
1036
1046
1048
1052 virtual ~DataArray_t();
1053
1054 // Implementation.
1055 //
1056
1057 //@cond
1058
1059 protected:
1060 void parse(::xsd::cxx::xml::dom::parser<char> &, ::xml_schema::flags);
1061
1062 protected:
1063 ::xsd::cxx::tree::one<type_type> type_;
1064 ::xsd::cxx::tree::one<Name_type> Name_;
1065 ::xsd::cxx::tree::one<NumberOfComponents_type> NumberOfComponents_;
1066 ::xsd::cxx::tree::one<format_type> format_;
1067 static const format_type format_default_value_;
1068 offset_optional offset_;
1069
1070 //@endcond
1071};
1072
1079 public:
1087
1092
1096 typedef ::xsd::cxx::tree::traits<PointData_type, char> PointData_traits;
1097
1104
1111
1121
1130 void PointData(::std::unique_ptr<PointData_type> p);
1131
1133
1141
1146
1150 typedef ::xsd::cxx::tree::traits<CellData_type, char> CellData_traits;
1151
1157 const CellData_type &CellData() const;
1158
1165
1174 void CellData(const CellData_type &x);
1175
1184 void CellData(::std::unique_ptr<CellData_type> p);
1185
1187
1195
1200
1204 typedef ::xsd::cxx::tree::traits<Points_type, char> Points_traits;
1205
1211 const Points_type &Points() const;
1212
1219
1228 void Points(const Points_type &x);
1229
1238 void Points(::std::unique_ptr<Points_type> p);
1239
1241
1249
1254
1258 typedef ::xsd::cxx::tree::traits<Cells_type, char> Cells_traits;
1259
1265 const Cells_type &Cells() const;
1266
1273
1282 void Cells(const Cells_type &x);
1283
1292 void Cells(::std::unique_ptr<Cells_type> p);
1293
1295
1303
1308
1312 typedef ::xsd::cxx::tree::traits<NumberOfPoints_type, char> NumberOfPoints_traits;
1313
1320
1327
1337
1339
1347
1352
1356 typedef ::xsd::cxx::tree::traits<NumberOfCells_type, char> NumberOfCells_traits;
1357
1364
1371
1381
1383
1388
1394 const NumberOfPoints_type &, const NumberOfCells_type &);
1395
1404 PieceUnstructuredGrid_t(::std::unique_ptr<PointData_type>, ::std::unique_ptr<CellData_type>,
1405 ::std::unique_ptr<Points_type>, ::std::unique_ptr<Cells_type>, const NumberOfPoints_type &,
1406 const NumberOfCells_type &);
1407
1416 PieceUnstructuredGrid_t(const ::xercesc::DOMElement &e, ::xml_schema::flags f = 0, ::xml_schema::container *c = 0);
1417
1429
1442
1452
1454
1459
1460 // Implementation.
1461 //
1462
1463 //@cond
1464
1465 protected:
1466 void parse(::xsd::cxx::xml::dom::parser<char> &, ::xml_schema::flags);
1467
1468 protected:
1469 ::xsd::cxx::tree::one<PointData_type> PointData_;
1470 ::xsd::cxx::tree::one<CellData_type> CellData_;
1471 ::xsd::cxx::tree::one<Points_type> Points_;
1472 ::xsd::cxx::tree::one<Cells_type> Cells_;
1473 ::xsd::cxx::tree::one<NumberOfPoints_type> NumberOfPoints_;
1474 ::xsd::cxx::tree::one<NumberOfCells_type> NumberOfCells_;
1475
1476 //@endcond
1477};
1478
1485 public:
1493
1498
1502 typedef ::xsd::cxx::tree::traits<Piece_type, char> Piece_traits;
1503
1509 const Piece_type &Piece() const;
1510
1517
1526 void Piece(const Piece_type &x);
1527
1536 void Piece(::std::unique_ptr<Piece_type> p);
1537
1539
1544
1550
1559 UnstructuredGrid_t(::std::unique_ptr<Piece_type>);
1560
1569 UnstructuredGrid_t(const ::xercesc::DOMElement &e, ::xml_schema::flags f = 0, ::xml_schema::container *c = 0);
1570
1581
1594
1604
1606
1611
1612 // Implementation.
1613 //
1614
1615 //@cond
1616
1617 protected:
1618 void parse(::xsd::cxx::xml::dom::parser<char> &, ::xml_schema::flags);
1619
1620 protected:
1621 ::xsd::cxx::tree::one<Piece_type> Piece_;
1622
1623 //@endcond
1624};
1625
1632 public:
1640
1645
1649 typedef ::xsd::cxx::tree::traits<greeting_type, char> greeting_traits;
1650
1656 const greeting_type &greeting() const;
1657
1664
1673 void greeting(const greeting_type &x);
1674
1683 void greeting(::std::unique_ptr<greeting_type> p);
1684
1686
1691
1697
1706 PolyData_t(const ::xercesc::DOMElement &e, ::xml_schema::flags f = 0, ::xml_schema::container *c = 0);
1707
1718
1731
1741
1743
1747 virtual ~PolyData_t();
1748
1749 // Implementation.
1750 //
1751
1752 //@cond
1753
1754 protected:
1755 void parse(::xsd::cxx::xml::dom::parser<char> &, ::xml_schema::flags);
1756
1757 protected:
1758 ::xsd::cxx::tree::one<greeting_type> greeting_;
1759
1760 //@endcond
1761};
1762
1772 public:
1780
1785
1789 typedef ::xsd::cxx::tree::optional<UnstructuredGrid_type> UnstructuredGrid_optional;
1790
1794 typedef ::xsd::cxx::tree::traits<UnstructuredGrid_type, char> UnstructuredGrid_traits;
1795
1803
1810
1820
1831
1840 void UnstructuredGrid(::std::unique_ptr<UnstructuredGrid_type> p);
1841
1843
1851
1856
1860 typedef ::xsd::cxx::tree::optional<PolyData_type> PolyData_optional;
1861
1865 typedef ::xsd::cxx::tree::traits<PolyData_type, char> PolyData_traits;
1866
1874
1881
1890 void PolyData(const PolyData_type &x);
1891
1902
1911 void PolyData(::std::unique_ptr<PolyData_type> p);
1912
1914
1922
1927
1931 typedef ::xsd::cxx::tree::traits<type_type, char> type_traits;
1932
1938 const type_type &type() const;
1939
1946
1955 void type(const type_type &x);
1956
1965 void type(::std::unique_ptr<type_type> p);
1966
1968
1976
1981
1985 typedef ::xsd::cxx::tree::traits<version_type, char> version_traits;
1986
1992 const version_type &version() const;
1993
2001
2003
2011
2016
2020 typedef ::xsd::cxx::tree::traits<byte_order_type, char> byte_order_traits;
2021
2028
2036
2038
2043
2049
2058 VTKFile_t(const ::xercesc::DOMElement &e, ::xml_schema::flags f = 0, ::xml_schema::container *c = 0);
2059
2070
2083
2093
2095
2099 virtual ~VTKFile_t();
2100
2101 // Implementation.
2102 //
2103
2104 //@cond
2105
2106 protected:
2107 void parse(::xsd::cxx::xml::dom::parser<char> &, ::xml_schema::flags);
2108
2109 protected:
2110 UnstructuredGrid_optional UnstructuredGrid_;
2111 PolyData_optional PolyData_;
2112 ::xsd::cxx::tree::one<type_type> type_;
2113 ::xsd::cxx::tree::one<version_type> version_;
2114 static const version_type version_default_value_;
2115 ::xsd::cxx::tree::one<byte_order_type> byte_order_;
2116 static const byte_order_type byte_order_default_value_;
2117
2118 //@endcond
2119};
2120
2126 public:
2131
2138
2144 type(const char *v);
2145
2151 type(const ::std::string &v);
2152
2158 type(const ::xml_schema::string &v);
2159
2168 type(const ::xercesc::DOMElement &e, ::xml_schema::flags f = 0, ::xml_schema::container *c = 0);
2169
2178 type(const ::xercesc::DOMAttr &a, ::xml_schema::flags f = 0, ::xml_schema::container *c = 0);
2179
2189 type(const ::std::string &s, const ::xercesc::DOMElement *e, ::xml_schema::flags f = 0,
2191
2202
2215
2223
2230 virtual operator value() const { return _xsd_type_convert(); }
2231
2232 //@cond
2233
2234 protected:
2235 value _xsd_type_convert() const;
2236
2237 public:
2238 static const char *const _xsd_type_literals_[10];
2239 static const value _xsd_type_indexes_[10];
2240
2241 //@endcond
2242};
2243
2250 public:
2258
2263
2267 typedef ::xsd::cxx::tree::sequence<DataArray_type> DataArray_sequence;
2268
2272 typedef DataArray_sequence::iterator DataArray_iterator;
2273
2277 typedef DataArray_sequence::const_iterator DataArray_const_iterator;
2278
2282 typedef ::xsd::cxx::tree::traits<DataArray_type, char> DataArray_traits;
2283
2291
2298
2309
2311
2316
2322
2331 PointData(const ::xercesc::DOMElement &e, ::xml_schema::flags f = 0, ::xml_schema::container *c = 0);
2332
2343
2356
2366
2368
2372 virtual ~PointData();
2373
2374 // Implementation.
2375 //
2376
2377 //@cond
2378
2379 protected:
2380 void parse(::xsd::cxx::xml::dom::parser<char> &, ::xml_schema::flags);
2381
2382 protected:
2383 DataArray_sequence DataArray_;
2384
2385 //@endcond
2386};
2387
2394 public:
2402
2407
2411 typedef ::xsd::cxx::tree::sequence<DataArray_type> DataArray_sequence;
2412
2416 typedef DataArray_sequence::iterator DataArray_iterator;
2417
2421 typedef DataArray_sequence::const_iterator DataArray_const_iterator;
2422
2426 typedef ::xsd::cxx::tree::traits<DataArray_type, char> DataArray_traits;
2427
2435
2442
2453
2455
2460
2466
2475 CellData(const ::xercesc::DOMElement &e, ::xml_schema::flags f = 0, ::xml_schema::container *c = 0);
2476
2487
2500
2510
2512
2516 virtual ~CellData();
2517
2518 // Implementation.
2519 //
2520
2521 //@cond
2522
2523 protected:
2524 void parse(::xsd::cxx::xml::dom::parser<char> &, ::xml_schema::flags);
2525
2526 protected:
2527 DataArray_sequence DataArray_;
2528
2529 //@endcond
2530};
2531
2538 public:
2546
2551
2555 typedef ::xsd::cxx::tree::sequence<DataArray_type> DataArray_sequence;
2556
2560 typedef DataArray_sequence::iterator DataArray_iterator;
2561
2565 typedef DataArray_sequence::const_iterator DataArray_const_iterator;
2566
2570 typedef ::xsd::cxx::tree::traits<DataArray_type, char> DataArray_traits;
2571
2579
2586
2597
2599
2604
2610
2619 Points(const ::xercesc::DOMElement &e, ::xml_schema::flags f = 0, ::xml_schema::container *c = 0);
2620
2631
2644
2654
2656
2660 virtual ~Points();
2661
2662 // Implementation.
2663 //
2664
2665 //@cond
2666
2667 protected:
2668 void parse(::xsd::cxx::xml::dom::parser<char> &, ::xml_schema::flags);
2669
2670 protected:
2671 DataArray_sequence DataArray_;
2672
2673 //@endcond
2674};
2675
2682 public:
2690
2695
2699 typedef ::xsd::cxx::tree::sequence<DataArray_type> DataArray_sequence;
2700
2704 typedef DataArray_sequence::iterator DataArray_iterator;
2705
2709 typedef DataArray_sequence::const_iterator DataArray_const_iterator;
2710
2714 typedef ::xsd::cxx::tree::traits<DataArray_type, char> DataArray_traits;
2715
2723
2730
2741
2743
2748
2754
2763 Cells(const ::xercesc::DOMElement &e, ::xml_schema::flags f = 0, ::xml_schema::container *c = 0);
2764
2775
2788
2798
2800
2804 virtual ~Cells();
2805
2806 // Implementation.
2807 //
2808
2809 //@cond
2810
2811 protected:
2812 void parse(::xsd::cxx::xml::dom::parser<char> &, ::xml_schema::flags);
2813
2814 protected:
2815 DataArray_sequence DataArray_;
2816
2817 //@endcond
2818};
2819
2820#include <iosfwd>
2821
2822#include <xercesc/dom/DOMDocument.hpp>
2823#include <xercesc/dom/DOMErrorHandler.hpp>
2824#include <xercesc/sax/InputSource.hpp>
2825
2833
2844::std::unique_ptr<::VTKFile_t> VTKFile(const ::std::string &uri, ::xml_schema::flags f = 0,
2845 const ::xml_schema::properties &p = ::xml_schema::properties());
2846
2858::std::unique_ptr<::VTKFile_t> VTKFile(const ::std::string &uri, ::xml_schema::error_handler &eh,
2859 ::xml_schema::flags f = 0,
2860 const ::xml_schema::properties &p = ::xml_schema::properties());
2861
2874::std::unique_ptr<::VTKFile_t> VTKFile(const ::std::string &uri, ::xercesc::DOMErrorHandler &eh,
2875 ::xml_schema::flags f = 0,
2876 const ::xml_schema::properties &p = ::xml_schema::properties());
2877
2888::std::unique_ptr<::VTKFile_t> VTKFile(::std::istream &is, ::xml_schema::flags f = 0,
2889 const ::xml_schema::properties &p = ::xml_schema::properties());
2890
2902::std::unique_ptr<::VTKFile_t> VTKFile(::std::istream &is, ::xml_schema::error_handler &eh, ::xml_schema::flags f = 0,
2903 const ::xml_schema::properties &p = ::xml_schema::properties());
2904
2917::std::unique_ptr<::VTKFile_t> VTKFile(::std::istream &is, ::xercesc::DOMErrorHandler &eh, ::xml_schema::flags f = 0,
2918 const ::xml_schema::properties &p = ::xml_schema::properties());
2919
2934::std::unique_ptr<::VTKFile_t> VTKFile(::std::istream &is, const ::std::string &id, ::xml_schema::flags f = 0,
2935 const ::xml_schema::properties &p = ::xml_schema::properties());
2936
2953::std::unique_ptr<::VTKFile_t> VTKFile(::std::istream &is, const ::std::string &id, ::xml_schema::error_handler &eh,
2954 ::xml_schema::flags f = 0,
2955 const ::xml_schema::properties &p = ::xml_schema::properties());
2956
2973::std::unique_ptr<::VTKFile_t> VTKFile(::std::istream &is, const ::std::string &id, ::xercesc::DOMErrorHandler &eh,
2974 ::xml_schema::flags f = 0,
2975 const ::xml_schema::properties &p = ::xml_schema::properties());
2976
2987::std::unique_ptr<::VTKFile_t> VTKFile(::xercesc::InputSource &is, ::xml_schema::flags f = 0,
2988 const ::xml_schema::properties &p = ::xml_schema::properties());
2989
3001::std::unique_ptr<::VTKFile_t> VTKFile(::xercesc::InputSource &is, ::xml_schema::error_handler &eh,
3002 ::xml_schema::flags f = 0,
3003 const ::xml_schema::properties &p = ::xml_schema::properties());
3004
3017::std::unique_ptr<::VTKFile_t> VTKFile(::xercesc::InputSource &is, ::xercesc::DOMErrorHandler &eh,
3018 ::xml_schema::flags f = 0,
3019 const ::xml_schema::properties &p = ::xml_schema::properties());
3020
3029::std::unique_ptr<::VTKFile_t> VTKFile(const ::xercesc::DOMDocument &d, ::xml_schema::flags f = 0,
3030 const ::xml_schema::properties &p = ::xml_schema::properties());
3031
3044::std::unique_ptr<::VTKFile_t> VTKFile(::xml_schema::dom::unique_ptr<::xercesc::DOMDocument> d,
3045 ::xml_schema::flags f = 0,
3046 const ::xml_schema::properties &p = ::xml_schema::properties());
3047
3049
3050#include <iosfwd>
3051
3052#include <xercesc/dom/DOMDocument.hpp>
3053#include <xercesc/dom/DOMErrorHandler.hpp>
3054#include <xercesc/framework/XMLFormatter.hpp>
3055
3056#include <xsd/cxx/xml/dom/auto-ptr.hxx>
3057
3058void operator<<(::xercesc::DOMElement &, const DataArrayList_t &);
3059
3060void operator<<(::xercesc::DOMAttr &, const DataArrayList_t &);
3061
3063
3064void operator<<(::xercesc::DOMElement &, const DataArray_t &);
3065
3066void operator<<(::xercesc::DOMElement &, const PieceUnstructuredGrid_t &);
3067
3068void operator<<(::xercesc::DOMElement &, const UnstructuredGrid_t &);
3069
3070void operator<<(::xercesc::DOMElement &, const PolyData_t &);
3071
3072void operator<<(::xercesc::DOMElement &, const VTKFile_t &);
3073
3081
3093void VTKFile(::std::ostream &os, const ::VTKFile_t &x,
3094 const ::xml_schema::namespace_infomap &m = ::xml_schema::namespace_infomap(),
3095 const ::std::string &e = "UTF-8", ::xml_schema::flags f = 0);
3096
3110void VTKFile(::std::ostream &os, const ::VTKFile_t &x, ::xml_schema::error_handler &eh,
3111 const ::xml_schema::namespace_infomap &m = ::xml_schema::namespace_infomap(),
3112 const ::std::string &e = "UTF-8", ::xml_schema::flags f = 0);
3113
3128void VTKFile(::std::ostream &os, const ::VTKFile_t &x, ::xercesc::DOMErrorHandler &eh,
3129 const ::xml_schema::namespace_infomap &m = ::xml_schema::namespace_infomap(),
3130 const ::std::string &e = "UTF-8", ::xml_schema::flags f = 0);
3131
3143void VTKFile(::xercesc::XMLFormatTarget &ft, const ::VTKFile_t &x,
3144 const ::xml_schema::namespace_infomap &m = ::xml_schema::namespace_infomap(),
3145 const ::std::string &e = "UTF-8", ::xml_schema::flags f = 0);
3146
3161void VTKFile(::xercesc::XMLFormatTarget &ft, const ::VTKFile_t &x, ::xml_schema::error_handler &eh,
3162 const ::xml_schema::namespace_infomap &m = ::xml_schema::namespace_infomap(),
3163 const ::std::string &e = "UTF-8", ::xml_schema::flags f = 0);
3164
3179void VTKFile(::xercesc::XMLFormatTarget &ft, const ::VTKFile_t &x, ::xercesc::DOMErrorHandler &eh,
3180 const ::xml_schema::namespace_infomap &m = ::xml_schema::namespace_infomap(),
3181 const ::std::string &e = "UTF-8", ::xml_schema::flags f = 0);
3182
3194void VTKFile(::xercesc::DOMDocument &d, const ::VTKFile_t &x, ::xml_schema::flags f = 0);
3195
3204::xml_schema::dom::unique_ptr<::xercesc::DOMDocument>
3205VTKFile(const ::VTKFile_t &x, const ::xml_schema::namespace_infomap &m = ::xml_schema::namespace_infomap(),
3206 ::xml_schema::flags f = 0);
3207
3209
3210void operator<<(::xercesc::DOMElement &, const type &);
3211
3212void operator<<(::xercesc::DOMAttr &, const type &);
3213
3215
3216void operator<<(::xercesc::DOMElement &, const PointData &);
3217
3218void operator<<(::xercesc::DOMElement &, const CellData &);
3219
3220void operator<<(::xercesc::DOMElement &, const Points &);
3221
3222void operator<<(::xercesc::DOMElement &, const Cells &);
3223
3224#include <xsd/cxx/post.hxx>
3225
3226// Begin epilogue.
3227//
3228//
3229// End epilogue.
3230
3231#endif // VTK_UNSTRUCTURED_H
Class corresponding to the CellData schema type.
Definition vtk-unstructured.h:2393
virtual CellData * _clone(::xml_schema::flags f=0, ::xml_schema::container *c=0) const
Copy the instance polymorphically.
CellData()
Create an instance from the ultimate base and initializers for required elements and attributes.
::DataArray_t DataArray_type
Element type.
Definition vtk-unstructured.h:2406
CellData & operator=(const CellData &x)
Copy assignment operator.
::xsd::cxx::tree::sequence< DataArray_type > DataArray_sequence
Element sequence container type.
Definition vtk-unstructured.h:2411
const DataArray_sequence & DataArray() const
Return a read-only (constant) reference to the element sequence.
DataArray_sequence::const_iterator DataArray_const_iterator
Element constant iterator type.
Definition vtk-unstructured.h:2421
void DataArray(const DataArray_sequence &s)
Copy elements from a given sequence.
DataArray_sequence & DataArray()
Return a read-write reference to the element sequence.
DataArray_sequence::iterator DataArray_iterator
Element iterator type.
Definition vtk-unstructured.h:2416
::xsd::cxx::tree::traits< DataArray_type, char > DataArray_traits
Element traits type.
Definition vtk-unstructured.h:2426
CellData(const CellData &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Copy constructor.
CellData(const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Create an instance from a DOM element.
virtual ~CellData()
Destructor.
Class corresponding to the Cells schema type.
Definition vtk-unstructured.h:2681
virtual Cells * _clone(::xml_schema::flags f=0, ::xml_schema::container *c=0) const
Copy the instance polymorphically.
Cells()
Create an instance from the ultimate base and initializers for required elements and attributes.
DataArray_sequence::iterator DataArray_iterator
Element iterator type.
Definition vtk-unstructured.h:2704
::xsd::cxx::tree::traits< DataArray_type, char > DataArray_traits
Element traits type.
Definition vtk-unstructured.h:2714
void DataArray(const DataArray_sequence &s)
Copy elements from a given sequence.
virtual ~Cells()
Destructor.
Cells & operator=(const Cells &x)
Copy assignment operator.
DataArray_sequence & DataArray()
Return a read-write reference to the element sequence.
DataArray_sequence::const_iterator DataArray_const_iterator
Element constant iterator type.
Definition vtk-unstructured.h:2709
::xsd::cxx::tree::sequence< DataArray_type > DataArray_sequence
Element sequence container type.
Definition vtk-unstructured.h:2699
const DataArray_sequence & DataArray() const
Return a read-only (constant) reference to the element sequence.
::DataArray_t DataArray_type
Element type.
Definition vtk-unstructured.h:2694
Cells(const Cells &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Copy constructor.
Cells(const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Create an instance from a DOM element.
List class corresponding to the DataArrayList_t schema type.
Definition vtk-unstructured.h:636
DataArrayList_t(const ::std::string &s, const ::xercesc::DOMElement *e, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Create an instance from a string fragment.
DataArrayList_t(const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Create an instance from a DOM element.
DataArrayList_t()
Default constructor.
DataArrayList_t(const DataArrayList_t &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Copy constructor.
DataArrayList_t(const I &begin, const I &end)
Create a list from an iterator range.
Definition vtk-unstructured.h:665
virtual ~DataArrayList_t()
Destructor.
virtual DataArrayList_t * _clone(::xml_schema::flags f=0, ::xml_schema::container *c=0) const
Copy the instance polymorphically.
DataArrayList_t(size_type n, const ::xml_schema::decimal &x)
Create a list with copies of the specified element.
DataArrayList_t(const ::xercesc::DOMAttr &a, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Create an instance from a DOM attribute.
Class corresponding to the DataArray_t schema type.
Definition vtk-unstructured.h:736
DataArray_t(const type_type &, const Name_type &, const NumberOfComponents_type &)
Create an instance from initializers for required elements and attributes.
NumberOfComponents_type & NumberOfComponents()
Return a read-write reference to the attribute.
::xsd::cxx::tree::traits< format_type, char > format_traits
Attribute traits type.
Definition vtk-unstructured.h:906
offset_optional & offset()
Return a read-write reference to the attribute container.
void type(::std::unique_ptr< type_type > p)
Set the attribute value without copying.
const format_type & format() const
Return a read-only (constant) reference to the attribute.
DataArray_t(const ::DataArrayList_t &, const type_type &, const Name_type &, const NumberOfComponents_type &)
Create an instance from the ultimate base and initializers for required elements and attributes.
Name_type & Name()
Return a read-write reference to the attribute.
::type type_type
Attribute type.
Definition vtk-unstructured.h:749
DataArray_t(const DataArray_t &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Copy constructor.
::xsd::cxx::tree::traits< NumberOfComponents_type, char > NumberOfComponents_traits
Attribute traits type.
Definition vtk-unstructured.h:862
type_type & type()
Return a read-write reference to the attribute.
void offset(const offset_optional &x)
Set the attribute value.
::xsd::cxx::tree::traits< offset_type, char > offset_traits
Attribute traits type.
Definition vtk-unstructured.h:946
virtual DataArray_t * _clone(::xml_schema::flags f=0, ::xml_schema::container *c=0) const
Copy the instance polymorphically.
::xsd::cxx::tree::traits< Name_type, char > Name_traits
Attribute traits type.
Definition vtk-unstructured.h:808
void NumberOfComponents(const NumberOfComponents_type &x)
Set the attribute value.
::xml_schema::integer offset_type
Attribute type.
Definition vtk-unstructured.h:936
::xsd::cxx::tree::traits< type_type, char > type_traits
Attribute traits type.
Definition vtk-unstructured.h:754
DataArray_t(const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Create an instance from a DOM element.
void Name(const Name_type &x)
Set the attribute value.
const type_type & type() const
Return a read-only (constant) reference to the attribute.
::xsd::cxx::tree::optional< offset_type > offset_optional
Attribute optional container type.
Definition vtk-unstructured.h:941
::xml_schema::integer NumberOfComponents_type
Attribute type.
Definition vtk-unstructured.h:857
void offset(const offset_type &x)
Set the attribute value.
DataArray_t & operator=(const DataArray_t &x)
Copy assignment operator.
static const format_type & format_default_value()
Return the default value for the attribute.
virtual ~DataArray_t()
Destructor.
const offset_optional & offset() const
Return a read-only (constant) reference to the attribute container.
void Name(::std::unique_ptr< Name_type > p)
Set the attribute value without copying.
const Name_type & Name() const
Return a read-only (constant) reference to the attribute.
::xml_schema::string format_type
Attribute type.
Definition vtk-unstructured.h:901
void type(const type_type &x)
Set the attribute value.
const NumberOfComponents_type & NumberOfComponents() const
Return a read-only (constant) reference to the attribute.
::xml_schema::string Name_type
Attribute type.
Definition vtk-unstructured.h:803
Class corresponding to the PieceUnstructuredGrid_t schema type.
Definition vtk-unstructured.h:1078
::xsd::cxx::tree::traits< Cells_type, char > Cells_traits
Element traits type.
Definition vtk-unstructured.h:1258
const NumberOfPoints_type & NumberOfPoints() const
Return a read-only (constant) reference to the attribute.
CellData_type & CellData()
Return a read-write reference to the element.
const Cells_type & Cells() const
Return a read-only (constant) reference to the element.
virtual PieceUnstructuredGrid_t * _clone(::xml_schema::flags f=0, ::xml_schema::container *c=0) const
Copy the instance polymorphically.
PieceUnstructuredGrid_t(::std::unique_ptr< PointData_type >, ::std::unique_ptr< CellData_type >, ::std::unique_ptr< Points_type >, ::std::unique_ptr< Cells_type >, const NumberOfPoints_type &, const NumberOfCells_type &)
Create an instance from the ultimate base and initializers for required elements and attributes (::st...
::xsd::cxx::tree::traits< CellData_type, char > CellData_traits
Element traits type.
Definition vtk-unstructured.h:1150
void NumberOfCells(const NumberOfCells_type &x)
Set the attribute value.
PieceUnstructuredGrid_t(const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Create an instance from a DOM element.
const PointData_type & PointData() const
Return a read-only (constant) reference to the element.
void Cells(const Cells_type &x)
Set the element value.
void NumberOfPoints(const NumberOfPoints_type &x)
Set the attribute value.
PointData_type & PointData()
Return a read-write reference to the element.
::CellData CellData_type
Element type.
Definition vtk-unstructured.h:1145
NumberOfCells_type & NumberOfCells()
Return a read-write reference to the attribute.
::PointData PointData_type
Element type.
Definition vtk-unstructured.h:1091
::xsd::cxx::tree::traits< NumberOfPoints_type, char > NumberOfPoints_traits
Attribute traits type.
Definition vtk-unstructured.h:1312
::xsd::cxx::tree::traits< Points_type, char > Points_traits
Element traits type.
Definition vtk-unstructured.h:1204
void CellData(const CellData_type &x)
Set the element value.
Cells_type & Cells()
Return a read-write reference to the element.
::Points Points_type
Element type.
Definition vtk-unstructured.h:1199
::xml_schema::integer NumberOfPoints_type
Attribute type.
Definition vtk-unstructured.h:1307
Points_type & Points()
Return a read-write reference to the element.
PieceUnstructuredGrid_t(const PieceUnstructuredGrid_t &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Copy constructor.
PieceUnstructuredGrid_t(const PointData_type &, const CellData_type &, const Points_type &, const Cells_type &, const NumberOfPoints_type &, const NumberOfCells_type &)
Create an instance from the ultimate base and initializers for required elements and attributes.
void Points(const Points_type &x)
Set the element value.
virtual ~PieceUnstructuredGrid_t()
Destructor.
PieceUnstructuredGrid_t & operator=(const PieceUnstructuredGrid_t &x)
Copy assignment operator.
const Points_type & Points() const
Return a read-only (constant) reference to the element.
::Cells Cells_type
Element type.
Definition vtk-unstructured.h:1253
void CellData(::std::unique_ptr< CellData_type > p)
Set the element value without copying.
::xsd::cxx::tree::traits< NumberOfCells_type, char > NumberOfCells_traits
Attribute traits type.
Definition vtk-unstructured.h:1356
const NumberOfCells_type & NumberOfCells() const
Return a read-only (constant) reference to the attribute.
::xml_schema::integer NumberOfCells_type
Attribute type.
Definition vtk-unstructured.h:1351
void PointData(const PointData_type &x)
Set the element value.
const CellData_type & CellData() const
Return a read-only (constant) reference to the element.
void Cells(::std::unique_ptr< Cells_type > p)
Set the element value without copying.
::xsd::cxx::tree::traits< PointData_type, char > PointData_traits
Element traits type.
Definition vtk-unstructured.h:1096
void PointData(::std::unique_ptr< PointData_type > p)
Set the element value without copying.
NumberOfPoints_type & NumberOfPoints()
Return a read-write reference to the attribute.
void Points(::std::unique_ptr< Points_type > p)
Set the element value without copying.
Class corresponding to the PointData schema type.
Definition vtk-unstructured.h:2249
PointData(const PointData &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Copy constructor.
const DataArray_sequence & DataArray() const
Return a read-only (constant) reference to the element sequence.
void DataArray(const DataArray_sequence &s)
Copy elements from a given sequence.
::DataArray_t DataArray_type
Element type.
Definition vtk-unstructured.h:2262
DataArray_sequence & DataArray()
Return a read-write reference to the element sequence.
PointData & operator=(const PointData &x)
Copy assignment operator.
virtual ~PointData()
Destructor.
DataArray_sequence::const_iterator DataArray_const_iterator
Element constant iterator type.
Definition vtk-unstructured.h:2277
::xsd::cxx::tree::sequence< DataArray_type > DataArray_sequence
Element sequence container type.
Definition vtk-unstructured.h:2267
PointData(const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Create an instance from a DOM element.
PointData()
Create an instance from the ultimate base and initializers for required elements and attributes.
virtual PointData * _clone(::xml_schema::flags f=0, ::xml_schema::container *c=0) const
Copy the instance polymorphically.
::xsd::cxx::tree::traits< DataArray_type, char > DataArray_traits
Element traits type.
Definition vtk-unstructured.h:2282
DataArray_sequence::iterator DataArray_iterator
Element iterator type.
Definition vtk-unstructured.h:2272
Class corresponding to the Points schema type.
Definition vtk-unstructured.h:2537
const DataArray_sequence & DataArray() const
Return a read-only (constant) reference to the element sequence.
DataArray_sequence & DataArray()
Return a read-write reference to the element sequence.
::DataArray_t DataArray_type
Element type.
Definition vtk-unstructured.h:2550
virtual Points * _clone(::xml_schema::flags f=0, ::xml_schema::container *c=0) const
Copy the instance polymorphically.
DataArray_sequence::const_iterator DataArray_const_iterator
Element constant iterator type.
Definition vtk-unstructured.h:2565
::xsd::cxx::tree::sequence< DataArray_type > DataArray_sequence
Element sequence container type.
Definition vtk-unstructured.h:2555
Points(const Points &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Copy constructor.
virtual ~Points()
Destructor.
Points(const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Create an instance from a DOM element.
void DataArray(const DataArray_sequence &s)
Copy elements from a given sequence.
Points()
Create an instance from the ultimate base and initializers for required elements and attributes.
::xsd::cxx::tree::traits< DataArray_type, char > DataArray_traits
Element traits type.
Definition vtk-unstructured.h:2570
Points & operator=(const Points &x)
Copy assignment operator.
DataArray_sequence::iterator DataArray_iterator
Element iterator type.
Definition vtk-unstructured.h:2560
Class corresponding to the PolyData_t schema type.
Definition vtk-unstructured.h:1631
void greeting(const greeting_type &x)
Set the element value.
void greeting(::std::unique_ptr< greeting_type > p)
Set the element value without copying.
virtual ~PolyData_t()
Destructor.
::xsd::cxx::tree::traits< greeting_type, char > greeting_traits
Element traits type.
Definition vtk-unstructured.h:1649
PolyData_t(const greeting_type &)
Create an instance from the ultimate base and initializers for required elements and attributes.
greeting_type & greeting()
Return a read-write reference to the element.
PolyData_t(const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Create an instance from a DOM element.
PolyData_t & operator=(const PolyData_t &x)
Copy assignment operator.
virtual PolyData_t * _clone(::xml_schema::flags f=0, ::xml_schema::container *c=0) const
Copy the instance polymorphically.
const greeting_type & greeting() const
Return a read-only (constant) reference to the element.
::xml_schema::string greeting_type
Element type.
Definition vtk-unstructured.h:1644
PolyData_t(const PolyData_t &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Copy constructor.
Class corresponding to the UnstructuredGrid_t schema type.
Definition vtk-unstructured.h:1484
UnstructuredGrid_t(const Piece_type &)
Create an instance from the ultimate base and initializers for required elements and attributes.
::xsd::cxx::tree::traits< Piece_type, char > Piece_traits
Element traits type.
Definition vtk-unstructured.h:1502
UnstructuredGrid_t(const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Create an instance from a DOM element.
UnstructuredGrid_t(::std::unique_ptr< Piece_type >)
Create an instance from the ultimate base and initializers for required elements and attributes (::st...
::PieceUnstructuredGrid_t Piece_type
Element type.
Definition vtk-unstructured.h:1497
virtual ~UnstructuredGrid_t()
Destructor.
const Piece_type & Piece() const
Return a read-only (constant) reference to the element.
void Piece(const Piece_type &x)
Set the element value.
virtual UnstructuredGrid_t * _clone(::xml_schema::flags f=0, ::xml_schema::container *c=0) const
Copy the instance polymorphically.
UnstructuredGrid_t(const UnstructuredGrid_t &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Copy constructor.
void Piece(::std::unique_ptr< Piece_type > p)
Set the element value without copying.
Piece_type & Piece()
Return a read-write reference to the element.
UnstructuredGrid_t & operator=(const UnstructuredGrid_t &x)
Copy assignment operator.
Class corresponding to the VTKFile_t schema type.
Definition vtk-unstructured.h:1771
static const byte_order_type & byte_order_default_value()
Return the default value for the attribute.
VTKFile_t & operator=(const VTKFile_t &x)
Copy assignment operator.
void PolyData(const PolyData_optional &x)
Set the element value.
PolyData_optional & PolyData()
Return a read-write reference to the element container.
::xsd::cxx::tree::optional< UnstructuredGrid_type > UnstructuredGrid_optional
Element optional container type.
Definition vtk-unstructured.h:1789
void UnstructuredGrid(const UnstructuredGrid_type &x)
Set the element value.
::xsd::cxx::tree::traits< UnstructuredGrid_type, char > UnstructuredGrid_traits
Element traits type.
Definition vtk-unstructured.h:1794
::UnstructuredGrid_t UnstructuredGrid_type
Element type.
Definition vtk-unstructured.h:1784
VTKFile_t(const VTKFile_t &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Copy constructor.
void PolyData(::std::unique_ptr< PolyData_type > p)
Set the element value without copying.
::xsd::cxx::tree::traits< byte_order_type, char > byte_order_traits
Attribute traits type.
Definition vtk-unstructured.h:2020
::PolyData_t PolyData_type
Element type.
Definition vtk-unstructured.h:1855
::xsd::cxx::tree::traits< type_type, char > type_traits
Attribute traits type.
Definition vtk-unstructured.h:1931
type_type & type()
Return a read-write reference to the attribute.
static const version_type & version_default_value()
Return the default value for the attribute.
void type(const type_type &x)
Set the attribute value.
const UnstructuredGrid_optional & UnstructuredGrid() const
Return a read-only (constant) reference to the element container.
const byte_order_type & byte_order() const
Return a read-only (constant) reference to the attribute.
::xsd::cxx::tree::traits< PolyData_type, char > PolyData_traits
Element traits type.
Definition vtk-unstructured.h:1865
VTKFile_t(const type_type &)
Create an instance from the ultimate base and initializers for required elements and attributes.
UnstructuredGrid_optional & UnstructuredGrid()
Return a read-write reference to the element container.
::xml_schema::string version_type
Attribute type.
Definition vtk-unstructured.h:1980
virtual VTKFile_t * _clone(::xml_schema::flags f=0, ::xml_schema::container *c=0) const
Copy the instance polymorphically.
virtual ~VTKFile_t()
Destructor.
const PolyData_optional & PolyData() const
Return a read-only (constant) reference to the element container.
void UnstructuredGrid(::std::unique_ptr< UnstructuredGrid_type > p)
Set the element value without copying.
VTKFile_t(const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Create an instance from a DOM element.
::xml_schema::string byte_order_type
Attribute type.
Definition vtk-unstructured.h:2015
void PolyData(const PolyData_type &x)
Set the element value.
const type_type & type() const
Return a read-only (constant) reference to the attribute.
::xml_schema::string type_type
Attribute type.
Definition vtk-unstructured.h:1926
void type(::std::unique_ptr< type_type > p)
Set the attribute value without copying.
const version_type & version() const
Return a read-only (constant) reference to the attribute.
::xsd::cxx::tree::traits< version_type, char > version_traits
Attribute traits type.
Definition vtk-unstructured.h:1985
void UnstructuredGrid(const UnstructuredGrid_optional &x)
Set the element value.
::xsd::cxx::tree::optional< PolyData_type > PolyData_optional
Element optional container type.
Definition vtk-unstructured.h:1860
Enumeration class corresponding to the type schema type.
Definition vtk-unstructured.h:2125
virtual type * _clone(::xml_schema::flags f=0, ::xml_schema::container *c=0) const
Copy the instance polymorphically.
type(const type &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Copy constructor.
type(const ::std::string &s, const ::xercesc::DOMElement *e, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Create an instance from a string fragment.
value
Underlying enum type.
Definition vtk-unstructured.h:2130
@ Float32
Definition vtk-unstructured.h:2130
@ Int64
Definition vtk-unstructured.h:2130
@ UInt16
Definition vtk-unstructured.h:2130
@ Int32
Definition vtk-unstructured.h:2130
@ UInt64
Definition vtk-unstructured.h:2130
@ Float64
Definition vtk-unstructured.h:2130
@ UInt8
Definition vtk-unstructured.h:2130
@ Int16
Definition vtk-unstructured.h:2130
@ UInt32
Definition vtk-unstructured.h:2130
@ Int8
Definition vtk-unstructured.h:2130
type(const ::xml_schema::string &v)
Create an instance from the base value.
type(const ::xercesc::DOMAttr &a, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Create an instance from a DOM attribute.
type(const char *v)
Create an instance from a C string.
type(const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
Create an instance from a DOM element.
type(const ::std::string &v)
Create an instance from a string.
type(value v)
Create an instance from the underlying enum value.
type & operator=(value v)
Assign the underlying enum value.
const XMLCh *const tree_node_key
DOM user data key for back pointers to tree nodes.
Definition vtk-unstructured.h:594
C++ namespace for the http://www.w3.org/2001/XMLSchema schema namespace.
Definition vtk-unstructured.h:110
::xsd::cxx::tree::exception< char > exception
Root of the C++/Tree exception hierarchy.
Definition vtk-unstructured.h:515
::xsd::cxx::tree::language< char, token > language
C++ type corresponding to the language XML Schema built-in type.
Definition vtk-unstructured.h:303
::xsd::cxx::tree::string< char, simple_type > string
C++ type corresponding to the string XML Schema built-in type.
Definition vtk-unstructured.h:261
::xsd::cxx::tree::base64_binary< char, simple_type > base64_binary
C++ type corresponding to the base64Binary XML Schema built-in type.
Definition vtk-unstructured.h:356
::xsd::cxx::tree::properties< char > properties
Parsing properties.
Definition vtk-unstructured.h:489
::xsd::cxx::tree::idrefs< char, simple_type, idref > idrefs
C++ type corresponding to the IDREFS XML Schema built-in type.
Definition vtk-unstructured.h:324
::xsd::cxx::tree::simple_type< char, type > simple_type
C++ type corresponding to the anySimpleType XML Schema built-in type.
Definition vtk-unstructured.h:124
long long long_
C++ type corresponding to the long XML Schema built-in type.
Definition vtk-unstructured.h:183
::xsd::cxx::xml::error_handler< char > error_handler
Error handler callback interface.
Definition vtk-unstructured.h:578
::xsd::cxx::tree::token< char, normalized_string > token
C++ type corresponding to the token XML Schema built-in type.
Definition vtk-unstructured.h:273
::xsd::cxx::tree::date_time< char, simple_type > date_time
C++ type corresponding to the dateTime XML Schema built-in type.
Definition vtk-unstructured.h:382
signed char byte
C++ type corresponding to the byte XML Schema built-in type.
Definition vtk-unstructured.h:138
::xsd::cxx::tree::normalized_string< char, string > normalized_string
C++ type corresponding to the normalizedString XML Schema built-in type.
Definition vtk-unstructured.h:267
::xsd::cxx::tree::as_decimal< decimal > as_decimal
Serialization wrapper for the decimal type.
Definition vtk-unstructured.h:471
::xsd::cxx::tree::expected_element< char > expected_element
Exception indicating that an expected element was not encountered.
Definition vtk-unstructured.h:538
::xsd::cxx::tree::bounds< char > bounds
Exception indicating that the size argument exceeds the capacity argument.
Definition vtk-unstructured.h:521
::xsd::cxx::tree::nmtokens< char, simple_type, nmtoken > nmtokens
C++ type corresponding to the NMTOKENS XML Schema built-in type.
Definition vtk-unstructured.h:291
::xsd::cxx::tree::id< char, ncname > id
C++ type corresponding to the ID XML Schema built-in type.
Definition vtk-unstructured.h:312
::xsd::cxx::tree::type container
Alias for the anyType type.
Definition vtk-unstructured.h:129
::xsd::cxx::tree::uri< char, simple_type > uri
C++ type corresponding to the anyURI XML Schema built-in type.
Definition vtk-unstructured.h:333
::xsd::cxx::tree::type type
C++ type corresponding to the anyType XML Schema built-in type.
Definition vtk-unstructured.h:118
long long non_positive_integer
C++ type corresponding to the nonPositiveInteger XML Schema built-in type.
Definition vtk-unstructured.h:204
::xsd::cxx::tree::date< char, simple_type > date
C++ type corresponding to the date XML Schema built-in type.
Definition vtk-unstructured.h:376
unsigned long long unsigned_long
C++ type corresponding to the unsignedLong XML Schema built-in type.
Definition vtk-unstructured.h:189
::xsd::cxx::tree::expected_attribute< char > expected_attribute
Exception indicating that an expected attribute was not encountered.
Definition vtk-unstructured.h:550
::xsd::cxx::tree::time< char, simple_type > time
C++ type corresponding to the time XML Schema built-in type.
Definition vtk-unstructured.h:424
::xsd::cxx::tree::qname< char, simple_type, uri, ncname > qname
C++ type corresponding to the QName XML Schema built-in type.
Definition vtk-unstructured.h:342
::xsd::cxx::tree::unexpected_enumerator< char > unexpected_enumerator
Exception indicating that an unexpected enumerator was encountered.
Definition vtk-unstructured.h:556
::xsd::cxx::xml::dom::namespace_info< char > namespace_info
Namespace serialization information.
Definition vtk-unstructured.h:451
::xsd::cxx::tree::name< char, token > name
C++ type corresponding to the Name XML Schema built-in type.
Definition vtk-unstructured.h:279
::xsd::cxx::tree::no_prefix_mapping< char > no_prefix_mapping
Exception indicating that a prefix-namespace mapping was not provided.
Definition vtk-unstructured.h:568
::xsd::cxx::tree::gmonth_day< char, simple_type > gmonth_day
C++ type corresponding to the gMonthDay XML Schema built-in type.
Definition vtk-unstructured.h:406
double decimal
C++ type corresponding to the decimal XML Schema built-in type.
Definition vtk-unstructured.h:252
::xsd::cxx::tree::gmonth< char, simple_type > gmonth
C++ type corresponding to the gMonth XML Schema built-in type.
Definition vtk-unstructured.h:400
short short_
C++ type corresponding to the short XML Schema built-in type.
Definition vtk-unstructured.h:153
unsigned short unsigned_short
C++ type corresponding to the unsignedShort XML Schema built-in type.
Definition vtk-unstructured.h:159
unsigned int unsigned_int
C++ type corresponding to the unsignedInt XML Schema built-in type.
Definition vtk-unstructured.h:174
unsigned char unsigned_byte
C++ type corresponding to the unsignedByte XML Schema built-in type.
Definition vtk-unstructured.h:144
::xsd::cxx::tree::flags flags
Parsing and serialization flags.
Definition vtk-unstructured.h:484
::xsd::cxx::tree::time_zone time_zone
Time zone type.
Definition vtk-unstructured.h:370
::xsd::cxx::tree::buffer< char > buffer
Binary buffer type.
Definition vtk-unstructured.h:350
::xsd::cxx::tree::list_stream< char > list_stream
List serialization stream.
Definition vtk-unstructured.h:461
::xsd::cxx::tree::nmtoken< char, token > nmtoken
C++ type corresponding to the NMTOKEN XML Schema built-in type.
Definition vtk-unstructured.h:285
::xsd::cxx::tree::severity severity
Error severity.
Definition vtk-unstructured.h:497
long long integer
C++ type corresponding to the integer XML Schema built-in type.
Definition vtk-unstructured.h:198
double double_
C++ type corresponding to the double XML Schema built-in type.
Definition vtk-unstructured.h:246
::xsd::cxx::tree::entities< char, simple_type, entity > entities
C++ type corresponding to the ENTITIES XML Schema built-in type.
Definition vtk-unstructured.h:439
::xsd::cxx::tree::entity< char, ncname > entity
C++ type corresponding to the ENTITY XML Schema built-in type.
Definition vtk-unstructured.h:433
::xsd::cxx::tree::parsing< char > parsing
Exception indicating a parsing failure.
Definition vtk-unstructured.h:532
::xsd::cxx::tree::idref< char, ncname, type > idref
C++ type corresponding to the IDREF XML Schema built-in type.
Definition vtk-unstructured.h:318
unsigned long long positive_integer
C++ type corresponding to the positiveInteger XML Schema built-in type.
Definition vtk-unstructured.h:216
::xsd::cxx::tree::content_order content_order
Content order sequence entry.
Definition vtk-unstructured.h:444
::xsd::cxx::tree::ncname< char, name > ncname
C++ type corresponding to the NCName XML Schema built-in type.
Definition vtk-unstructured.h:297
::xsd::cxx::tree::unexpected_element< char > unexpected_element
Exception indicating that an unexpected element was encountered.
Definition vtk-unstructured.h:544
::xsd::cxx::tree::error< char > error
Error condition.
Definition vtk-unstructured.h:502
::xsd::cxx::tree::gyear_month< char, simple_type > gyear_month
C++ type corresponding to the gYearMonth XML Schema built-in type.
Definition vtk-unstructured.h:418
::xsd::cxx::tree::duplicate_id< char > duplicate_id
Exception indicating that a duplicate ID value was encountered in the object model.
Definition vtk-unstructured.h:527
::xsd::cxx::tree::gday< char, simple_type > gday
C++ type corresponding to the gDay XML Schema built-in type.
Definition vtk-unstructured.h:394
::xsd::cxx::tree::gyear< char, simple_type > gyear
C++ type corresponding to the gYear XML Schema built-in type.
Definition vtk-unstructured.h:412
long long negative_integer
C++ type corresponding to the negativeInteger XML Schema built-in type.
Definition vtk-unstructured.h:222
int int_
C++ type corresponding to the int XML Schema built-in type.
Definition vtk-unstructured.h:168
float float_
C++ type corresponding to the float XML Schema built-in type.
Definition vtk-unstructured.h:240
::xsd::cxx::tree::duration< char, simple_type > duration
C++ type corresponding to the duration XML Schema built-in type.
Definition vtk-unstructured.h:388
::xsd::cxx::tree::diagnostics< char > diagnostics
List of error conditions.
Definition vtk-unstructured.h:507
::xsd::cxx::tree::expected_text_content< char > expected_text_content
Exception indicating that the text content was expected for an element.
Definition vtk-unstructured.h:562
::xsd::cxx::tree::facet facet
Simple type facet.
Definition vtk-unstructured.h:476
bool boolean
C++ type corresponding to the boolean XML Schema built-in type.
Definition vtk-unstructured.h:231
::xsd::cxx::xml::dom::namespace_infomap< char > namespace_infomap
Namespace serialization information map.
Definition vtk-unstructured.h:456
::xsd::cxx::tree::hex_binary< char, simple_type > hex_binary
C++ type corresponding to the hexBinary XML Schema built-in type.
Definition vtk-unstructured.h:362
unsigned long long non_negative_integer
C++ type corresponding to the nonNegativeInteger XML Schema built-in type.
Definition vtk-unstructured.h:210
::xsd::cxx::tree::as_double< double_ > as_double
Serialization wrapper for the double type.
Definition vtk-unstructured.h:466
::xsd::cxx::tree::serialization< char > serialization
Exception indicating a serialization failure.
Definition vtk-unstructured.h:573
void operator<<(::xercesc::DOMElement &, const DataArrayList_t &)
::std::unique_ptr<::VTKFile_t > VTKFile(const ::std::string &uri, ::xml_schema::flags f=0, const ::xml_schema::properties &p=::xml_schema::properties())
Parse a URI or a local file.