Molecular Dynamics  v0.4
Project for the Practical hosted by the Scientific Computing Chair
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/exceptions.hxx"
70 #include "xsd/cxx/tree/elements.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/byte.hxx"
79 #include "xsd/cxx/tree/parsing/unsigned-byte.hxx"
80 #include "xsd/cxx/tree/parsing/short.hxx"
81 #include "xsd/cxx/tree/parsing/unsigned-short.hxx"
82 #include "xsd/cxx/tree/parsing/int.hxx"
83 #include "xsd/cxx/tree/parsing/unsigned-int.hxx"
84 #include "xsd/cxx/tree/parsing/long.hxx"
85 #include "xsd/cxx/tree/parsing/unsigned-long.hxx"
86 #include "xsd/cxx/tree/parsing/boolean.hxx"
87 #include "xsd/cxx/tree/parsing/float.hxx"
88 #include "xsd/cxx/tree/parsing/double.hxx"
89 #include "xsd/cxx/tree/parsing/decimal.hxx"
90 
91 #include "xsd/cxx/xml/dom/serialization-header.hxx"
92 #include "xsd/cxx/tree/serialization.hxx"
93 #include "xsd/cxx/tree/serialization/byte.hxx"
94 #include "xsd/cxx/tree/serialization/unsigned-byte.hxx"
95 #include "xsd/cxx/tree/serialization/short.hxx"
96 #include "xsd/cxx/tree/serialization/unsigned-short.hxx"
97 #include "xsd/cxx/tree/serialization/int.hxx"
98 #include "xsd/cxx/tree/serialization/unsigned-int.hxx"
99 #include "xsd/cxx/tree/serialization/long.hxx"
100 #include "xsd/cxx/tree/serialization/unsigned-long.hxx"
101 #include "xsd/cxx/tree/serialization/boolean.hxx"
102 #include "xsd/cxx/tree/serialization/float.hxx"
103 #include "xsd/cxx/tree/serialization/double.hxx"
104 #include "xsd/cxx/tree/serialization/decimal.hxx"
105 
110 namespace xml_schema
111 {
112  // anyType and anySimpleType.
113  //
114 
120 
125  typedef ::xsd::cxx::tree::simple_type< char, type > simple_type;
126 
131 
132 
133  // 8-bit
134  //
135 
140  typedef signed char byte;
141 
146  typedef unsigned char unsigned_byte;
147 
148 
149  // 16-bit
150  //
151 
156  typedef short short_;
157 
162  typedef unsigned short unsigned_short;
163 
164 
165  // 32-bit
166  //
167 
172  typedef int int_;
173 
178  typedef unsigned int unsigned_int;
179 
180 
181  // 64-bit
182  //
183 
188  typedef long long long_;
189 
194  typedef unsigned long long unsigned_long;
195 
196 
197  // Supposed to be arbitrary-length integral types.
198  //
199 
204  typedef long long integer;
205 
210  typedef long long non_positive_integer;
211 
216  typedef unsigned long long non_negative_integer;
217 
222  typedef unsigned long long positive_integer;
223 
228  typedef long long negative_integer;
229 
230 
231  // Boolean.
232  //
233 
238  typedef bool boolean;
239 
240 
241  // Floating-point types.
242  //
243 
248  typedef float float_;
249 
254  typedef double double_;
255 
260  typedef double decimal;
261 
262 
263  // String types.
264  //
265 
270  typedef ::xsd::cxx::tree::string< char, simple_type > string;
271 
276  typedef ::xsd::cxx::tree::normalized_string< char, string > normalized_string;
277 
282  typedef ::xsd::cxx::tree::token< char, normalized_string > token;
283 
288  typedef ::xsd::cxx::tree::name< char, token > name;
289 
294  typedef ::xsd::cxx::tree::nmtoken< char, token > nmtoken;
295 
300  typedef ::xsd::cxx::tree::nmtokens< char, simple_type, nmtoken > nmtokens;
301 
306  typedef ::xsd::cxx::tree::ncname< char, name > ncname;
307 
312  typedef ::xsd::cxx::tree::language< char, token > language;
313 
314 
315  // ID/IDREF.
316  //
317 
322  typedef ::xsd::cxx::tree::id< char, ncname > id;
323 
328  typedef ::xsd::cxx::tree::idref< char, ncname, type > idref;
329 
334  typedef ::xsd::cxx::tree::idrefs< char, simple_type, idref > idrefs;
335 
336 
337  // URI.
338  //
339 
344  typedef ::xsd::cxx::tree::uri< char, simple_type > uri;
345 
346 
347  // Qualified name.
348  //
349 
354  typedef ::xsd::cxx::tree::qname< char, simple_type, uri, ncname > qname;
355 
356 
357  // Binary.
358  //
359 
363  typedef ::xsd::cxx::tree::buffer< char > buffer;
364 
369  typedef ::xsd::cxx::tree::base64_binary< char, simple_type > base64_binary;
370 
375  typedef ::xsd::cxx::tree::hex_binary< char, simple_type > hex_binary;
376 
377 
378  // Date/time.
379  //
380 
385 
390  typedef ::xsd::cxx::tree::date< char, simple_type > date;
391 
396  typedef ::xsd::cxx::tree::date_time< char, simple_type > date_time;
397 
402  typedef ::xsd::cxx::tree::duration< char, simple_type > duration;
403 
408  typedef ::xsd::cxx::tree::gday< char, simple_type > gday;
409 
414  typedef ::xsd::cxx::tree::gmonth< char, simple_type > gmonth;
415 
420  typedef ::xsd::cxx::tree::gmonth_day< char, simple_type > gmonth_day;
421 
426  typedef ::xsd::cxx::tree::gyear< char, simple_type > gyear;
427 
432  typedef ::xsd::cxx::tree::gyear_month< char, simple_type > gyear_month;
433 
438  typedef ::xsd::cxx::tree::time< char, simple_type > time;
439 
440 
441  // Entity.
442  //
443 
448  typedef ::xsd::cxx::tree::entity< char, ncname > entity;
449 
454  typedef ::xsd::cxx::tree::entities< char, simple_type, entity > entities;
455 
456 
457 
462  // Namespace information and list stream. Used in
463  // serialization functions.
464  //
468  typedef ::xsd::cxx::xml::dom::namespace_info< char > namespace_info;
469 
473  typedef ::xsd::cxx::xml::dom::namespace_infomap< char > namespace_infomap;
474 
478  typedef ::xsd::cxx::tree::list_stream< char > list_stream;
479 
483  typedef ::xsd::cxx::tree::as_double< double_ > as_double;
484 
488  typedef ::xsd::cxx::tree::as_decimal< decimal > as_decimal;
489 
494 
495  // Flags and properties.
496  //
497 
502 
506  typedef ::xsd::cxx::tree::properties< char > properties;
507 
508  // Parsing/serialization diagnostics.
509  //
510 
515 
519  typedef ::xsd::cxx::tree::error< char > error;
520 
524  typedef ::xsd::cxx::tree::diagnostics< char > diagnostics;
525 
526  // Exceptions.
527  //
528 
532  typedef ::xsd::cxx::tree::exception< char > exception;
533 
538  typedef ::xsd::cxx::tree::bounds< char > bounds;
539 
544  typedef ::xsd::cxx::tree::duplicate_id< char > duplicate_id;
545 
549  typedef ::xsd::cxx::tree::parsing< char > parsing;
550 
555  typedef ::xsd::cxx::tree::expected_element< char > expected_element;
556 
561  typedef ::xsd::cxx::tree::unexpected_element< char > unexpected_element;
562 
567  typedef ::xsd::cxx::tree::expected_attribute< char > expected_attribute;
568 
573  typedef ::xsd::cxx::tree::unexpected_enumerator< char > unexpected_enumerator;
574 
579  typedef ::xsd::cxx::tree::expected_text_content< char > expected_text_content;
580 
585  typedef ::xsd::cxx::tree::no_prefix_mapping< char > no_prefix_mapping;
586 
590  typedef ::xsd::cxx::tree::serialization< char > serialization;
591 
595  typedef ::xsd::cxx::xml::error_handler< char > error_handler;
596 
600  namespace dom
601  {
605  using ::xsd::cxx::xml::dom::unique_ptr;
606 
607 #ifndef XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA
608 #define XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA
612  const XMLCh* const tree_node_key = ::xsd::cxx::tree::user_data_keys::node;
613 #endif
614  }
615 }
616 
617 // Forward declarations.
618 //
619 class DataArrayList_t;
620 class DataArray_t;
622 class UnstructuredGrid_t;
623 class PolyData_t;
624 class VTKFile_t;
625 class type;
626 class PointData;
627 class CellData;
628 class Points;
629 class Cells;
630 
631 #include <memory> // ::std::unique_ptr
632 #include <limits> // std::numeric_limits
633 #include <algorithm> // std::binary_search
634 #include <utility> // std::move
635 
636 #include "xsd/cxx/xml/char-utf8.hxx"
637 
638 #include "xsd/cxx/tree/exceptions.hxx"
639 #include "xsd/cxx/tree/elements.hxx"
640 #include "xsd/cxx/tree/containers.hxx"
641 #include "xsd/cxx/tree/list.hxx"
642 
643 #include "xsd/cxx/xml/dom/parsing-header.hxx"
644 
653  public ::xsd::cxx::tree::list< ::xml_schema::decimal, char, ::xsd::cxx::tree::schema_type::decimal >
654 {
655  public:
661  DataArrayList_t ();
662 
672 
682  template < typename I >
683  DataArrayList_t (const I& begin, const I& end)
684  : ::xsd::cxx::tree::list< ::xml_schema::decimal, char, ::xsd::cxx::tree::schema_type::decimal > (begin, end, this)
685  {
686  }
687 
696  DataArrayList_t (const ::xercesc::DOMElement& e,
697  ::xml_schema::flags f = 0,
698  ::xml_schema::container* c = 0);
699 
708  DataArrayList_t (const ::xercesc::DOMAttr& a,
709  ::xml_schema::flags f = 0,
710  ::xml_schema::container* c = 0);
711 
722  const ::xercesc::DOMElement* e,
723  ::xml_schema::flags f = 0,
724  ::xml_schema::container* c = 0);
725 
736  ::xml_schema::flags f = 0,
737  ::xml_schema::container* c = 0);
738 
750  virtual DataArrayList_t*
751  _clone (::xml_schema::flags f = 0,
752  ::xml_schema::container* c = 0) const;
753 
757  virtual
758  ~DataArrayList_t ();
759 };
760 
767 {
768  public:
776 
781 
785  typedef ::xsd::cxx::tree::traits< type_type, char > type_traits;
786 
792  const type_type&
793  type () const;
794 
800  type_type&
801  type ();
802 
811  void
812  type (const type_type& x);
813 
822  void
823  type (::std::unique_ptr< type_type > p);
824 
826 
834 
839 
843  typedef ::xsd::cxx::tree::traits< Name_type, char > Name_traits;
844 
850  const Name_type&
851  Name () const;
852 
858  Name_type&
859  Name ();
860 
869  void
870  Name (const Name_type& x);
871 
880  void
881  Name (::std::unique_ptr< Name_type > p);
882 
884 
892 
897 
901  typedef ::xsd::cxx::tree::traits< NumberOfComponents_type, char > NumberOfComponents_traits;
902 
909  NumberOfComponents () const;
910 
918 
927  void
929 
931 
939 
944 
948  typedef ::xsd::cxx::tree::traits< format_type, char > format_traits;
949 
955  const format_type&
956  format () const;
957 
964  static const format_type&
966 
968 
976 
981 
985  typedef ::xsd::cxx::tree::optional< offset_type > offset_optional;
986 
990  typedef ::xsd::cxx::tree::traits< offset_type, char > offset_traits;
991 
998  const offset_optional&
999  offset () const;
1000 
1007  offset ();
1008 
1017  void
1018  offset (const offset_type& x);
1019 
1029  void
1030  offset (const offset_optional& x);
1031 
1033 
1038 
1043  DataArray_t (const type_type&,
1044  const Name_type&,
1045  const NumberOfComponents_type&);
1046 
1051  DataArray_t (const ::DataArrayList_t&,
1052  const type_type&,
1053  const Name_type&,
1054  const NumberOfComponents_type&);
1055 
1064  DataArray_t (const ::xercesc::DOMElement& e,
1065  ::xml_schema::flags f = 0,
1066  ::xml_schema::container* c = 0);
1067 
1077  DataArray_t (const DataArray_t& x,
1078  ::xml_schema::flags f = 0,
1079  ::xml_schema::container* c = 0);
1080 
1092  virtual DataArray_t*
1093  _clone (::xml_schema::flags f = 0,
1094  ::xml_schema::container* c = 0) const;
1095 
1104  DataArray_t&
1105  operator= (const DataArray_t& x);
1106 
1108 
1112  virtual
1113  ~DataArray_t ();
1114 
1115  // Implementation.
1116  //
1117 
1118  //@cond
1119 
1120  protected:
1121  void
1122  parse (::xsd::cxx::xml::dom::parser< char >&,
1123  ::xml_schema::flags);
1124 
1125  protected:
1126  ::xsd::cxx::tree::one< type_type > type_;
1127  ::xsd::cxx::tree::one< Name_type > Name_;
1128  ::xsd::cxx::tree::one< NumberOfComponents_type > NumberOfComponents_;
1129  ::xsd::cxx::tree::one< format_type > format_;
1130  static const format_type format_default_value_;
1131  offset_optional offset_;
1132 
1133  //@endcond
1134 };
1135 
1142 {
1143  public:
1151 
1155  typedef ::PointData PointData_type;
1156 
1160  typedef ::xsd::cxx::tree::traits< PointData_type, char > PointData_traits;
1161 
1167  const PointData_type&
1168  PointData () const;
1169 
1176  PointData ();
1177 
1186  void
1187  PointData (const PointData_type& x);
1188 
1197  void
1198  PointData (::std::unique_ptr< PointData_type > p);
1199 
1201 
1209 
1213  typedef ::CellData CellData_type;
1214 
1218  typedef ::xsd::cxx::tree::traits< CellData_type, char > CellData_traits;
1219 
1225  const CellData_type&
1226  CellData () const;
1227 
1233  CellData_type&
1234  CellData ();
1235 
1244  void
1245  CellData (const CellData_type& x);
1246 
1255  void
1256  CellData (::std::unique_ptr< CellData_type > p);
1257 
1259 
1267 
1271  typedef ::Points Points_type;
1272 
1276  typedef ::xsd::cxx::tree::traits< Points_type, char > Points_traits;
1277 
1283  const Points_type&
1284  Points () const;
1285 
1291  Points_type&
1292  Points ();
1293 
1302  void
1303  Points (const Points_type& x);
1304 
1313  void
1314  Points (::std::unique_ptr< Points_type > p);
1315 
1317 
1325 
1329  typedef ::Cells Cells_type;
1330 
1334  typedef ::xsd::cxx::tree::traits< Cells_type, char > Cells_traits;
1335 
1341  const Cells_type&
1342  Cells () const;
1343 
1349  Cells_type&
1350  Cells ();
1351 
1360  void
1361  Cells (const Cells_type& x);
1362 
1371  void
1372  Cells (::std::unique_ptr< Cells_type > p);
1373 
1375 
1383 
1388 
1392  typedef ::xsd::cxx::tree::traits< NumberOfPoints_type, char > NumberOfPoints_traits;
1393 
1399  const NumberOfPoints_type&
1400  NumberOfPoints () const;
1401 
1408  NumberOfPoints ();
1409 
1418  void
1420 
1422 
1430 
1435 
1439  typedef ::xsd::cxx::tree::traits< NumberOfCells_type, char > NumberOfCells_traits;
1440 
1446  const NumberOfCells_type&
1447  NumberOfCells () const;
1448 
1455  NumberOfCells ();
1456 
1465  void
1466  NumberOfCells (const NumberOfCells_type& x);
1467 
1469 
1474 
1480  const CellData_type&,
1481  const Points_type&,
1482  const Cells_type&,
1483  const NumberOfPoints_type&,
1484  const NumberOfCells_type&);
1485 
1494  PieceUnstructuredGrid_t (::std::unique_ptr< PointData_type >,
1495  ::std::unique_ptr< CellData_type >,
1496  ::std::unique_ptr< Points_type >,
1497  ::std::unique_ptr< Cells_type >,
1498  const NumberOfPoints_type&,
1499  const NumberOfCells_type&);
1500 
1509  PieceUnstructuredGrid_t (const ::xercesc::DOMElement& e,
1510  ::xml_schema::flags f = 0,
1511  ::xml_schema::container* c = 0);
1512 
1523  ::xml_schema::flags f = 0,
1524  ::xml_schema::container* c = 0);
1525 
1537  virtual PieceUnstructuredGrid_t*
1538  _clone (::xml_schema::flags f = 0,
1539  ::xml_schema::container* c = 0) const;
1540 
1551 
1553 
1557  virtual
1559 
1560  // Implementation.
1561  //
1562 
1563  //@cond
1564 
1565  protected:
1566  void
1567  parse (::xsd::cxx::xml::dom::parser< char >&,
1568  ::xml_schema::flags);
1569 
1570  protected:
1571  ::xsd::cxx::tree::one< PointData_type > PointData_;
1572  ::xsd::cxx::tree::one< CellData_type > CellData_;
1573  ::xsd::cxx::tree::one< Points_type > Points_;
1574  ::xsd::cxx::tree::one< Cells_type > Cells_;
1575  ::xsd::cxx::tree::one< NumberOfPoints_type > NumberOfPoints_;
1576  ::xsd::cxx::tree::one< NumberOfCells_type > NumberOfCells_;
1577 
1578  //@endcond
1579 };
1580 
1587 {
1588  public:
1596 
1600  typedef ::PieceUnstructuredGrid_t Piece_type;
1601 
1605  typedef ::xsd::cxx::tree::traits< Piece_type, char > Piece_traits;
1606 
1612  const Piece_type&
1613  Piece () const;
1614 
1620  Piece_type&
1621  Piece ();
1622 
1631  void
1632  Piece (const Piece_type& x);
1633 
1642  void
1643  Piece (::std::unique_ptr< Piece_type > p);
1644 
1646 
1651 
1656  UnstructuredGrid_t (const Piece_type&);
1657 
1666  UnstructuredGrid_t (::std::unique_ptr< Piece_type >);
1667 
1676  UnstructuredGrid_t (const ::xercesc::DOMElement& e,
1677  ::xml_schema::flags f = 0,
1678  ::xml_schema::container* c = 0);
1679 
1690  ::xml_schema::flags f = 0,
1691  ::xml_schema::container* c = 0);
1692 
1704  virtual UnstructuredGrid_t*
1705  _clone (::xml_schema::flags f = 0,
1706  ::xml_schema::container* c = 0) const;
1707 
1717  operator= (const UnstructuredGrid_t& x);
1718 
1720 
1724  virtual
1726 
1727  // Implementation.
1728  //
1729 
1730  //@cond
1731 
1732  protected:
1733  void
1734  parse (::xsd::cxx::xml::dom::parser< char >&,
1735  ::xml_schema::flags);
1736 
1737  protected:
1738  ::xsd::cxx::tree::one< Piece_type > Piece_;
1739 
1740  //@endcond
1741 };
1742 
1749 {
1750  public:
1758 
1763 
1767  typedef ::xsd::cxx::tree::traits< greeting_type, char > greeting_traits;
1768 
1774  const greeting_type&
1775  greeting () const;
1776 
1782  greeting_type&
1783  greeting ();
1784 
1793  void
1794  greeting (const greeting_type& x);
1795 
1804  void
1805  greeting (::std::unique_ptr< greeting_type > p);
1806 
1808 
1813 
1818  PolyData_t (const greeting_type&);
1819 
1828  PolyData_t (const ::xercesc::DOMElement& e,
1829  ::xml_schema::flags f = 0,
1830  ::xml_schema::container* c = 0);
1831 
1841  PolyData_t (const PolyData_t& x,
1842  ::xml_schema::flags f = 0,
1843  ::xml_schema::container* c = 0);
1844 
1856  virtual PolyData_t*
1857  _clone (::xml_schema::flags f = 0,
1858  ::xml_schema::container* c = 0) const;
1859 
1868  PolyData_t&
1869  operator= (const PolyData_t& x);
1870 
1872 
1876  virtual
1877  ~PolyData_t ();
1878 
1879  // Implementation.
1880  //
1881 
1882  //@cond
1883 
1884  protected:
1885  void
1886  parse (::xsd::cxx::xml::dom::parser< char >&,
1887  ::xml_schema::flags);
1888 
1889  protected:
1890  ::xsd::cxx::tree::one< greeting_type > greeting_;
1891 
1892  //@endcond
1893 };
1894 
1904 {
1905  public:
1913 
1917  typedef ::UnstructuredGrid_t UnstructuredGrid_type;
1918 
1922  typedef ::xsd::cxx::tree::optional< UnstructuredGrid_type > UnstructuredGrid_optional;
1923 
1927  typedef ::xsd::cxx::tree::traits< UnstructuredGrid_type, char > UnstructuredGrid_traits;
1928 
1936  UnstructuredGrid () const;
1937 
1944  UnstructuredGrid ();
1945 
1954  void
1956 
1966  void
1968 
1977  void
1978  UnstructuredGrid (::std::unique_ptr< UnstructuredGrid_type > p);
1979 
1981 
1989 
1993  typedef ::PolyData_t PolyData_type;
1994 
1998  typedef ::xsd::cxx::tree::optional< PolyData_type > PolyData_optional;
1999 
2003  typedef ::xsd::cxx::tree::traits< PolyData_type, char > PolyData_traits;
2004 
2011  const PolyData_optional&
2012  PolyData () const;
2013 
2020  PolyData ();
2021 
2030  void
2031  PolyData (const PolyData_type& x);
2032 
2042  void
2043  PolyData (const PolyData_optional& x);
2044 
2053  void
2054  PolyData (::std::unique_ptr< PolyData_type > p);
2055 
2057 
2065 
2070 
2074  typedef ::xsd::cxx::tree::traits< type_type, char > type_traits;
2075 
2081  const type_type&
2082  type () const;
2083 
2089  type_type&
2090  type ();
2091 
2100  void
2101  type (const type_type& x);
2102 
2111  void
2112  type (::std::unique_ptr< type_type > p);
2113 
2115 
2123 
2128 
2132  typedef ::xsd::cxx::tree::traits< version_type, char > version_traits;
2133 
2139  const version_type&
2140  version () const;
2141 
2148  static const version_type&
2150 
2152 
2160 
2165 
2169  typedef ::xsd::cxx::tree::traits< byte_order_type, char > byte_order_traits;
2170 
2176  const byte_order_type&
2177  byte_order () const;
2178 
2185  static const byte_order_type&
2187 
2189 
2194 
2199  VTKFile_t (const type_type&);
2200 
2209  VTKFile_t (const ::xercesc::DOMElement& e,
2210  ::xml_schema::flags f = 0,
2211  ::xml_schema::container* c = 0);
2212 
2222  VTKFile_t (const VTKFile_t& x,
2223  ::xml_schema::flags f = 0,
2224  ::xml_schema::container* c = 0);
2225 
2237  virtual VTKFile_t*
2238  _clone (::xml_schema::flags f = 0,
2239  ::xml_schema::container* c = 0) const;
2240 
2249  VTKFile_t&
2250  operator= (const VTKFile_t& x);
2251 
2253 
2257  virtual
2258  ~VTKFile_t ();
2259 
2260  // Implementation.
2261  //
2262 
2263  //@cond
2264 
2265  protected:
2266  void
2267  parse (::xsd::cxx::xml::dom::parser< char >&,
2268  ::xml_schema::flags);
2269 
2270  protected:
2271  UnstructuredGrid_optional UnstructuredGrid_;
2272  PolyData_optional PolyData_;
2273  ::xsd::cxx::tree::one< type_type > type_;
2274  ::xsd::cxx::tree::one< version_type > version_;
2275  static const version_type version_default_value_;
2276  ::xsd::cxx::tree::one< byte_order_type > byte_order_;
2277  static const byte_order_type byte_order_default_value_;
2278 
2279  //@endcond
2280 };
2281 
2287 {
2288  public:
2289 
2293  enum value
2294  {
2304  Float64
2305  };
2306 
2312  type (value v);
2313 
2319  type (const char* v);
2320 
2327 
2334 
2343  type (const ::xercesc::DOMElement& e,
2344  ::xml_schema::flags f = 0,
2345  ::xml_schema::container* c = 0);
2346 
2355  type (const ::xercesc::DOMAttr& a,
2356  ::xml_schema::flags f = 0,
2357  ::xml_schema::container* c = 0);
2358 
2369  const ::xercesc::DOMElement* e,
2370  ::xml_schema::flags f = 0,
2371  ::xml_schema::container* c = 0);
2372 
2382  type (const type& x,
2383  ::xml_schema::flags f = 0,
2384  ::xml_schema::container* c = 0);
2385 
2397  virtual type*
2398  _clone (::xml_schema::flags f = 0,
2399  ::xml_schema::container* c = 0) const;
2400 
2407  type&
2408  operator= (value v);
2409 
2416  virtual
2417  operator value () const
2418  {
2419  return _xsd_type_convert ();
2420  }
2421 
2422  //@cond
2423 
2424  protected:
2425  value
2426  _xsd_type_convert () const;
2427 
2428  public:
2429  static const char* const _xsd_type_literals_[10];
2430  static const value _xsd_type_indexes_[10];
2431 
2432  //@endcond
2433 };
2434 
2441 {
2442  public:
2450 
2454  typedef ::DataArray_t DataArray_type;
2455 
2459  typedef ::xsd::cxx::tree::sequence< DataArray_type > DataArray_sequence;
2460 
2464  typedef DataArray_sequence::iterator DataArray_iterator;
2465 
2469  typedef DataArray_sequence::const_iterator DataArray_const_iterator;
2470 
2474  typedef ::xsd::cxx::tree::traits< DataArray_type, char > DataArray_traits;
2475 
2482  const DataArray_sequence&
2483  DataArray () const;
2484 
2491  DataArray ();
2492 
2502  void
2503  DataArray (const DataArray_sequence& s);
2504 
2506 
2511 
2516  PointData ();
2517 
2526  PointData (const ::xercesc::DOMElement& e,
2527  ::xml_schema::flags f = 0,
2528  ::xml_schema::container* c = 0);
2529 
2539  PointData (const PointData& x,
2540  ::xml_schema::flags f = 0,
2541  ::xml_schema::container* c = 0);
2542 
2554  virtual PointData*
2555  _clone (::xml_schema::flags f = 0,
2556  ::xml_schema::container* c = 0) const;
2557 
2566  PointData&
2567  operator= (const PointData& x);
2568 
2570 
2574  virtual
2575  ~PointData ();
2576 
2577  // Implementation.
2578  //
2579 
2580  //@cond
2581 
2582  protected:
2583  void
2584  parse (::xsd::cxx::xml::dom::parser< char >&,
2585  ::xml_schema::flags);
2586 
2587  protected:
2588  DataArray_sequence DataArray_;
2589 
2590  //@endcond
2591 };
2592 
2599 {
2600  public:
2608 
2612  typedef ::DataArray_t DataArray_type;
2613 
2617  typedef ::xsd::cxx::tree::sequence< DataArray_type > DataArray_sequence;
2618 
2622  typedef DataArray_sequence::iterator DataArray_iterator;
2623 
2627  typedef DataArray_sequence::const_iterator DataArray_const_iterator;
2628 
2632  typedef ::xsd::cxx::tree::traits< DataArray_type, char > DataArray_traits;
2633 
2640  const DataArray_sequence&
2641  DataArray () const;
2642 
2649  DataArray ();
2650 
2660  void
2661  DataArray (const DataArray_sequence& s);
2662 
2664 
2669 
2674  CellData ();
2675 
2684  CellData (const ::xercesc::DOMElement& e,
2685  ::xml_schema::flags f = 0,
2686  ::xml_schema::container* c = 0);
2687 
2697  CellData (const CellData& x,
2698  ::xml_schema::flags f = 0,
2699  ::xml_schema::container* c = 0);
2700 
2712  virtual CellData*
2713  _clone (::xml_schema::flags f = 0,
2714  ::xml_schema::container* c = 0) const;
2715 
2724  CellData&
2725  operator= (const CellData& x);
2726 
2728 
2732  virtual
2733  ~CellData ();
2734 
2735  // Implementation.
2736  //
2737 
2738  //@cond
2739 
2740  protected:
2741  void
2742  parse (::xsd::cxx::xml::dom::parser< char >&,
2743  ::xml_schema::flags);
2744 
2745  protected:
2746  DataArray_sequence DataArray_;
2747 
2748  //@endcond
2749 };
2750 
2757 {
2758  public:
2766 
2770  typedef ::DataArray_t DataArray_type;
2771 
2775  typedef ::xsd::cxx::tree::sequence< DataArray_type > DataArray_sequence;
2776 
2780  typedef DataArray_sequence::iterator DataArray_iterator;
2781 
2785  typedef DataArray_sequence::const_iterator DataArray_const_iterator;
2786 
2790  typedef ::xsd::cxx::tree::traits< DataArray_type, char > DataArray_traits;
2791 
2798  const DataArray_sequence&
2799  DataArray () const;
2800 
2807  DataArray ();
2808 
2818  void
2819  DataArray (const DataArray_sequence& s);
2820 
2822 
2827 
2832  Points ();
2833 
2842  Points (const ::xercesc::DOMElement& e,
2843  ::xml_schema::flags f = 0,
2844  ::xml_schema::container* c = 0);
2845 
2855  Points (const Points& x,
2856  ::xml_schema::flags f = 0,
2857  ::xml_schema::container* c = 0);
2858 
2870  virtual Points*
2871  _clone (::xml_schema::flags f = 0,
2872  ::xml_schema::container* c = 0) const;
2873 
2882  Points&
2883  operator= (const Points& x);
2884 
2886 
2890  virtual
2891  ~Points ();
2892 
2893  // Implementation.
2894  //
2895 
2896  //@cond
2897 
2898  protected:
2899  void
2900  parse (::xsd::cxx::xml::dom::parser< char >&,
2901  ::xml_schema::flags);
2902 
2903  protected:
2904  DataArray_sequence DataArray_;
2905 
2906  //@endcond
2907 };
2908 
2915 {
2916  public:
2924 
2928  typedef ::DataArray_t DataArray_type;
2929 
2933  typedef ::xsd::cxx::tree::sequence< DataArray_type > DataArray_sequence;
2934 
2938  typedef DataArray_sequence::iterator DataArray_iterator;
2939 
2943  typedef DataArray_sequence::const_iterator DataArray_const_iterator;
2944 
2948  typedef ::xsd::cxx::tree::traits< DataArray_type, char > DataArray_traits;
2949 
2956  const DataArray_sequence&
2957  DataArray () const;
2958 
2965  DataArray ();
2966 
2976  void
2977  DataArray (const DataArray_sequence& s);
2978 
2980 
2985 
2990  Cells ();
2991 
3000  Cells (const ::xercesc::DOMElement& e,
3001  ::xml_schema::flags f = 0,
3002  ::xml_schema::container* c = 0);
3003 
3013  Cells (const Cells& x,
3014  ::xml_schema::flags f = 0,
3015  ::xml_schema::container* c = 0);
3016 
3028  virtual Cells*
3029  _clone (::xml_schema::flags f = 0,
3030  ::xml_schema::container* c = 0) const;
3031 
3040  Cells&
3041  operator= (const Cells& x);
3042 
3044 
3048  virtual
3049  ~Cells ();
3050 
3051  // Implementation.
3052  //
3053 
3054  //@cond
3055 
3056  protected:
3057  void
3058  parse (::xsd::cxx::xml::dom::parser< char >&,
3059  ::xml_schema::flags);
3060 
3061  protected:
3062  DataArray_sequence DataArray_;
3063 
3064  //@endcond
3065 };
3066 
3067 #include <iosfwd>
3068 
3069 #include <xercesc/sax/InputSource.hpp>
3070 #include <xercesc/dom/DOMDocument.hpp>
3071 #include <xercesc/dom/DOMErrorHandler.hpp>
3072 
3080 
3091 ::std::unique_ptr< ::VTKFile_t >
3093  ::xml_schema::flags f = 0,
3095 
3107 ::std::unique_ptr< ::VTKFile_t >
3110  ::xml_schema::flags f = 0,
3112 
3125 ::std::unique_ptr< ::VTKFile_t >
3127  ::xercesc::DOMErrorHandler& eh,
3128  ::xml_schema::flags f = 0,
3130 
3141 ::std::unique_ptr< ::VTKFile_t >
3142 VTKFile (::std::istream& is,
3143  ::xml_schema::flags f = 0,
3145 
3157 ::std::unique_ptr< ::VTKFile_t >
3158 VTKFile (::std::istream& is,
3160  ::xml_schema::flags f = 0,
3162 
3175 ::std::unique_ptr< ::VTKFile_t >
3176 VTKFile (::std::istream& is,
3177  ::xercesc::DOMErrorHandler& eh,
3178  ::xml_schema::flags f = 0,
3180 
3195 ::std::unique_ptr< ::VTKFile_t >
3196 VTKFile (::std::istream& is,
3197  const ::std::string& id,
3198  ::xml_schema::flags f = 0,
3200 
3217 ::std::unique_ptr< ::VTKFile_t >
3218 VTKFile (::std::istream& is,
3219  const ::std::string& id,
3221  ::xml_schema::flags f = 0,
3223 
3240 ::std::unique_ptr< ::VTKFile_t >
3241 VTKFile (::std::istream& is,
3242  const ::std::string& id,
3243  ::xercesc::DOMErrorHandler& eh,
3244  ::xml_schema::flags f = 0,
3246 
3257 ::std::unique_ptr< ::VTKFile_t >
3258 VTKFile (::xercesc::InputSource& is,
3259  ::xml_schema::flags f = 0,
3261 
3273 ::std::unique_ptr< ::VTKFile_t >
3274 VTKFile (::xercesc::InputSource& is,
3276  ::xml_schema::flags f = 0,
3278 
3291 ::std::unique_ptr< ::VTKFile_t >
3292 VTKFile (::xercesc::InputSource& is,
3293  ::xercesc::DOMErrorHandler& eh,
3294  ::xml_schema::flags f = 0,
3296 
3305 ::std::unique_ptr< ::VTKFile_t >
3306 VTKFile (const ::xercesc::DOMDocument& d,
3307  ::xml_schema::flags f = 0,
3309 
3322 ::std::unique_ptr< ::VTKFile_t >
3323 VTKFile (::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d,
3324  ::xml_schema::flags f = 0,
3326 
3328 
3329 #include <iosfwd>
3330 
3331 #include <xercesc/dom/DOMDocument.hpp>
3332 #include <xercesc/dom/DOMErrorHandler.hpp>
3333 #include <xercesc/framework/XMLFormatter.hpp>
3334 
3335 #include "xsd/cxx/xml/dom/auto-ptr.hxx"
3336 
3337 void
3338 operator<< (::xercesc::DOMElement&, const DataArrayList_t&);
3339 
3340 void
3341 operator<< (::xercesc::DOMAttr&, const DataArrayList_t&);
3342 
3343 void
3345  const DataArrayList_t&);
3346 
3347 void
3348 operator<< (::xercesc::DOMElement&, const DataArray_t&);
3349 
3350 void
3351 operator<< (::xercesc::DOMElement&, const PieceUnstructuredGrid_t&);
3352 
3353 void
3354 operator<< (::xercesc::DOMElement&, const UnstructuredGrid_t&);
3355 
3356 void
3357 operator<< (::xercesc::DOMElement&, const PolyData_t&);
3358 
3359 void
3360 operator<< (::xercesc::DOMElement&, const VTKFile_t&);
3361 
3369 
3381 void
3382 VTKFile (::std::ostream& os,
3383  const ::VTKFile_t& x,
3385  const ::std::string& e = "UTF-8",
3386  ::xml_schema::flags f = 0);
3387 
3401 void
3402 VTKFile (::std::ostream& os,
3403  const ::VTKFile_t& x,
3406  const ::std::string& e = "UTF-8",
3407  ::xml_schema::flags f = 0);
3408 
3423 void
3424 VTKFile (::std::ostream& os,
3425  const ::VTKFile_t& x,
3426  ::xercesc::DOMErrorHandler& eh,
3428  const ::std::string& e = "UTF-8",
3429  ::xml_schema::flags f = 0);
3430 
3442 void
3443 VTKFile (::xercesc::XMLFormatTarget& ft,
3444  const ::VTKFile_t& x,
3446  const ::std::string& e = "UTF-8",
3447  ::xml_schema::flags f = 0);
3448 
3463 void
3464 VTKFile (::xercesc::XMLFormatTarget& ft,
3465  const ::VTKFile_t& x,
3468  const ::std::string& e = "UTF-8",
3469  ::xml_schema::flags f = 0);
3470 
3485 void
3486 VTKFile (::xercesc::XMLFormatTarget& ft,
3487  const ::VTKFile_t& x,
3488  ::xercesc::DOMErrorHandler& eh,
3490  const ::std::string& e = "UTF-8",
3491  ::xml_schema::flags f = 0);
3492 
3504 void
3505 VTKFile (::xercesc::DOMDocument& d,
3506  const ::VTKFile_t& x,
3507  ::xml_schema::flags f = 0);
3508 
3517 ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument >
3518 VTKFile (const ::VTKFile_t& x,
3520  ::xml_schema::flags f = 0);
3521 
3523 
3524 void
3525 operator<< (::xercesc::DOMElement&, const type&);
3526 
3527 void
3528 operator<< (::xercesc::DOMAttr&, const type&);
3529 
3530 void
3532  const type&);
3533 
3534 void
3535 operator<< (::xercesc::DOMElement&, const PointData&);
3536 
3537 void
3538 operator<< (::xercesc::DOMElement&, const CellData&);
3539 
3540 void
3541 operator<< (::xercesc::DOMElement&, const Points&);
3542 
3543 void
3544 operator<< (::xercesc::DOMElement&, const Cells&);
3545 
3546 #include "xsd/cxx/post.hxx"
3547 
3548 // Begin epilogue.
3549 //
3550 //
3551 // End epilogue.
3552 
3553 #endif // VTK_UNSTRUCTURED_H
Class corresponding to the CellData schema type.
Definition: vtk-unstructured.h:2599
::xsd::cxx::tree::traits< DataArray_type, char > DataArray_traits
Element traits type.
Definition: vtk-unstructured.h:2632
virtual CellData * _clone(::xml_schema::flags f=0, ::xml_schema::container *c=0) const
Copy the instance polymorphically.
Definition: vtk-unstructured.cpp:1626
CellData()
Create an instance from the ultimate base and initializers for required elements and attributes.
Definition: vtk-unstructured.cpp:1571
::DataArray_t DataArray_type
Element type.
Definition: vtk-unstructured.h:2612
CellData & operator=(const CellData &x)
Copy assignment operator.
Definition: vtk-unstructured.cpp:1633
::xsd::cxx::tree::sequence< DataArray_type > DataArray_sequence
Element sequence container type.
Definition: vtk-unstructured.h:2617
DataArray_sequence::const_iterator DataArray_const_iterator
Element constant iterator type.
Definition: vtk-unstructured.h:2627
virtual ~CellData()
Destructor.
Definition: vtk-unstructured.cpp:1645
DataArray_sequence::iterator DataArray_iterator
Element iterator type.
Definition: vtk-unstructured.h:2622
const DataArray_sequence & DataArray() const
Return a read-only (constant) reference to the element sequence.
Definition: vtk-unstructured.cpp:548
Class corresponding to the Cells schema type.
Definition: vtk-unstructured.h:2915
const DataArray_sequence & DataArray() const
Return a read-only (constant) reference to the element sequence.
Definition: vtk-unstructured.cpp:592
Cells()
Create an instance from the ultimate base and initializers for required elements and attributes.
Definition: vtk-unstructured.cpp:1735
DataArray_sequence::iterator DataArray_iterator
Element iterator type.
Definition: vtk-unstructured.h:2938
Cells & operator=(const Cells &x)
Copy assignment operator.
Definition: vtk-unstructured.cpp:1797
virtual ~Cells()
Destructor.
Definition: vtk-unstructured.cpp:1809
::xsd::cxx::tree::traits< DataArray_type, char > DataArray_traits
Element traits type.
Definition: vtk-unstructured.h:2948
DataArray_sequence::const_iterator DataArray_const_iterator
Element constant iterator type.
Definition: vtk-unstructured.h:2943
::DataArray_t DataArray_type
Element type.
Definition: vtk-unstructured.h:2928
::xsd::cxx::tree::sequence< DataArray_type > DataArray_sequence
Element sequence container type.
Definition: vtk-unstructured.h:2933
virtual Cells * _clone(::xml_schema::flags f=0, ::xml_schema::container *c=0) const
Copy the instance polymorphically.
Definition: vtk-unstructured.cpp:1790
Class corresponding to the DataArray_t schema type.
Definition: vtk-unstructured.h:767
DataArray_t(const type_type &, const Name_type &, const NumberOfComponents_type &)
Create an instance from initializers for required elements and attributes.
Definition: vtk-unstructured.cpp:662
::xsd::cxx::tree::traits< NumberOfComponents_type, char > NumberOfComponents_traits
Attribute traits type.
Definition: vtk-unstructured.h:901
const type_type & type() const
Return a read-only (constant) reference to the attribute.
Definition: vtk-unstructured.cpp:71
::xsd::cxx::tree::traits< format_type, char > format_traits
Attribute traits type.
Definition: vtk-unstructured.h:948
::xsd::cxx::tree::traits< offset_type, char > offset_traits
Attribute traits type.
Definition: vtk-unstructured.h:990
::xsd::cxx::tree::traits< Name_type, char > Name_traits
Attribute traits type.
Definition: vtk-unstructured.h:843
::type type_type
Attribute type.
Definition: vtk-unstructured.h:780
::xsd::cxx::tree::optional< offset_type > offset_optional
Attribute optional container type.
Definition: vtk-unstructured.h:985
const format_type & format() const
Return a read-only (constant) reference to the attribute.
Definition: vtk-unstructured.cpp:137
const NumberOfComponents_type & NumberOfComponents() const
Return a read-only (constant) reference to the attribute.
Definition: vtk-unstructured.cpp:119
virtual DataArray_t * _clone(::xml_schema::flags f=0, ::xml_schema::container *c=0) const
Copy the instance polymorphically.
Definition: vtk-unstructured.cpp:788
const offset_optional & offset() const
Return a read-only (constant) reference to the attribute container.
Definition: vtk-unstructured.cpp:149
::xml_schema::integer offset_type
Attribute type.
Definition: vtk-unstructured.h:980
::xml_schema::integer NumberOfComponents_type
Attribute type.
Definition: vtk-unstructured.h:896
virtual ~DataArray_t()
Destructor.
Definition: vtk-unstructured.cpp:811
DataArray_t & operator=(const DataArray_t &x)
Copy assignment operator.
Definition: vtk-unstructured.cpp:795
static const format_type & format_default_value()
Return the default value for the attribute.
Definition: vtk-unstructured.cpp:143
::xml_schema::string format_type
Attribute type.
Definition: vtk-unstructured.h:943
const Name_type & Name() const
Return a read-only (constant) reference to the attribute.
Definition: vtk-unstructured.cpp:95
::xsd::cxx::tree::traits< type_type, char > type_traits
Attribute traits type.
Definition: vtk-unstructured.h:785
::xml_schema::string Name_type
Attribute type.
Definition: vtk-unstructured.h:838
List class corresponding to the DataArrayList_t schema type.
Definition: vtk-unstructured.h:654
DataArrayList_t()
Default constructor.
Definition: vtk-unstructured.cpp:47
DataArrayList_t(const I &begin, const I &end)
Create a list from an iterator range.
Definition: vtk-unstructured.h:683
virtual DataArrayList_t * _clone(::xml_schema::flags f=0, ::xml_schema::container *c=0) const
Copy the instance polymorphically.
Definition: vtk-unstructured.cpp:644
virtual ~DataArrayList_t()
Destructor.
Definition: vtk-unstructured.cpp:651
Class corresponding to the PieceUnstructuredGrid_t schema type.
Definition: vtk-unstructured.h:1142
::xsd::cxx::tree::traits< CellData_type, char > CellData_traits
Element traits type.
Definition: vtk-unstructured.h:1218
virtual PieceUnstructuredGrid_t * _clone(::xml_schema::flags f=0, ::xml_schema::container *c=0) const
Copy the instance polymorphically.
Definition: vtk-unstructured.cpp:1017
::xsd::cxx::tree::traits< Cells_type, char > Cells_traits
Element traits type.
Definition: vtk-unstructured.h:1334
::CellData CellData_type
Element type.
Definition: vtk-unstructured.h:1213
const NumberOfCells_type & NumberOfCells() const
Return a read-only (constant) reference to the attribute.
Definition: vtk-unstructured.cpp:291
::PointData PointData_type
Element type.
Definition: vtk-unstructured.h:1155
::Points Points_type
Element type.
Definition: vtk-unstructured.h:1271
::xsd::cxx::tree::traits< NumberOfCells_type, char > NumberOfCells_traits
Attribute traits type.
Definition: vtk-unstructured.h:1439
const PointData_type & PointData() const
Return a read-only (constant) reference to the element.
Definition: vtk-unstructured.cpp:177
::xml_schema::integer NumberOfPoints_type
Attribute type.
Definition: vtk-unstructured.h:1387
const NumberOfPoints_type & NumberOfPoints() const
Return a read-only (constant) reference to the attribute.
Definition: vtk-unstructured.cpp:273
virtual ~PieceUnstructuredGrid_t()
Destructor.
Definition: vtk-unstructured.cpp:1041
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.
Definition: vtk-unstructured.cpp:819
const Points_type & Points() const
Return a read-only (constant) reference to the element.
Definition: vtk-unstructured.cpp:225
::xsd::cxx::tree::traits< Points_type, char > Points_traits
Element traits type.
Definition: vtk-unstructured.h:1276
PieceUnstructuredGrid_t & operator=(const PieceUnstructuredGrid_t &x)
Copy assignment operator.
Definition: vtk-unstructured.cpp:1024
::Cells Cells_type
Element type.
Definition: vtk-unstructured.h:1329
::xsd::cxx::tree::traits< NumberOfPoints_type, char > NumberOfPoints_traits
Attribute traits type.
Definition: vtk-unstructured.h:1392
const CellData_type & CellData() const
Return a read-only (constant) reference to the element.
Definition: vtk-unstructured.cpp:201
const Cells_type & Cells() const
Return a read-only (constant) reference to the element.
Definition: vtk-unstructured.cpp:249
::xml_schema::integer NumberOfCells_type
Attribute type.
Definition: vtk-unstructured.h:1434
::xsd::cxx::tree::traits< PointData_type, char > PointData_traits
Element traits type.
Definition: vtk-unstructured.h:1160
Class corresponding to the PointData schema type.
Definition: vtk-unstructured.h:2441
const DataArray_sequence & DataArray() const
Return a read-only (constant) reference to the element sequence.
Definition: vtk-unstructured.cpp:526
::DataArray_t DataArray_type
Element type.
Definition: vtk-unstructured.h:2454
virtual PointData * _clone(::xml_schema::flags f=0, ::xml_schema::container *c=0) const
Copy the instance polymorphically.
Definition: vtk-unstructured.cpp:1544
PointData & operator=(const PointData &x)
Copy assignment operator.
Definition: vtk-unstructured.cpp:1551
virtual ~PointData()
Destructor.
Definition: vtk-unstructured.cpp:1563
DataArray_sequence::const_iterator DataArray_const_iterator
Element constant iterator type.
Definition: vtk-unstructured.h:2469
::xsd::cxx::tree::sequence< DataArray_type > DataArray_sequence
Element sequence container type.
Definition: vtk-unstructured.h:2459
PointData()
Create an instance from the ultimate base and initializers for required elements and attributes.
Definition: vtk-unstructured.cpp:1489
::xsd::cxx::tree::traits< DataArray_type, char > DataArray_traits
Element traits type.
Definition: vtk-unstructured.h:2474
DataArray_sequence::iterator DataArray_iterator
Element iterator type.
Definition: vtk-unstructured.h:2464
Class corresponding to the Points schema type.
Definition: vtk-unstructured.h:2757
const DataArray_sequence & DataArray() const
Return a read-only (constant) reference to the element sequence.
Definition: vtk-unstructured.cpp:570
virtual Points * _clone(::xml_schema::flags f=0, ::xml_schema::container *c=0) const
Copy the instance polymorphically.
Definition: vtk-unstructured.cpp:1708
::DataArray_t DataArray_type
Element type.
Definition: vtk-unstructured.h:2770
DataArray_sequence::const_iterator DataArray_const_iterator
Element constant iterator type.
Definition: vtk-unstructured.h:2785
::xsd::cxx::tree::traits< DataArray_type, char > DataArray_traits
Element traits type.
Definition: vtk-unstructured.h:2790
virtual ~Points()
Destructor.
Definition: vtk-unstructured.cpp:1727
Points()
Create an instance from the ultimate base and initializers for required elements and attributes.
Definition: vtk-unstructured.cpp:1653
Points & operator=(const Points &x)
Copy assignment operator.
Definition: vtk-unstructured.cpp:1715
DataArray_sequence::iterator DataArray_iterator
Element iterator type.
Definition: vtk-unstructured.h:2780
::xsd::cxx::tree::sequence< DataArray_type > DataArray_sequence
Element sequence container type.
Definition: vtk-unstructured.h:2775
Class corresponding to the PolyData_t schema type.
Definition: vtk-unstructured.h:1749
::xsd::cxx::tree::traits< greeting_type, char > greeting_traits
Element traits type.
Definition: vtk-unstructured.h:1767
virtual PolyData_t * _clone(::xml_schema::flags f=0, ::xml_schema::container *c=0) const
Copy the instance polymorphically.
Definition: vtk-unstructured.cpp:1213
PolyData_t(const greeting_type &)
Create an instance from the ultimate base and initializers for required elements and attributes.
Definition: vtk-unstructured.cpp:1148
PolyData_t & operator=(const PolyData_t &x)
Copy assignment operator.
Definition: vtk-unstructured.cpp:1220
const greeting_type & greeting() const
Return a read-only (constant) reference to the element.
Definition: vtk-unstructured.cpp:341
::xml_schema::string greeting_type
Element type.
Definition: vtk-unstructured.h:1762
virtual ~PolyData_t()
Destructor.
Definition: vtk-unstructured.cpp:1232
Class corresponding to the UnstructuredGrid_t schema type.
Definition: vtk-unstructured.h:1587
UnstructuredGrid_t(const Piece_type &)
Create an instance from the ultimate base and initializers for required elements and attributes.
Definition: vtk-unstructured.cpp:1049
const Piece_type & Piece() const
Return a read-only (constant) reference to the element.
Definition: vtk-unstructured.cpp:313
virtual UnstructuredGrid_t * _clone(::xml_schema::flags f=0, ::xml_schema::container *c=0) const
Copy the instance polymorphically.
Definition: vtk-unstructured.cpp:1121
::PieceUnstructuredGrid_t Piece_type
Element type.
Definition: vtk-unstructured.h:1600
virtual ~UnstructuredGrid_t()
Destructor.
Definition: vtk-unstructured.cpp:1140
::xsd::cxx::tree::traits< Piece_type, char > Piece_traits
Element traits type.
Definition: vtk-unstructured.h:1605
UnstructuredGrid_t & operator=(const UnstructuredGrid_t &x)
Copy assignment operator.
Definition: vtk-unstructured.cpp:1128
Class corresponding to the VTKFile_t schema type.
Definition: vtk-unstructured.h:1904
::xsd::cxx::tree::traits< UnstructuredGrid_type, char > UnstructuredGrid_traits
Element traits type.
Definition: vtk-unstructured.h:1927
static const version_type & version_default_value()
Return the default value for the attribute.
Definition: vtk-unstructured.cpp:459
VTKFile_t & operator=(const VTKFile_t &x)
Copy assignment operator.
Definition: vtk-unstructured.cpp:1379
const UnstructuredGrid_optional & UnstructuredGrid() const
Return a read-only (constant) reference to the element container.
Definition: vtk-unstructured.cpp:369
const byte_order_type & byte_order() const
Return a read-only (constant) reference to the attribute.
Definition: vtk-unstructured.cpp:465
::UnstructuredGrid_t UnstructuredGrid_type
Element type.
Definition: vtk-unstructured.h:1917
const version_type & version() const
Return a read-only (constant) reference to the attribute.
Definition: vtk-unstructured.cpp:453
static const byte_order_type & byte_order_default_value()
Return the default value for the attribute.
Definition: vtk-unstructured.cpp:471
::PolyData_t PolyData_type
Element type.
Definition: vtk-unstructured.h:1993
::xsd::cxx::tree::traits< version_type, char > version_traits
Attribute traits type.
Definition: vtk-unstructured.h:2132
const type_type & type() const
Return a read-only (constant) reference to the attribute.
Definition: vtk-unstructured.cpp:429
VTKFile_t(const type_type &)
Create an instance from the ultimate base and initializers for required elements and attributes.
Definition: vtk-unstructured.cpp:1246
::xml_schema::string version_type
Attribute type.
Definition: vtk-unstructured.h:2127
const PolyData_optional & PolyData() const
Return a read-only (constant) reference to the element container.
Definition: vtk-unstructured.cpp:399
::xsd::cxx::tree::traits< PolyData_type, char > PolyData_traits
Element traits type.
Definition: vtk-unstructured.h:2003
::xsd::cxx::tree::optional< PolyData_type > PolyData_optional
Element optional container type.
Definition: vtk-unstructured.h:1998
::xml_schema::string byte_order_type
Attribute type.
Definition: vtk-unstructured.h:2164
virtual VTKFile_t * _clone(::xml_schema::flags f=0, ::xml_schema::container *c=0) const
Copy the instance polymorphically.
Definition: vtk-unstructured.cpp:1372
::xml_schema::string type_type
Attribute type.
Definition: vtk-unstructured.h:2069
virtual ~VTKFile_t()
Destructor.
Definition: vtk-unstructured.cpp:1395
::xsd::cxx::tree::optional< UnstructuredGrid_type > UnstructuredGrid_optional
Element optional container type.
Definition: vtk-unstructured.h:1922
::xsd::cxx::tree::traits< byte_order_type, char > byte_order_traits
Attribute traits type.
Definition: vtk-unstructured.h:2169
::xsd::cxx::tree::traits< type_type, char > type_traits
Attribute traits type.
Definition: vtk-unstructured.h:2074
Enumeration class corresponding to the type schema type.
Definition: vtk-unstructured.h:2287
virtual type * _clone(::xml_schema::flags f=0, ::xml_schema::container *c=0) const
Copy the instance polymorphically.
Definition: vtk-unstructured.cpp:1431
value
Underlying enum type.
Definition: vtk-unstructured.h:2294
@ Float32
Definition: vtk-unstructured.h:2303
@ Int64
Definition: vtk-unstructured.h:2301
@ UInt16
Definition: vtk-unstructured.h:2298
@ Int32
Definition: vtk-unstructured.h:2299
@ UInt64
Definition: vtk-unstructured.h:2302
@ Float64
Definition: vtk-unstructured.h:2304
@ UInt8
Definition: vtk-unstructured.h:2296
@ Int16
Definition: vtk-unstructured.h:2297
@ UInt32
Definition: vtk-unstructured.h:2300
@ Int8
Definition: vtk-unstructured.h:2295
type(value v)
Create an instance from the underlying enum value.
Definition: vtk-unstructured.cpp:481
type & operator=(value v)
Assign the underlying enum value.
Definition: vtk-unstructured.cpp:513
const XMLCh *const tree_node_key
DOM user data key for back pointers to tree nodes.
Definition: vtk-unstructured.h:612
C++ namespace for the http://www.w3.org/2001/XMLSchema schema namespace.
Definition: vtk-unstructured.h:111
::xsd::cxx::tree::bounds< char > bounds
Exception indicating that the size argument exceeds the capacity argument.
Definition: vtk-unstructured.h:538
::xsd::cxx::tree::flags flags
Parsing and serialization flags.
Definition: vtk-unstructured.h:501
::xsd::cxx::xml::error_handler< char > error_handler
Error handler callback interface.
Definition: vtk-unstructured.h:595
::xsd::cxx::tree::diagnostics< char > diagnostics
List of error conditions.
Definition: vtk-unstructured.h:524
::xsd::cxx::tree::no_prefix_mapping< char > no_prefix_mapping
Exception indicating that a prefix-namespace mapping was not provided.
Definition: vtk-unstructured.h:585
::xsd::cxx::xml::dom::namespace_infomap< char > namespace_infomap
Namespace serialization information map.
Definition: vtk-unstructured.h:473
::xsd::cxx::tree::gyear< char, simple_type > gyear
C++ type corresponding to the gYear XML Schema built-in type.
Definition: vtk-unstructured.h:426
::xsd::cxx::tree::properties< char > properties
Parsing properties.
Definition: vtk-unstructured.h:506
::xsd::cxx::tree::duration< char, simple_type > duration
C++ type corresponding to the duration XML Schema built-in type.
Definition: vtk-unstructured.h:402
long long long_
C++ type corresponding to the long XML Schema built-in type.
Definition: vtk-unstructured.h:188
::xsd::cxx::tree::exception< char > exception
Root of the C++/Tree exception hierarchy.
Definition: vtk-unstructured.h:532
::xsd::cxx::tree::error< char > error
Error condition.
Definition: vtk-unstructured.h:519
::xsd::cxx::tree::entities< char, simple_type, entity > entities
C++ type corresponding to the ENTITIES XML Schema built-in type.
Definition: vtk-unstructured.h:454
signed char byte
C++ type corresponding to the byte XML Schema built-in type.
Definition: vtk-unstructured.h:140
::xsd::cxx::tree::simple_type< char, type > simple_type
C++ type corresponding to the anySimpleType XML Schema built-in type.
Definition: vtk-unstructured.h:125
::xsd::cxx::tree::name< char, token > name
C++ type corresponding to the Name XML Schema built-in type.
Definition: vtk-unstructured.h:288
::xsd::cxx::tree::unexpected_element< char > unexpected_element
Exception indicating that an unexpected element was encountered.
Definition: vtk-unstructured.h:561
::xsd::cxx::tree::buffer< char > buffer
Binary buffer type.
Definition: vtk-unstructured.h:363
::xsd::cxx::xml::dom::namespace_info< char > namespace_info
Namespace serialization information.
Definition: vtk-unstructured.h:468
long long non_positive_integer
C++ type corresponding to the nonPositiveInteger XML Schema built-in type.
Definition: vtk-unstructured.h:210
unsigned long long unsigned_long
C++ type corresponding to the unsignedLong XML Schema built-in type.
Definition: vtk-unstructured.h:194
::xsd::cxx::tree::type type
C++ type corresponding to the anyType XML Schema built-in type.
Definition: vtk-unstructured.h:119
::xsd::cxx::tree::serialization< char > serialization
Exception indicating a serialization failure.
Definition: vtk-unstructured.h:590
::xsd::cxx::tree::idref< char, ncname, type > idref
C++ type corresponding to the IDREF XML Schema built-in type.
Definition: vtk-unstructured.h:328
::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:354
::xsd::cxx::tree::id< char, ncname > id
C++ type corresponding to the ID XML Schema built-in type.
Definition: vtk-unstructured.h:322
::xsd::cxx::tree::time< char, simple_type > time
C++ type corresponding to the time XML Schema built-in type.
Definition: vtk-unstructured.h:438
::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:420
double decimal
C++ type corresponding to the decimal XML Schema built-in type.
Definition: vtk-unstructured.h:260
::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:369
::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:544
short short_
C++ type corresponding to the short XML Schema built-in type.
Definition: vtk-unstructured.h:156
::xsd::cxx::tree::normalized_string< char, string > normalized_string
C++ type corresponding to the normalizedString XML Schema built-in type.
Definition: vtk-unstructured.h:276
::xsd::cxx::tree::unexpected_enumerator< char > unexpected_enumerator
Exception indicating that an unexpected enumerator was encountered.
Definition: vtk-unstructured.h:573
::xsd::cxx::tree::severity severity
Error severity.
Definition: vtk-unstructured.h:514
unsigned short unsigned_short
C++ type corresponding to the unsignedShort XML Schema built-in type.
Definition: vtk-unstructured.h:162
::xsd::cxx::tree::gday< char, simple_type > gday
C++ type corresponding to the gDay XML Schema built-in type.
Definition: vtk-unstructured.h:408
::xsd::cxx::tree::list_stream< char > list_stream
List serialization stream.
Definition: vtk-unstructured.h:478
unsigned int unsigned_int
C++ type corresponding to the unsignedInt XML Schema built-in type.
Definition: vtk-unstructured.h:178
::xsd::cxx::tree::as_double< double_ > as_double
Serialization wrapper for the double type.
Definition: vtk-unstructured.h:483
unsigned char unsigned_byte
C++ type corresponding to the unsignedByte XML Schema built-in type.
Definition: vtk-unstructured.h:146
::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:432
::xsd::cxx::tree::expected_element< char > expected_element
Exception indicating that an expected element was not encountered.
Definition: vtk-unstructured.h:555
::xsd::cxx::tree::facet facet
Simple type facet.
Definition: vtk-unstructured.h:493
::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:396
::xsd::cxx::tree::language< char, token > language
C++ type corresponding to the language XML Schema built-in type.
Definition: vtk-unstructured.h:312
::xsd::cxx::tree::as_decimal< decimal > as_decimal
Serialization wrapper for the decimal type.
Definition: vtk-unstructured.h:488
long long integer
C++ type corresponding to the integer XML Schema built-in type.
Definition: vtk-unstructured.h:204
::xsd::cxx::tree::idrefs< char, simple_type, idref > idrefs
C++ type corresponding to the IDREFS XML Schema built-in type.
Definition: vtk-unstructured.h:334
double double_
C++ type corresponding to the double XML Schema built-in type.
Definition: vtk-unstructured.h:254
::xsd::cxx::tree::token< char, normalized_string > token
C++ type corresponding to the token XML Schema built-in type.
Definition: vtk-unstructured.h:282
::xsd::cxx::tree::uri< char, simple_type > uri
C++ type corresponding to the anyURI XML Schema built-in type.
Definition: vtk-unstructured.h:344
::xsd::cxx::tree::nmtokens< char, simple_type, nmtoken > nmtokens
C++ type corresponding to the NMTOKENS XML Schema built-in type.
Definition: vtk-unstructured.h:300
::xsd::cxx::tree::time_zone time_zone
Time zone type.
Definition: vtk-unstructured.h:384
::xsd::cxx::tree::date< char, simple_type > date
C++ type corresponding to the date XML Schema built-in type.
Definition: vtk-unstructured.h:390
unsigned long long positive_integer
C++ type corresponding to the positiveInteger XML Schema built-in type.
Definition: vtk-unstructured.h:222
::xsd::cxx::tree::string< char, simple_type > string
C++ type corresponding to the string XML Schema built-in type.
Definition: vtk-unstructured.h:270
::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:375
::xsd::cxx::tree::entity< char, ncname > entity
C++ type corresponding to the ENTITY XML Schema built-in type.
Definition: vtk-unstructured.h:448
long long negative_integer
C++ type corresponding to the negativeInteger XML Schema built-in type.
Definition: vtk-unstructured.h:228
int int_
C++ type corresponding to the int XML Schema built-in type.
Definition: vtk-unstructured.h:172
::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:579
float float_
C++ type corresponding to the float XML Schema built-in type.
Definition: vtk-unstructured.h:248
::xsd::cxx::tree::type container
Alias for the anyType type.
Definition: vtk-unstructured.h:130
::xsd::cxx::tree::ncname< char, name > ncname
C++ type corresponding to the NCName XML Schema built-in type.
Definition: vtk-unstructured.h:306
::xsd::cxx::tree::content_order content_order
Content order sequence entry.
Definition: vtk-unstructured.h:461
bool boolean
C++ type corresponding to the boolean XML Schema built-in type.
Definition: vtk-unstructured.h:238
::xsd::cxx::tree::expected_attribute< char > expected_attribute
Exception indicating that an expected attribute was not encountered.
Definition: vtk-unstructured.h:567
unsigned long long non_negative_integer
C++ type corresponding to the nonNegativeInteger XML Schema built-in type.
Definition: vtk-unstructured.h:216
::xsd::cxx::tree::nmtoken< char, token > nmtoken
C++ type corresponding to the NMTOKEN XML Schema built-in type.
Definition: vtk-unstructured.h:294
::xsd::cxx::tree::parsing< char > parsing
Exception indicating a parsing failure.
Definition: vtk-unstructured.h:549
::xsd::cxx::tree::gmonth< char, simple_type > gmonth
C++ type corresponding to the gMonth XML Schema built-in type.
Definition: vtk-unstructured.h:414
void operator<<(::xercesc::DOMElement &, const DataArrayList_t &)
Definition: vtk-unstructured.cpp:2088
::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.
Definition: vtk-unstructured.cpp:1818