Hermes2D  3.0
subdomains_h2d_xml.h
Go to the documentation of this file.
1 // Copyright (C) 2005-2010 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 XML_SCHEMAS_SUBDOMAINS_H2D_XML_H
40 #define XML_SCHEMAS_SUBDOMAINS_H2D_XML_H
41 
42 // Begin prologue.
43 //
44 //
45 // End prologue.
46 
47 #include <xsd/cxx/config.hxx>
48 
49 #if (XSD_INT_VERSION != 3030000L)
50 #error XSD runtime version mismatch
51 #endif
52 
53 #include <xsd/cxx/pre.hxx>
54 
55 #ifndef XSD_USE_CHAR
56 #define XSD_USE_CHAR
57 #endif
58 
59 #ifndef XSD_CXX_TREE_USE_CHAR
60 #define XSD_CXX_TREE_USE_CHAR
61 #endif
62 
63 #include <xsd/cxx/xml/char-utf8.hxx>
64 
65 #include <xsd/cxx/tree/exceptions.hxx>
66 #include <xsd/cxx/tree/elements.hxx>
67 #include <xsd/cxx/tree/types.hxx>
68 
69 #include <xsd/cxx/xml/error-handler.hxx>
70 
71 #include <xsd/cxx/xml/dom/auto-ptr.hxx>
72 
73 #include <xsd/cxx/tree/parsing.hxx>
74 #include <xsd/cxx/tree/parsing/byte.hxx>
75 #include <xsd/cxx/tree/parsing/unsigned-byte.hxx>
76 #include <xsd/cxx/tree/parsing/short.hxx>
77 #include <xsd/cxx/tree/parsing/unsigned-short.hxx>
78 #include <xsd/cxx/tree/parsing/int.hxx>
79 #include <xsd/cxx/tree/parsing/unsigned-int.hxx>
80 #include <xsd/cxx/tree/parsing/long.hxx>
81 #include <xsd/cxx/tree/parsing/unsigned-long.hxx>
82 #include <xsd/cxx/tree/parsing/boolean.hxx>
83 #include <xsd/cxx/tree/parsing/float.hxx>
84 #include <xsd/cxx/tree/parsing/double.hxx>
85 #include <xsd/cxx/tree/parsing/decimal.hxx>
86 
87 #include <xsd/cxx/xml/dom/serialization-header.hxx>
88 #include <xsd/cxx/tree/serialization.hxx>
89 #include <xsd/cxx/tree/serialization/byte.hxx>
90 #include <xsd/cxx/tree/serialization/unsigned-byte.hxx>
91 #include <xsd/cxx/tree/serialization/short.hxx>
92 #include <xsd/cxx/tree/serialization/unsigned-short.hxx>
93 #include <xsd/cxx/tree/serialization/int.hxx>
94 #include <xsd/cxx/tree/serialization/unsigned-int.hxx>
95 #include <xsd/cxx/tree/serialization/long.hxx>
96 #include <xsd/cxx/tree/serialization/unsigned-long.hxx>
97 #include <xsd/cxx/tree/serialization/boolean.hxx>
98 #include <xsd/cxx/tree/serialization/float.hxx>
99 #include <xsd/cxx/tree/serialization/double.hxx>
100 #include <xsd/cxx/tree/serialization/decimal.hxx>
101 
102 #include <xsd/cxx/tree/std-ostream-operators.hxx>
103 
108 namespace xml_schema
109 {
110  // anyType and anySimpleType.
111  //
112 
118 
123  typedef ::xsd::cxx::tree::simple_type< type > simple_type;
124 
129 
130 
131  // 8-bit
132  //
133 
138  typedef signed char byte;
139 
144  typedef unsigned char unsigned_byte;
145 
146 
147  // 16-bit
148  //
149 
154  typedef short short_;
155 
160  typedef unsigned short unsigned_short;
161 
162 
163  // 32-bit
164  //
165 
170  typedef int int_;
171 
176  typedef unsigned int unsigned_int;
177 
178 
179  // 64-bit
180  //
181 
186  typedef long long long_;
187 
192  typedef unsigned long long unsigned_long;
193 
194 
195  // Supposed to be arbitrary-length integral types.
196  //
197 
202  typedef long long integer;
203 
208  typedef long long non_positive_integer;
209 
214  typedef unsigned long long non_negative_integer;
215 
220  typedef unsigned long long positive_integer;
221 
226  typedef long long negative_integer;
227 
228 
229  // Boolean.
230  //
231 
236  typedef bool boolean;
237 
238 
239  // Floating-point types.
240  //
241 
246  typedef float float_;
247 
252  typedef double double_;
253 
258  typedef double decimal;
259 
260 
261  // String types.
262  //
263 
268  typedef ::xsd::cxx::tree::string< char, simple_type > string;
269 
274  typedef ::xsd::cxx::tree::normalized_string< char, string > normalized_string;
275 
280  typedef ::xsd::cxx::tree::token< char, normalized_string > token;
281 
286  typedef ::xsd::cxx::tree::name< char, token > name;
287 
292  typedef ::xsd::cxx::tree::nmtoken< char, token > nmtoken;
293 
298  typedef ::xsd::cxx::tree::nmtokens< char, simple_type, nmtoken > nmtokens;
299 
304  typedef ::xsd::cxx::tree::ncname< char, name > ncname;
305 
310  typedef ::xsd::cxx::tree::language< char, token > language;
311 
312 
313  // ID/IDREF.
314  //
315 
320  typedef ::xsd::cxx::tree::id< char, ncname > id;
321 
326  typedef ::xsd::cxx::tree::idref< char, ncname, type > idref;
327 
332  typedef ::xsd::cxx::tree::idrefs< char, simple_type, idref > idrefs;
333 
334 
335  // URI.
336  //
337 
342  typedef ::xsd::cxx::tree::uri< char, simple_type > uri;
343 
344 
345  // Qualified name.
346  //
347 
352  typedef ::xsd::cxx::tree::qname< char, simple_type, uri, ncname > qname;
353 
354 
355  // Binary.
356  //
357 
361  typedef ::xsd::cxx::tree::buffer< char > buffer;
362 
367  typedef ::xsd::cxx::tree::base64_binary< char, simple_type > base64_binary;
368 
373  typedef ::xsd::cxx::tree::hex_binary< char, simple_type > hex_binary;
374 
375 
376  // Date/time.
377  //
378 
383 
388  typedef ::xsd::cxx::tree::date< char, simple_type > date;
389 
394  typedef ::xsd::cxx::tree::date_time< char, simple_type > date_time;
395 
400  typedef ::xsd::cxx::tree::duration< char, simple_type > duration;
401 
406  typedef ::xsd::cxx::tree::gday< char, simple_type > gday;
407 
412  typedef ::xsd::cxx::tree::gmonth< char, simple_type > gmonth;
413 
418  typedef ::xsd::cxx::tree::gmonth_day< char, simple_type > gmonth_day;
419 
424  typedef ::xsd::cxx::tree::gyear< char, simple_type > gyear;
425 
430  typedef ::xsd::cxx::tree::gyear_month< char, simple_type > gyear_month;
431 
436  typedef ::xsd::cxx::tree::time< char, simple_type > time;
437 
438 
439  // Entity.
440  //
441 
446  typedef ::xsd::cxx::tree::entity< char, ncname > entity;
447 
452  typedef ::xsd::cxx::tree::entities< char, simple_type, entity > entities;
453 
454 
455  // Namespace information and list stream. Used in
456  // serialization functions.
457  //
461  typedef ::xsd::cxx::xml::dom::namespace_info< char > namespace_info;
462 
466  typedef ::xsd::cxx::xml::dom::namespace_infomap< char > namespace_infomap;
467 
471  typedef ::xsd::cxx::tree::list_stream< char > list_stream;
472 
476  typedef ::xsd::cxx::tree::as_double< double_ > as_double;
477 
481  typedef ::xsd::cxx::tree::as_decimal< decimal > as_decimal;
482 
487 
488  // Flags and properties.
489  //
490 
495 
499  typedef ::xsd::cxx::tree::properties< char > properties;
500 
501  // Parsing/serialization diagnostics.
502  //
503 
508 
512  typedef ::xsd::cxx::tree::error< char > error;
513 
517  typedef ::xsd::cxx::tree::diagnostics< char > diagnostics;
518 
519  // Exceptions.
520  //
521 
525  typedef ::xsd::cxx::tree::exception< char > exception;
526 
531  typedef ::xsd::cxx::tree::bounds< char > bounds;
532 
537  typedef ::xsd::cxx::tree::duplicate_id< char > duplicate_id;
538 
542  typedef ::xsd::cxx::tree::parsing< char > parsing;
543 
548  typedef ::xsd::cxx::tree::expected_element< char > expected_element;
549 
554  typedef ::xsd::cxx::tree::unexpected_element< char > unexpected_element;
555 
560  typedef ::xsd::cxx::tree::expected_attribute< char > expected_attribute;
561 
566  typedef ::xsd::cxx::tree::unexpected_enumerator< char > unexpected_enumerator;
567 
572  typedef ::xsd::cxx::tree::expected_text_content< char > expected_text_content;
573 
578  typedef ::xsd::cxx::tree::no_prefix_mapping< char > no_prefix_mapping;
579 
584  typedef ::xsd::cxx::tree::no_type_info< char > no_type_info;
585 
590  typedef ::xsd::cxx::tree::not_derived< char > not_derived;
591 
595  typedef ::xsd::cxx::tree::serialization< char > serialization;
596 
600  typedef ::xsd::cxx::xml::error_handler< char > error_handler;
601 
605  namespace dom
606  {
610  using ::xsd::cxx::xml::dom::auto_ptr;
611 
612 #ifndef XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA
613 #define XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA
614 
617  const XMLCh* const tree_node_key = ::xsd::cxx::tree::user_data_keys::node;
618 #endif
619  }
620 }
621 
622 // Forward declarations.
623 //
624 namespace XMLSubdomains
625 {
626  class elements_type;
627  class el_t;
628  class t_t;
629  class q_t;
630  class edges_type;
631  class domain;
632  class ed;
633  class subdomains;
634  class subdomain;
635  class vertices;
636  class elements;
637  class boundary_edges;
638  class inner_edges;
639 }
640 
641 
642 #include <memory> // std::auto_ptr
643 #include <limits> // std::numeric_limits
644 #include <algorithm> // std::binary_search
645 
646 #include <xsd/cxx/xml/char-utf8.hxx>
647 
648 #include <xsd/cxx/tree/exceptions.hxx>
649 #include <xsd/cxx/tree/elements.hxx>
650 #include <xsd/cxx/tree/containers.hxx>
651 #include <xsd/cxx/tree/list.hxx>
652 
653 #include <xsd/cxx/xml/dom/parsing-header.hxx>
654 
655 #include "mesh_h2d_xml.h"
656 
661 namespace XMLSubdomains
662 {
669  {
670  public:
678 
682  typedef ::XMLSubdomains::el_t el_type;
683 
687  typedef ::xsd::cxx::tree::sequence< el_type > el_sequence;
688 
692  typedef el_sequence::iterator el_iterator;
693 
697  typedef el_sequence::const_iterator el_const_iterator;
698 
702  typedef ::xsd::cxx::tree::traits< el_type, char > el_traits;
703 
710  const el_sequence&
711  el () const;
712 
718  el_sequence&
719  el ();
720 
730  void
731  el (const el_sequence& s);
732 
734 
739 
744  elements_type ();
745 
754  elements_type (const ::xercesc::DOMElement& e,
755  ::xml_schema::flags f = 0,
756  ::xml_schema::container* c = 0);
757 
767  elements_type (const elements_type& x,
768  ::xml_schema::flags f = 0,
769  ::xml_schema::container* c = 0);
770 
782  virtual elements_type*
783  _clone (::xml_schema::flags f = 0,
784  ::xml_schema::container* c = 0) const;
785 
787 
791  virtual
792  ~elements_type ();
793 
794  // Implementation.
795  //
796 
797  //@cond
798 
799  protected:
800  void
801  parse (::xsd::cxx::xml::dom::parser< char >&,
803 
804  protected:
805  el_sequence el_;
806 
807  //@endcond
808  };
809 
815  class el_t: public ::xml_schema::type
816  {
817  public:
825 
830 
834  typedef ::xsd::cxx::tree::traits< v1_type, char > v1_traits;
835 
841  const v1_type&
842  v1 () const;
843 
849  v1_type&
850  v1 ();
851 
860  void
861  v1 (const v1_type& x);
862 
864 
872 
877 
881  typedef ::xsd::cxx::tree::traits< v2_type, char > v2_traits;
882 
888  const v2_type&
889  v2 () const;
890 
896  v2_type&
897  v2 ();
898 
907  void
908  v2 (const v2_type& x);
909 
911 
919 
924 
928  typedef ::xsd::cxx::tree::traits< v3_type, char > v3_traits;
929 
935  const v3_type&
936  v3 () const;
937 
943  v3_type&
944  v3 ();
945 
954  void
955  v3 (const v3_type& x);
956 
958 
966 
971 
975  typedef ::xsd::cxx::tree::traits< m_type, char > m_traits;
976 
982  const m_type&
983  m () const;
984 
990  m_type&
991  m ();
992 
1001  void
1002  m (const m_type& x);
1003 
1012  void
1013  m (::std::auto_ptr< m_type > p);
1014 
1016 
1024 
1029 
1033  typedef ::xsd::cxx::tree::traits< i_type, char > i_traits;
1034 
1040  const i_type&
1041  i () const;
1042 
1048  i_type&
1049  i ();
1050 
1059  void
1060  i (const i_type& x);
1061 
1063 
1068 
1073  el_t (const v1_type&,
1074  const v2_type&,
1075  const v3_type&,
1076  const m_type&,
1077  const i_type&);
1078 
1087  el_t (const ::xercesc::DOMElement& e,
1088  ::xml_schema::flags f = 0,
1089  ::xml_schema::container* c = 0);
1090 
1100  el_t (const el_t& x,
1101  ::xml_schema::flags f = 0,
1102  ::xml_schema::container* c = 0);
1103 
1115  virtual el_t*
1116  _clone (::xml_schema::flags f = 0,
1117  ::xml_schema::container* c = 0) const;
1118 
1120 
1124  virtual
1125  ~el_t ();
1126 
1127  // Implementation.
1128  //
1129 
1130  //@cond
1131 
1132  protected:
1133  void
1134  parse (::xsd::cxx::xml::dom::parser< char >&,
1135  ::xml_schema::flags);
1136 
1137  protected:
1138  ::xsd::cxx::tree::one< v1_type > v1_;
1139  ::xsd::cxx::tree::one< v2_type > v2_;
1140  ::xsd::cxx::tree::one< v3_type > v3_;
1141  ::xsd::cxx::tree::one< m_type > m_;
1142  ::xsd::cxx::tree::one< i_type > i_;
1143 
1144  //@endcond
1145  };
1146 
1153  {
1154  public:
1159 
1164  t_t (const v1_type&,
1165  const v2_type&,
1166  const v3_type&,
1167  const m_type&,
1168  const i_type&);
1169 
1178  t_t (const ::xercesc::DOMElement& e,
1179  ::xml_schema::flags f = 0,
1180  ::xml_schema::container* c = 0);
1181 
1191  t_t (const t_t& x,
1192  ::xml_schema::flags f = 0,
1193  ::xml_schema::container* c = 0);
1194 
1206  virtual t_t*
1207  _clone (::xml_schema::flags f = 0,
1208  ::xml_schema::container* c = 0) const;
1209 
1211 
1215  virtual
1216  ~t_t ();
1217  };
1218 
1225  {
1226  public:
1234 
1239 
1243  typedef ::xsd::cxx::tree::traits< v4_type, char > v4_traits;
1244 
1250  const v4_type&
1251  v4 () const;
1252 
1258  v4_type&
1259  v4 ();
1260 
1269  void
1270  v4 (const v4_type& x);
1271 
1273 
1278 
1283  q_t (const v1_type&,
1284  const v2_type&,
1285  const v3_type&,
1286  const m_type&,
1287  const i_type&,
1288  const v4_type&);
1289 
1298  q_t (const ::xercesc::DOMElement& e,
1299  ::xml_schema::flags f = 0,
1300  ::xml_schema::container* c = 0);
1301 
1311  q_t (const q_t& x,
1312  ::xml_schema::flags f = 0,
1313  ::xml_schema::container* c = 0);
1314 
1326  virtual q_t*
1327  _clone (::xml_schema::flags f = 0,
1328  ::xml_schema::container* c = 0) const;
1329 
1331 
1335  virtual
1336  ~q_t ();
1337 
1338  // Implementation.
1339  //
1340 
1341  //@cond
1342 
1343  protected:
1344  void
1345  parse (::xsd::cxx::xml::dom::parser< char >&,
1346  ::xml_schema::flags);
1347 
1348  protected:
1349  ::xsd::cxx::tree::one< v4_type > v4_;
1350 
1351  //@endcond
1352  };
1353 
1360  {
1361  public:
1369 
1373  typedef ::XMLSubdomains::ed ed_type;
1374 
1378  typedef ::xsd::cxx::tree::sequence< ed_type > ed_sequence;
1379 
1383  typedef ed_sequence::iterator ed_iterator;
1384 
1388  typedef ed_sequence::const_iterator ed_const_iterator;
1389 
1393  typedef ::xsd::cxx::tree::traits< ed_type, char > ed_traits;
1394 
1401  const ed_sequence&
1402  ed () const;
1403 
1409  ed_sequence&
1410  ed ();
1411 
1421  void
1422  ed (const ed_sequence& s);
1423 
1425 
1430 
1435  edges_type ();
1436 
1445  edges_type (const ::xercesc::DOMElement& e,
1446  ::xml_schema::flags f = 0,
1447  ::xml_schema::container* c = 0);
1448 
1458  edges_type (const edges_type& x,
1459  ::xml_schema::flags f = 0,
1460  ::xml_schema::container* c = 0);
1461 
1473  virtual edges_type*
1474  _clone (::xml_schema::flags f = 0,
1475  ::xml_schema::container* c = 0) const;
1476 
1478 
1482  virtual
1483  ~edges_type ();
1484 
1485  // Implementation.
1486  //
1487 
1488  //@cond
1489 
1490  protected:
1491  void
1492  parse (::xsd::cxx::xml::dom::parser< char >&,
1493  ::xml_schema::flags);
1494 
1495  protected:
1496  ed_sequence ed_;
1497 
1498  //@endcond
1499  };
1500 
1507  {
1508  public:
1516 
1520  typedef ::XMLMesh::variables_type variables_type;
1521 
1525  typedef ::xsd::cxx::tree::optional< variables_type > variables_optional;
1526 
1530  typedef ::xsd::cxx::tree::traits< variables_type, char > variables_traits;
1531 
1538  const variables_optional&
1539  variables () const;
1540 
1546  variables_optional&
1547  variables ();
1548 
1557  void
1558  variables (const variables_type& x);
1559 
1569  void
1570  variables (const variables_optional& x);
1571 
1580  void
1581  variables (::std::auto_ptr< variables_type > p);
1582 
1584 
1592 
1596  typedef ::XMLMesh::vertices_type vertices_type;
1597 
1601  typedef ::xsd::cxx::tree::traits< vertices_type, char > vertices_traits;
1602 
1608  const vertices_type&
1609  vertices () const;
1610 
1616  vertices_type&
1617  vertices ();
1618 
1627  void
1628  vertices (const vertices_type& x);
1629 
1638  void
1639  vertices (::std::auto_ptr< vertices_type > p);
1640 
1642 
1650 
1654  typedef ::XMLSubdomains::elements_type elements_type;
1655 
1659  typedef ::xsd::cxx::tree::traits< elements_type, char > elements_traits;
1660 
1666  const elements_type&
1667  elements () const;
1668 
1674  elements_type&
1675  elements ();
1676 
1685  void
1686  elements (const elements_type& x);
1687 
1696  void
1697  elements (::std::auto_ptr< elements_type > p);
1698 
1700 
1708 
1712  typedef ::XMLSubdomains::edges_type edges_type;
1713 
1717  typedef ::xsd::cxx::tree::traits< edges_type, char > edges_traits;
1718 
1724  const edges_type&
1725  edges () const;
1726 
1732  edges_type&
1733  edges ();
1734 
1743  void
1744  edges (const edges_type& x);
1745 
1754  void
1755  edges (::std::auto_ptr< edges_type > p);
1756 
1758 
1766 
1770  typedef ::XMLMesh::curves_type curves_type;
1771 
1775  typedef ::xsd::cxx::tree::optional< curves_type > curves_optional;
1776 
1780  typedef ::xsd::cxx::tree::traits< curves_type, char > curves_traits;
1781 
1788  const curves_optional&
1789  curves () const;
1790 
1796  curves_optional&
1797  curves ();
1798 
1807  void
1808  curves (const curves_type& x);
1809 
1819  void
1820  curves (const curves_optional& x);
1821 
1830  void
1831  curves (::std::auto_ptr< curves_type > p);
1832 
1834 
1842 
1846  typedef ::XMLSubdomains::subdomains subdomains_type;
1847 
1851  typedef ::xsd::cxx::tree::traits< subdomains_type, char > subdomains_traits;
1852 
1858  const subdomains_type&
1859  subdomains () const;
1860 
1866  subdomains_type&
1867  subdomains ();
1868 
1877  void
1878  subdomains (const subdomains_type& x);
1879 
1888  void
1889  subdomains (::std::auto_ptr< subdomains_type > p);
1890 
1892 
1897 
1902  domain (const vertices_type&,
1903  const elements_type&,
1904  const edges_type&,
1905  const subdomains_type&);
1906 
1915  domain (::std::auto_ptr< vertices_type >&,
1916  ::std::auto_ptr< elements_type >&,
1917  ::std::auto_ptr< edges_type >&,
1918  ::std::auto_ptr< subdomains_type >&);
1919 
1928  domain (const ::xercesc::DOMElement& e,
1929  ::xml_schema::flags f = 0,
1930  ::xml_schema::container* c = 0);
1931 
1941  domain (const domain& x,
1942  ::xml_schema::flags f = 0,
1943  ::xml_schema::container* c = 0);
1944 
1956  virtual domain*
1957  _clone (::xml_schema::flags f = 0,
1958  ::xml_schema::container* c = 0) const;
1959 
1961 
1965  virtual
1966  ~domain ();
1967 
1968  // Implementation.
1969  //
1970 
1971  //@cond
1972 
1973  protected:
1974  void
1975  parse (::xsd::cxx::xml::dom::parser< char >&,
1976  ::xml_schema::flags);
1977 
1978  protected:
1979  variables_optional variables_;
1980  ::xsd::cxx::tree::one< vertices_type > vertices_;
1981  ::xsd::cxx::tree::one< elements_type > elements_;
1982  ::xsd::cxx::tree::one< edges_type > edges_;
1983  curves_optional curves_;
1984  ::xsd::cxx::tree::one< subdomains_type > subdomains_;
1985 
1986  //@endcond
1987  };
1988 
1994  class ed: public ::xml_schema::type
1995  {
1996  public:
2004 
2009 
2013  typedef ::xsd::cxx::tree::traits< v1_type, char > v1_traits;
2014 
2020  const v1_type&
2021  v1 () const;
2022 
2028  v1_type&
2029  v1 ();
2030 
2039  void
2040  v1 (const v1_type& x);
2041 
2043 
2051 
2056 
2060  typedef ::xsd::cxx::tree::traits< v2_type, char > v2_traits;
2061 
2067  const v2_type&
2068  v2 () const;
2069 
2075  v2_type&
2076  v2 ();
2077 
2086  void
2087  v2 (const v2_type& x);
2088 
2090 
2098 
2103 
2107  typedef ::xsd::cxx::tree::traits< m_type, char > m_traits;
2108 
2114  const m_type&
2115  m () const;
2116 
2122  m_type&
2123  m ();
2124 
2133  void
2134  m (const m_type& x);
2135 
2144  void
2145  m (::std::auto_ptr< m_type > p);
2146 
2148 
2156 
2161 
2165  typedef ::xsd::cxx::tree::traits< i_type, char > i_traits;
2166 
2172  const i_type&
2173  i () const;
2174 
2180  i_type&
2181  i ();
2182 
2191  void
2192  i (const i_type& x);
2193 
2195 
2200 
2205  ed (const v1_type&,
2206  const v2_type&,
2207  const m_type&,
2208  const i_type&);
2209 
2218  ed (const ::xercesc::DOMElement& e,
2219  ::xml_schema::flags f = 0,
2220  ::xml_schema::container* c = 0);
2221 
2231  ed (const ed& x,
2232  ::xml_schema::flags f = 0,
2233  ::xml_schema::container* c = 0);
2234 
2246  virtual ed*
2247  _clone (::xml_schema::flags f = 0,
2248  ::xml_schema::container* c = 0) const;
2249 
2251 
2255  virtual
2256  ~ed ();
2257 
2258  // Implementation.
2259  //
2260 
2261  //@cond
2262 
2263  protected:
2264  void
2265  parse (::xsd::cxx::xml::dom::parser< char >&,
2266  ::xml_schema::flags);
2267 
2268  protected:
2269  ::xsd::cxx::tree::one< v1_type > v1_;
2270  ::xsd::cxx::tree::one< v2_type > v2_;
2271  ::xsd::cxx::tree::one< m_type > m_;
2272  ::xsd::cxx::tree::one< i_type > i_;
2273 
2274  //@endcond
2275  };
2276 
2283  {
2284  public:
2292 
2296  typedef ::XMLSubdomains::subdomain subdomain_type;
2297 
2301  typedef ::xsd::cxx::tree::sequence< subdomain_type > subdomain_sequence;
2302 
2306  typedef subdomain_sequence::iterator subdomain_iterator;
2307 
2311  typedef subdomain_sequence::const_iterator subdomain_const_iterator;
2312 
2316  typedef ::xsd::cxx::tree::traits< subdomain_type, char > subdomain_traits;
2317 
2324  const subdomain_sequence&
2325  subdomain () const;
2326 
2332  subdomain_sequence&
2333  subdomain ();
2334 
2344  void
2345  subdomain (const subdomain_sequence& s);
2346 
2348 
2353 
2358  subdomains ();
2359 
2368  subdomains (const ::xercesc::DOMElement& e,
2369  ::xml_schema::flags f = 0,
2370  ::xml_schema::container* c = 0);
2371 
2381  subdomains (const subdomains& x,
2382  ::xml_schema::flags f = 0,
2383  ::xml_schema::container* c = 0);
2384 
2396  virtual subdomains*
2397  _clone (::xml_schema::flags f = 0,
2398  ::xml_schema::container* c = 0) const;
2399 
2401 
2405  virtual
2406  ~subdomains ();
2407 
2408  // Implementation.
2409  //
2410 
2411  //@cond
2412 
2413  protected:
2414  void
2415  parse (::xsd::cxx::xml::dom::parser< char >&,
2416  ::xml_schema::flags);
2417 
2418  protected:
2419  subdomain_sequence subdomain_;
2420 
2421  //@endcond
2422  };
2423 
2430  {
2431  public:
2439 
2443  typedef ::XMLSubdomains::vertices vertices_type;
2444 
2448  typedef ::xsd::cxx::tree::optional< vertices_type > vertices_optional;
2449 
2453  typedef ::xsd::cxx::tree::traits< vertices_type, char > vertices_traits;
2454 
2461  const vertices_optional&
2462  vertices () const;
2463 
2469  vertices_optional&
2470  vertices ();
2471 
2480  void
2481  vertices (const vertices_type& x);
2482 
2492  void
2493  vertices (const vertices_optional& x);
2494 
2503  void
2504  vertices (::std::auto_ptr< vertices_type > p);
2505 
2507 
2515 
2519  typedef ::XMLSubdomains::elements elements_type;
2520 
2524  typedef ::xsd::cxx::tree::optional< elements_type > elements_optional;
2525 
2529  typedef ::xsd::cxx::tree::traits< elements_type, char > elements_traits;
2530 
2537  const elements_optional&
2538  elements () const;
2539 
2545  elements_optional&
2546  elements ();
2547 
2556  void
2557  elements (const elements_type& x);
2558 
2568  void
2569  elements (const elements_optional& x);
2570 
2579  void
2580  elements (::std::auto_ptr< elements_type > p);
2581 
2583 
2591 
2595  typedef ::XMLSubdomains::boundary_edges boundary_edges_type;
2596 
2600  typedef ::xsd::cxx::tree::optional< boundary_edges_type > boundary_edges_optional;
2601 
2605  typedef ::xsd::cxx::tree::traits< boundary_edges_type, char > boundary_edges_traits;
2606 
2613  const boundary_edges_optional&
2614  boundary_edges () const;
2615 
2621  boundary_edges_optional&
2622  boundary_edges ();
2623 
2632  void
2633  boundary_edges (const boundary_edges_type& x);
2634 
2644  void
2645  boundary_edges (const boundary_edges_optional& x);
2646 
2655  void
2656  boundary_edges (::std::auto_ptr< boundary_edges_type > p);
2657 
2659 
2667 
2671  typedef ::XMLSubdomains::inner_edges inner_edges_type;
2672 
2676  typedef ::xsd::cxx::tree::optional< inner_edges_type > inner_edges_optional;
2677 
2681  typedef ::xsd::cxx::tree::traits< inner_edges_type, char > inner_edges_traits;
2682 
2689  const inner_edges_optional&
2690  inner_edges () const;
2691 
2697  inner_edges_optional&
2698  inner_edges ();
2699 
2708  void
2709  inner_edges (const inner_edges_type& x);
2710 
2720  void
2721  inner_edges (const inner_edges_optional& x);
2722 
2731  void
2732  inner_edges (::std::auto_ptr< inner_edges_type > p);
2733 
2735 
2743 
2747  typedef ::XMLMesh::refinements_type refinements_type;
2748 
2752  typedef ::xsd::cxx::tree::optional< refinements_type > refinements_optional;
2753 
2757  typedef ::xsd::cxx::tree::traits< refinements_type, char > refinements_traits;
2758 
2765  const refinements_optional&
2766  refinements () const;
2767 
2773  refinements_optional&
2774  refinements ();
2775 
2784  void
2785  refinements (const refinements_type& x);
2786 
2796  void
2797  refinements (const refinements_optional& x);
2798 
2807  void
2808  refinements (::std::auto_ptr< refinements_type > p);
2809 
2811 
2819 
2824 
2828  typedef ::xsd::cxx::tree::traits< name_type, char > name_traits;
2829 
2835  const name_type&
2836  name () const;
2837 
2843  name_type&
2844  name ();
2845 
2854  void
2855  name (const name_type& x);
2856 
2865  void
2866  name (::std::auto_ptr< name_type > p);
2867 
2869 
2874 
2879  subdomain (const name_type&);
2880 
2889  subdomain (const ::xercesc::DOMElement& e,
2890  ::xml_schema::flags f = 0,
2891  ::xml_schema::container* c = 0);
2892 
2902  subdomain (const subdomain& x,
2903  ::xml_schema::flags f = 0,
2904  ::xml_schema::container* c = 0);
2905 
2917  virtual subdomain*
2918  _clone (::xml_schema::flags f = 0,
2919  ::xml_schema::container* c = 0) const;
2920 
2922 
2926  virtual
2927  ~subdomain ();
2928 
2929  // Implementation.
2930  //
2931 
2932  //@cond
2933 
2934  protected:
2935  void
2936  parse (::xsd::cxx::xml::dom::parser< char >&,
2937  ::xml_schema::flags);
2938 
2939  protected:
2940  vertices_optional vertices_;
2941  elements_optional elements_;
2942  boundary_edges_optional boundary_edges_;
2943  inner_edges_optional inner_edges_;
2944  refinements_optional refinements_;
2945  ::xsd::cxx::tree::one< name_type > name_;
2946 
2947  //@endcond
2948  };
2949 
2956  {
2957  public:
2965 
2970 
2974  typedef ::xsd::cxx::tree::sequence< i_type > i_sequence;
2975 
2979  typedef i_sequence::iterator i_iterator;
2980 
2984  typedef i_sequence::const_iterator i_const_iterator;
2985 
2989  typedef ::xsd::cxx::tree::traits< i_type, char > i_traits;
2990 
2997  const i_sequence&
2998  i () const;
2999 
3005  i_sequence&
3006  i ();
3007 
3017  void
3018  i (const i_sequence& s);
3019 
3021 
3026 
3031  vertices ();
3032 
3041  vertices (const ::xercesc::DOMElement& e,
3042  ::xml_schema::flags f = 0,
3043  ::xml_schema::container* c = 0);
3044 
3054  vertices (const vertices& x,
3055  ::xml_schema::flags f = 0,
3056  ::xml_schema::container* c = 0);
3057 
3069  virtual vertices*
3070  _clone (::xml_schema::flags f = 0,
3071  ::xml_schema::container* c = 0) const;
3072 
3074 
3078  virtual
3079  ~vertices ();
3080 
3081  // Implementation.
3082  //
3083 
3084  //@cond
3085 
3086  protected:
3087  void
3088  parse (::xsd::cxx::xml::dom::parser< char >&,
3089  ::xml_schema::flags);
3090 
3091  protected:
3092  i_sequence i_;
3093 
3094  //@endcond
3095  };
3096 
3103  {
3104  public:
3112 
3117 
3121  typedef ::xsd::cxx::tree::sequence< i_type > i_sequence;
3122 
3126  typedef i_sequence::iterator i_iterator;
3127 
3131  typedef i_sequence::const_iterator i_const_iterator;
3132 
3136  typedef ::xsd::cxx::tree::traits< i_type, char > i_traits;
3137 
3144  const i_sequence&
3145  i () const;
3146 
3152  i_sequence&
3153  i ();
3154 
3164  void
3165  i (const i_sequence& s);
3166 
3168 
3173 
3178  elements ();
3179 
3188  elements (const ::xercesc::DOMElement& e,
3189  ::xml_schema::flags f = 0,
3190  ::xml_schema::container* c = 0);
3191 
3201  elements (const elements& x,
3202  ::xml_schema::flags f = 0,
3203  ::xml_schema::container* c = 0);
3204 
3216  virtual elements*
3217  _clone (::xml_schema::flags f = 0,
3218  ::xml_schema::container* c = 0) const;
3219 
3221 
3225  virtual
3226  ~elements ();
3227 
3228  // Implementation.
3229  //
3230 
3231  //@cond
3232 
3233  protected:
3234  void
3235  parse (::xsd::cxx::xml::dom::parser< char >&,
3236  ::xml_schema::flags);
3237 
3238  protected:
3239  i_sequence i_;
3240 
3241  //@endcond
3242  };
3243 
3250  {
3251  public:
3259 
3264 
3268  typedef ::xsd::cxx::tree::sequence< i_type > i_sequence;
3269 
3273  typedef i_sequence::iterator i_iterator;
3274 
3278  typedef i_sequence::const_iterator i_const_iterator;
3279 
3283  typedef ::xsd::cxx::tree::traits< i_type, char > i_traits;
3284 
3291  const i_sequence&
3292  i () const;
3293 
3299  i_sequence&
3300  i ();
3301 
3311  void
3312  i (const i_sequence& s);
3313 
3315 
3320 
3325  boundary_edges ();
3326 
3335  boundary_edges (const ::xercesc::DOMElement& e,
3336  ::xml_schema::flags f = 0,
3337  ::xml_schema::container* c = 0);
3338 
3348  boundary_edges (const boundary_edges& x,
3349  ::xml_schema::flags f = 0,
3350  ::xml_schema::container* c = 0);
3351 
3363  virtual boundary_edges*
3364  _clone (::xml_schema::flags f = 0,
3365  ::xml_schema::container* c = 0) const;
3366 
3368 
3372  virtual
3373  ~boundary_edges ();
3374 
3375  // Implementation.
3376  //
3377 
3378  //@cond
3379 
3380  protected:
3381  void
3382  parse (::xsd::cxx::xml::dom::parser< char >&,
3383  ::xml_schema::flags);
3384 
3385  protected:
3386  i_sequence i_;
3387 
3388  //@endcond
3389  };
3390 
3397  {
3398  public:
3406 
3411 
3415  typedef ::xsd::cxx::tree::sequence< i_type > i_sequence;
3416 
3420  typedef i_sequence::iterator i_iterator;
3421 
3425  typedef i_sequence::const_iterator i_const_iterator;
3426 
3430  typedef ::xsd::cxx::tree::traits< i_type, char > i_traits;
3431 
3438  const i_sequence&
3439  i () const;
3440 
3446  i_sequence&
3447  i ();
3448 
3458  void
3459  i (const i_sequence& s);
3460 
3462 
3467 
3472  inner_edges ();
3473 
3482  inner_edges (const ::xercesc::DOMElement& e,
3483  ::xml_schema::flags f = 0,
3484  ::xml_schema::container* c = 0);
3485 
3495  inner_edges (const inner_edges& x,
3496  ::xml_schema::flags f = 0,
3497  ::xml_schema::container* c = 0);
3498 
3510  virtual inner_edges*
3511  _clone (::xml_schema::flags f = 0,
3512  ::xml_schema::container* c = 0) const;
3513 
3515 
3519  virtual
3520  ~inner_edges ();
3521 
3522  // Implementation.
3523  //
3524 
3525  //@cond
3526 
3527  protected:
3528  void
3529  parse (::xsd::cxx::xml::dom::parser< char >&,
3530  ::xml_schema::flags);
3531 
3532  protected:
3533  i_sequence i_;
3534 
3535  //@endcond
3536  };
3537 }
3538 
3539 #include <iosfwd>
3540 
3541 namespace XMLSubdomains
3542 {
3543  ::std::ostream&
3544  operator<< (::std::ostream&, const elements_type&);
3545 
3546  ::std::ostream&
3547  operator<< (::std::ostream&, const el_t&);
3548 
3549  ::std::ostream&
3550  operator<< (::std::ostream&, const t_t&);
3551 
3552  ::std::ostream&
3553  operator<< (::std::ostream&, const q_t&);
3554 
3555  ::std::ostream&
3556  operator<< (::std::ostream&, const edges_type&);
3557 
3558  ::std::ostream&
3559  operator<< (::std::ostream&, const domain&);
3560 
3561  ::std::ostream&
3562  operator<< (::std::ostream&, const ed&);
3563 
3564  ::std::ostream&
3565  operator<< (::std::ostream&, const subdomains&);
3566 
3567  ::std::ostream&
3568  operator<< (::std::ostream&, const subdomain&);
3569 
3570  ::std::ostream&
3571  operator<< (::std::ostream&, const vertices&);
3572 
3573  ::std::ostream&
3574  operator<< (::std::ostream&, const elements&);
3575 
3576  ::std::ostream&
3577  operator<< (::std::ostream&, const boundary_edges&);
3578 
3579  ::std::ostream&
3580  operator<< (::std::ostream&, const inner_edges&);
3581 }
3582 
3583 #include <iosfwd>
3584 
3585 #include <xercesc/sax/InputSource.hpp>
3586 #include <xercesc/dom/DOMDocument.hpp>
3587 #include <xercesc/dom/DOMErrorHandler.hpp>
3588 
3589 namespace XMLSubdomains
3590 {
3595 
3606  ::std::auto_ptr< ::XMLSubdomains::domain >
3608  ::xml_schema::flags f = 0,
3610 
3622  ::std::auto_ptr< ::XMLSubdomains::domain >
3625  ::xml_schema::flags f = 0,
3627 
3640  ::std::auto_ptr< ::XMLSubdomains::domain >
3642  ::xercesc::DOMErrorHandler& eh,
3643  ::xml_schema::flags f = 0,
3645 
3656  ::std::auto_ptr< ::XMLSubdomains::domain >
3657  domain_ (::std::istream& is,
3658  ::xml_schema::flags f = 0,
3660 
3672  ::std::auto_ptr< ::XMLSubdomains::domain >
3673  domain_ (::std::istream& is,
3675  ::xml_schema::flags f = 0,
3677 
3690  ::std::auto_ptr< ::XMLSubdomains::domain >
3691  domain_ (::std::istream& is,
3692  ::xercesc::DOMErrorHandler& eh,
3693  ::xml_schema::flags f = 0,
3695 
3710  ::std::auto_ptr< ::XMLSubdomains::domain >
3711  domain_ (::std::istream& is,
3712  const ::std::string& id,
3713  ::xml_schema::flags f = 0,
3715 
3732  ::std::auto_ptr< ::XMLSubdomains::domain >
3733  domain_ (::std::istream& is,
3734  const ::std::string& id,
3736  ::xml_schema::flags f = 0,
3738 
3755  ::std::auto_ptr< ::XMLSubdomains::domain >
3756  domain_ (::std::istream& is,
3757  const ::std::string& id,
3758  ::xercesc::DOMErrorHandler& eh,
3759  ::xml_schema::flags f = 0,
3761 
3772  ::std::auto_ptr< ::XMLSubdomains::domain >
3773  domain_ (::xercesc::InputSource& is,
3774  ::xml_schema::flags f = 0,
3776 
3788  ::std::auto_ptr< ::XMLSubdomains::domain >
3789  domain_ (::xercesc::InputSource& is,
3791  ::xml_schema::flags f = 0,
3793 
3806  ::std::auto_ptr< ::XMLSubdomains::domain >
3807  domain_ (::xercesc::InputSource& is,
3808  ::xercesc::DOMErrorHandler& eh,
3809  ::xml_schema::flags f = 0,
3811 
3820  ::std::auto_ptr< ::XMLSubdomains::domain >
3821  domain_ (const ::xercesc::DOMDocument& d,
3822  ::xml_schema::flags f = 0,
3824 
3837  ::std::auto_ptr< ::XMLSubdomains::domain >
3838  domain_ (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument >& d,
3839  ::xml_schema::flags f = 0,
3841 
3843 }
3844 
3845 #include <iosfwd>
3846 
3847 #include <xercesc/dom/DOMDocument.hpp>
3848 #include <xercesc/dom/DOMErrorHandler.hpp>
3849 #include <xercesc/framework/XMLFormatter.hpp>
3850 
3851 #include <xsd/cxx/xml/dom/auto-ptr.hxx>
3852 
3853 namespace XMLSubdomains
3854 {
3859 
3871  void
3872  domain_ (::std::ostream& os,
3873  const ::XMLSubdomains::domain& x,
3875  const ::std::string& e = "UTF-8",
3876  ::xml_schema::flags f = 0);
3877 
3891  void
3892  domain_ (::std::ostream& os,
3893  const ::XMLSubdomains::domain& x,
3896  const ::std::string& e = "UTF-8",
3897  ::xml_schema::flags f = 0);
3898 
3913  void
3914  domain_ (::std::ostream& os,
3915  const ::XMLSubdomains::domain& x,
3916  ::xercesc::DOMErrorHandler& eh,
3918  const ::std::string& e = "UTF-8",
3919  ::xml_schema::flags f = 0);
3920 
3932  void
3933  domain_ (::xercesc::XMLFormatTarget& ft,
3934  const ::XMLSubdomains::domain& x,
3936  const ::std::string& e = "UTF-8",
3937  ::xml_schema::flags f = 0);
3938 
3953  void
3954  domain_ (::xercesc::XMLFormatTarget& ft,
3955  const ::XMLSubdomains::domain& x,
3958  const ::std::string& e = "UTF-8",
3959  ::xml_schema::flags f = 0);
3960 
3975  void
3976  domain_ (::xercesc::XMLFormatTarget& ft,
3977  const ::XMLSubdomains::domain& x,
3978  ::xercesc::DOMErrorHandler& eh,
3980  const ::std::string& e = "UTF-8",
3981  ::xml_schema::flags f = 0);
3982 
3994  void
3995  domain_ (::xercesc::DOMDocument& d,
3996  const ::XMLSubdomains::domain& x,
3997  ::xml_schema::flags f = 0);
3998 
4007  ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument >
4008  domain_ (const ::XMLSubdomains::domain& x,
4010  ::xml_schema::flags f = 0);
4011 
4013 
4014  void
4015  operator<< (::xercesc::DOMElement&, const elements_type&);
4016 
4017  void
4018  operator<< (::xercesc::DOMElement&, const el_t&);
4019 
4020  void
4021  operator<< (::xercesc::DOMElement&, const t_t&);
4022 
4023  void
4024  operator<< (::xercesc::DOMElement&, const q_t&);
4025 
4026  void
4027  operator<< (::xercesc::DOMElement&, const edges_type&);
4028 
4029  void
4030  operator<< (::xercesc::DOMElement&, const domain&);
4031 
4032  void
4033  operator<< (::xercesc::DOMElement&, const ed&);
4034 
4035  void
4036  operator<< (::xercesc::DOMElement&, const subdomains&);
4037 
4038  void
4039  operator<< (::xercesc::DOMElement&, const subdomain&);
4040 
4041  void
4042  operator<< (::xercesc::DOMElement&, const vertices&);
4043 
4044  void
4045  operator<< (::xercesc::DOMElement&, const elements&);
4046 
4047  void
4048  operator<< (::xercesc::DOMElement&, const boundary_edges&);
4049 
4050  void
4051  operator<< (::xercesc::DOMElement&, const inner_edges&);
4052 }
4053 
4054 #include <xsd/cxx/post.hxx>
4055 
4056 // Begin epilogue.
4057 //
4058 //
4059 // End epilogue.
4060 
4061 #endif // XML_SCHEMAS_SUBDOMAINS_H2D_XML_H
::xsd::cxx::tree::id< char, ncname > id
C++ type corresponding to the ID XML Schema built-in type.
const i_sequence & i() const
Return a read-only (constant) reference to the element sequence.
long long negative_integer
C++ type corresponding to the negativeInteger XML Schema built-in type.
i_sequence::iterator i_iterator
Element iterator type.
virtual ~inner_edges()
Destructor.
::XMLSubdomains::edges_type edges_type
Element type.
const v4_type & v4() const
Return a read-only (constant) reference to the attribute.
virtual ~elements()
Destructor.
const subdomains_type & subdomains() const
Return a read-only (constant) reference to the element.
Class corresponding to the elements schema type.
const v3_type & v3() const
Return a read-only (constant) reference to the attribute.
::xsd::cxx::tree::traits< i_type, char > i_traits
Element traits type.
virtual ~vertices()
Destructor.
::xsd::cxx::tree::parsing< char > parsing
Exception indicating a parsing failure.
::xsd::cxx::tree::optional< inner_edges_type > inner_edges_optional
Element optional container type.
virtual ~ed()
Destructor.
const vertices_type & vertices() const
Return a read-only (constant) reference to the element.
Class corresponding to the elements_type schema type.
::xsd::cxx::tree::date< char, simple_type > date
C++ type corresponding to the date XML Schema built-in type.
::xsd::cxx::tree::bounds< char > bounds
Exception indicating that the size argument exceeds the capacity argument.
::xsd::cxx::tree::no_prefix_mapping< char > no_prefix_mapping
Exception indicating that a prefix-namespace mapping was not provided.
virtual ~elements_type()
Destructor.
::xsd::cxx::tree::duplicate_id< char > duplicate_id
Exception indicating that a duplicate ID value was encountered in the object model.
::xsd::cxx::tree::expected_element< char > expected_element
Exception indicating that an expected element was not encountered.
virtual t_t * _clone(::xml_schema::flags f=0,::xml_schema::container *c=0) const
Copy the instance polymorphically.
::xsd::cxx::tree::traits< v3_type, char > v3_traits
Attribute traits type.
const curves_optional & curves() const
Return a read-only (constant) reference to the element container.
::xsd::cxx::tree::flags flags
Parsing and serialization flags.
::xsd::cxx::tree::language< char, token > language
C++ type corresponding to the language XML Schema built-in type.
::xsd::cxx::tree::normalized_string< char, string > normalized_string
C++ type corresponding to the normalizedString XML Schema built-in type.
::xsd::cxx::tree::traits< el_type, char > el_traits
Element traits type.
Class corresponding to the subdomains schema type.
::xsd::cxx::tree::traits< v4_type, char > v4_traits
Attribute traits type.
virtual elements * _clone(::xml_schema::flags f=0,::xml_schema::container *c=0) const
Copy the instance polymorphically.
float float_
C++ type corresponding to the float XML Schema built-in type.
::XMLMesh::variables_type variables_type
Element type.
::xsd::cxx::tree::traits< inner_edges_type, char > inner_edges_traits
Element traits type.
bool boolean
C++ type corresponding to the boolean XML Schema built-in type.
::xsd::cxx::tree::traits< v2_type, char > v2_traits
Attribute traits type.
::xsd::cxx::tree::uri< char, simple_type > uri
C++ type corresponding to the anyURI XML Schema built-in type.
const v2_type & v2() const
Return a read-only (constant) reference to the attribute.
::xsd::cxx::tree::no_type_info< char > no_type_info
Exception indicating that the type information is not available for a type.
::xsd::cxx::tree::optional< refinements_type > refinements_optional
Element optional container type.
::xsd::cxx::tree::optional< boundary_edges_type > boundary_edges_optional
Element optional container type.
::xsd::cxx::tree::diagnostics< char > diagnostics
List of error conditions.
::xsd::cxx::tree::time_zone time_zone
Time zone type.
ed(const v1_type &, const v2_type &, const m_type &, const i_type &)
Create an instance from the ultimate base and initializers for required elements and attributes...
unsigned long long non_negative_integer
C++ type corresponding to the nonNegativeInteger XML Schema built-in type.
::xsd::cxx::tree::simple_type< type > simple_type
C++ type corresponding to the anySimpleType XML Schema built-in type.
Class corresponding to the q_t schema type.
::xsd::cxx::tree::unexpected_enumerator< char > unexpected_enumerator
Exception indicating that an unexpected enumerator was encountered.
i_sequence::iterator i_iterator
Element iterator type.
::xsd::cxx::tree::optional< elements_type > elements_optional
Element optional container type.
virtual ~subdomains()
Destructor.
const variables_optional & variables() const
Return a read-only (constant) reference to the element container.
unsigned long long positive_integer
C++ type corresponding to the positiveInteger XML Schema built-in type.
::xsd::cxx::tree::traits< v1_type, char > v1_traits
Attribute traits type.
vertices()
Create an instance from the ultimate base and initializers for required elements and attributes...
::xsd::cxx::tree::exception< char > exception
Root of the C++/Tree exception hierarchy.
::xsd::cxx::tree::facet facet
Simple type facet.
edges_type()
Create an instance from the ultimate base and initializers for required elements and attributes...
::xsd::cxx::tree::as_decimal< decimal > as_decimal
Serialization wrapper for the decimal type.
q_t(const v1_type &, const v2_type &, const v3_type &, const m_type &, const i_type &, const v4_type &)
Create an instance from the ultimate base and initializers for required elements and attributes...
::xsd::cxx::tree::expected_text_content< char > expected_text_content
Exception indicating that the text content was expected for an element.
::xsd::cxx::tree::unexpected_element< char > unexpected_element
Exception indicating that an unexpected element was encountered.
virtual el_t * _clone(::xml_schema::flags f=0,::xml_schema::container *c=0) const
Copy the instance polymorphically.
i_sequence::iterator i_iterator
Element iterator type.
::xsd::cxx::tree::traits< subdomains_type, char > subdomains_traits
Element traits type.
::XMLSubdomains::elements_type elements_type
Element type.
const i_type & i() const
Return a read-only (constant) reference to the attribute.
unsigned long long unsigned_long
C++ type corresponding to the unsignedLong XML Schema built-in type.
::XMLSubdomains::boundary_edges boundary_edges_type
Element type.
::xsd::cxx::tree::sequence< subdomain_type > subdomain_sequence
Element sequence container type.
const elements_optional & elements() const
Return a read-only (constant) reference to the element container.
::xsd::cxx::tree::time< char, simple_type > time
C++ type corresponding to the time XML Schema built-in type.
::xsd::cxx::tree::gmonth_day< char, simple_type > gmonth_day
C++ type corresponding to the gMonthDay XML Schema built-in type.
::xsd::cxx::tree::traits< m_type, char > m_traits
Attribute traits type.
::xsd::cxx::tree::traits< i_type, char > i_traits
Attribute traits type.
const ed_sequence & ed() const
Return a read-only (constant) reference to the element sequence.
::xsd::cxx::tree::sequence< ed_type > ed_sequence
Element sequence container type.
subdomain(const name_type &)
Create an instance from the ultimate base and initializers for required elements and attributes...
subdomain_sequence::const_iterator subdomain_const_iterator
Element constant iterator type.
::xsd::cxx::tree::traits< boundary_edges_type, char > boundary_edges_traits
Element traits type.
::xsd::cxx::tree::buffer< char > buffer
Binary buffer type.
t_t(const v1_type &, const v2_type &, const v3_type &, const m_type &, const i_type &)
Create an instance from the ultimate base and initializers for required elements and attributes...
const m_type & m() const
Return a read-only (constant) reference to the attribute.
const i_type & i() const
Return a read-only (constant) reference to the attribute.
el_t(const v1_type &, const v2_type &, const v3_type &, const m_type &, const i_type &)
Create an instance from the ultimate base and initializers for required elements and attributes...
::xsd::cxx::tree::type type
C++ type corresponding to the anyType XML Schema built-in type.
Class corresponding to the domain schema type.
const el_sequence & el() const
Return a read-only (constant) reference to the element sequence.
::xml_schema::integer v2_type
Attribute type.
i_sequence::const_iterator i_const_iterator
Element constant iterator type.
::XMLMesh::vertices_type vertices_type
Element type.
long long long_
C++ type corresponding to the long XML Schema built-in type.
::xsd::cxx::tree::base64_binary< char, simple_type > base64_binary
C++ type corresponding to the base64Binary XML Schema built-in type.
virtual ~q_t()
Destructor.
Class corresponding to the inner_edges schema type.
C++ namespace for the XMLSubdomains schema namespace.
Class corresponding to the vertices schema type.
::xsd::cxx::tree::expected_attribute< char > expected_attribute
Exception indicating that an expected attribute was not encountered.
::xsd::cxx::tree::duration< char, simple_type > duration
C++ type corresponding to the duration XML Schema built-in type.
const i_sequence & i() const
Return a read-only (constant) reference to the element sequence.
virtual ~t_t()
Destructor.
::xsd::cxx::tree::sequence< i_type > i_sequence
Element sequence container type.
Class corresponding to the edges_type schema type.
::xsd::cxx::tree::traits< elements_type, char > elements_traits
Element traits type.
::xsd::cxx::tree::gmonth< char, simple_type > gmonth
C++ type corresponding to the gMonth XML Schema built-in type.
int int_
C++ type corresponding to the int XML Schema built-in type.
virtual ~boundary_edges()
Destructor.
const subdomain_sequence & subdomain() const
Return a read-only (constant) reference to the element sequence.
::xsd::cxx::xml::dom::namespace_info< char > namespace_info
Namespace serialization information.
Generated from mesh_h2d_xml.xsd.
::xsd::cxx::tree::traits< curves_type, char > curves_traits
Element traits type.
el_sequence::iterator el_iterator
Element iterator type.
const inner_edges_optional & inner_edges() const
Return a read-only (constant) reference to the element container.
subdomain_sequence::iterator subdomain_iterator
Element iterator type.
::xml_schema::string m_type
Attribute type.
::xml_schema::integer i_type
Element type.
Class corresponding to the subdomain schema type.
const i_sequence & i() const
Return a read-only (constant) reference to the element sequence.
::xsd::cxx::tree::ncname< char, name > ncname
C++ type corresponding to the NCName XML Schema built-in type.
elements_type()
Create an instance from the ultimate base and initializers for required elements and attributes...
::xsd::cxx::tree::optional< variables_type > variables_optional
Element optional container type.
i_sequence::const_iterator i_const_iterator
Element constant iterator type.
virtual ~subdomain()
Destructor.
::xml_schema::string name_type
Attribute type.
::xsd::cxx::tree::optional< curves_type > curves_optional
Element optional container type.
::XMLSubdomains::subdomains subdomains_type
Element type.
::xsd::cxx::tree::traits< i_type, char > i_traits
Attribute traits type.
const v2_type & v2() const
Return a read-only (constant) reference to the attribute.
::xsd::cxx::tree::name< char, token > name
C++ type corresponding to the Name XML Schema built-in type.
::xsd::cxx::tree::hex_binary< char, simple_type > hex_binary
C++ type corresponding to the hexBinary XML Schema built-in type.
const name_type & name() const
Return a read-only (constant) reference to the attribute.
::xsd::cxx::xml::dom::namespace_infomap< char > namespace_infomap
Namespace serialization information map.
Class corresponding to the el_t schema type.
::xsd::cxx::tree::nmtokens< char, simple_type, nmtoken > nmtokens
C++ type corresponding to the NMTOKENS XML Schema built-in type.
i_sequence::const_iterator i_const_iterator
Element constant iterator type.
::xsd::cxx::tree::gyear< char, simple_type > gyear
C++ type corresponding to the gYear XML Schema built-in type.
const boundary_edges_optional & boundary_edges() const
Return a read-only (constant) reference to the element container.
::xsd::cxx::tree::traits< i_type, char > i_traits
Element traits type.
::XMLSubdomains::elements elements_type
Element type.
virtual subdomains * _clone(::xml_schema::flags f=0,::xml_schema::container *c=0) const
Copy the instance polymorphically.
::xsd::cxx::xml::error_handler< char > error_handler
Error handler callback interface.
::xsd::cxx::tree::serialization< char > serialization
Exception indicating a serialization failure.
const XMLCh *const tree_node_key
DOM user data key for back pointers to tree nodes.
::xsd::cxx::tree::properties< char > properties
Parsing properties.
virtual ~domain()
Destructor.
::xsd::cxx::tree::traits< v1_type, char > v1_traits
Attribute traits type.
const v1_type & v1() const
Return a read-only (constant) reference to the attribute.
::xsd::cxx::tree::traits< vertices_type, char > vertices_traits
Element traits type.
Class corresponding to the boundary_edges schema type.
::xsd::cxx::tree::sequence< i_type > i_sequence
Element sequence container type.
virtual ~el_t()
Destructor.
::xml_schema::integer i_type
Element type.
::xml_schema::integer i_type
Attribute type.
long long non_positive_integer
C++ type corresponding to the nonPositiveInteger XML Schema built-in type.
ed_sequence::const_iterator ed_const_iterator
Element constant iterator type.
::xsd::cxx::tree::traits< ed_type, char > ed_traits
Element traits type.
::xsd::cxx::tree::entity< char, ncname > entity
C++ type corresponding to the ENTITY XML Schema built-in type.
virtual ~edges_type()
Destructor.
virtual vertices * _clone(::xml_schema::flags f=0,::xml_schema::container *c=0) const
Copy the instance polymorphically.
signed char byte
C++ type corresponding to the byte XML Schema built-in type.
::xsd::cxx::tree::severity severity
Error severity.
virtual boundary_edges * _clone(::xml_schema::flags f=0,::xml_schema::container *c=0) const
Copy the instance polymorphically.
const refinements_optional & refinements() const
Return a read-only (constant) reference to the element container.
C++ namespace for the http://www.w3.org/2001/XMLSchema schema namespace.
::xsd::cxx::tree::traits< vertices_type, char > vertices_traits
Element traits type.
::xsd::cxx::tree::string< char, simple_type > string
C++ type corresponding to the string XML Schema built-in type.
::xsd::cxx::tree::traits< elements_type, char > elements_traits
Element traits type.
subdomains()
Create an instance from the ultimate base and initializers for required elements and attributes...
const v1_type & v1() const
Return a read-only (constant) reference to the attribute.
::xsd::cxx::tree::list_stream< char > list_stream
List serialization stream.
unsigned int unsigned_int
C++ type corresponding to the unsignedInt XML Schema built-in type.
i_sequence::const_iterator i_const_iterator
Element constant iterator type.
::xml_schema::integer i_type
Element type.
inner_edges()
Create an instance from the ultimate base and initializers for required elements and attributes...
::xsd::cxx::tree::gday< char, simple_type > gday
C++ type corresponding to the gDay XML Schema built-in type.
::xml_schema::integer v1_type
Attribute type.
::xsd::cxx::tree::sequence< i_type > i_sequence
Element sequence container type.
::xsd::cxx::tree::entities< char, simple_type, entity > entities
C++ type corresponding to the ENTITIES XML Schema built-in type.
elements()
Create an instance from the ultimate base and initializers for required elements and attributes...
unsigned char unsigned_byte
C++ type corresponding to the unsignedByte XML Schema built-in type.
virtual inner_edges * _clone(::xml_schema::flags f=0,::xml_schema::container *c=0) const
Copy the instance polymorphically.
domain(const vertices_type &, const elements_type &, const edges_type &, const subdomains_type &)
Create an instance from the ultimate base and initializers for required elements and attributes...
::xsd::cxx::tree::traits< v2_type, char > v2_traits
Attribute traits type.
::xsd::cxx::tree::date_time< char, simple_type > date_time
C++ type corresponding to the dateTime XML Schema built-in type.
double double_
C++ type corresponding to the double XML Schema built-in type.
::xsd::cxx::tree::traits< variables_type, char > variables_traits
Element traits type.
::XMLMesh::curves_type curves_type
Element type.
::xml_schema::string m_type
Attribute type.
const i_sequence & i() const
Return a read-only (constant) reference to the element sequence.
::xml_schema::integer v2_type
Attribute type.
virtual q_t * _clone(::xml_schema::flags f=0,::xml_schema::container *c=0) const
Copy the instance polymorphically.
::XMLSubdomains::el_t el_type
Element type.
const vertices_optional & vertices() const
Return a read-only (constant) reference to the element container.
::xml_schema::integer v3_type
Attribute type.
::XMLSubdomains::vertices vertices_type
Element type.
Class corresponding to the ed schema type.
::xsd::cxx::tree::gyear_month< char, simple_type > gyear_month
C++ type corresponding to the gYearMonth XML Schema built-in type.
::xsd::cxx::tree::type container
Alias for the anyType type.
::xml_schema::integer i_type
Attribute type.
::xsd::cxx::tree::idref< char, ncname, type > idref
C++ type corresponding to the IDREF XML Schema built-in type.
::xsd::cxx::tree::error< char > error
Error condition.
const m_type & m() const
Return a read-only (constant) reference to the attribute.
::xsd::cxx::tree::nmtoken< char, token > nmtoken
C++ type corresponding to the NMTOKEN XML Schema built-in type.
::xsd::cxx::tree::idrefs< char, simple_type, idref > idrefs
C++ type corresponding to the IDREFS XML Schema built-in type.
ed_sequence::iterator ed_iterator
Element iterator type.
::xsd::cxx::tree::sequence< i_type > i_sequence
Element sequence container type.
::xsd::cxx::tree::qname< char, simple_type, uri, ncname > qname
C++ type corresponding to the QName XML Schema built-in type.
::xml_schema::integer i_type
Element type.
virtual edges_type * _clone(::xml_schema::flags f=0,::xml_schema::container *c=0) const
Copy the instance polymorphically.
boundary_edges()
Create an instance from the ultimate base and initializers for required elements and attributes...
::xsd::cxx::tree::traits< name_type, char > name_traits
Attribute traits type.
el_sequence::const_iterator el_const_iterator
Element constant iterator type.
::XMLSubdomains::subdomain subdomain_type
Element type.
::xsd::cxx::tree::traits< i_type, char > i_traits
Element traits type.
::xsd::cxx::tree::not_derived< char > not_derived
Exception indicating that the types are not related by inheritance.
long long integer
C++ type corresponding to the integer XML Schema built-in type.
::xsd::cxx::tree::traits< i_type, char > i_traits
Element traits type.
::xsd::cxx::tree::token< char, normalized_string > token
C++ type corresponding to the token XML Schema built-in type.
::xsd::cxx::tree::traits< subdomain_type, char > subdomain_traits
Element traits type.
virtual domain * _clone(::xml_schema::flags f=0,::xml_schema::container *c=0) const
Copy the instance polymorphically.
::xsd::cxx::tree::as_double< double_ > as_double
Serialization wrapper for the double type.
const edges_type & edges() const
Return a read-only (constant) reference to the element.
::xsd::cxx::tree::traits< refinements_type, char > refinements_traits
Element traits type.
short short_
C++ type corresponding to the short XML Schema built-in type.
::xml_schema::integer v1_type
Attribute type.
::std::auto_ptr< ::XMLSubdomains::domain > domain_(const ::std::string &uri,::xml_schema::flags f=0, const ::xml_schema::properties &p=::xml_schema::properties())
Parse a URI or a local file.
virtual ed * _clone(::xml_schema::flags f=0,::xml_schema::container *c=0) const
Copy the instance polymorphically.
Class corresponding to the t_t schema type.
::xsd::cxx::tree::traits< edges_type, char > edges_traits
Element traits type.
unsigned short unsigned_short
C++ type corresponding to the unsignedShort XML Schema built-in type.
::xsd::cxx::tree::traits< m_type, char > m_traits
Attribute traits type.
::xml_schema::integer v4_type
Attribute type.
::xsd::cxx::tree::optional< vertices_type > vertices_optional
Element optional container type.
::XMLSubdomains::inner_edges inner_edges_type
Element type.
::XMLMesh::refinements_type refinements_type
Element type.
i_sequence::iterator i_iterator
Element iterator type.
double decimal
C++ type corresponding to the decimal XML Schema built-in type.
virtual subdomain * _clone(::xml_schema::flags f=0,::xml_schema::container *c=0) const
Copy the instance polymorphically.
const elements_type & elements() const
Return a read-only (constant) reference to the element.
::XMLSubdomains::ed ed_type
Element type.
::xsd::cxx::tree::sequence< el_type > el_sequence
Element sequence container type.
virtual elements_type * _clone(::xml_schema::flags f=0,::xml_schema::container *c=0) const
Copy the instance polymorphically.