Hermes2D  3.0
mesh_h1d_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_MESH_H1D_XML_H
40 #define XML_SCHEMAS_MESH_H1D_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 XMLMesh1D
625 {
626  class variables_type;
627  class mesh;
628  class var;
629  class v;
630 }
631 
632 
633 #include <memory> // std::auto_ptr
634 #include <limits> // std::numeric_limits
635 #include <algorithm> // std::binary_search
636 
637 #include <xsd/cxx/xml/char-utf8.hxx>
638 
639 #include <xsd/cxx/tree/exceptions.hxx>
640 #include <xsd/cxx/tree/elements.hxx>
641 #include <xsd/cxx/tree/containers.hxx>
642 #include <xsd/cxx/tree/list.hxx>
643 
644 #include <xsd/cxx/xml/dom/parsing-header.hxx>
645 
650 namespace XMLMesh1D
651 {
658  {
659  public:
667 
671  typedef ::XMLMesh1D::var var_type;
672 
676  typedef ::xsd::cxx::tree::sequence< var_type > var_sequence;
677 
681  typedef var_sequence::iterator var_iterator;
682 
686  typedef var_sequence::const_iterator var_const_iterator;
687 
691  typedef ::xsd::cxx::tree::traits< var_type, char > var_traits;
692 
699  const var_sequence&
700  var () const;
701 
707  var_sequence&
708  var ();
709 
719  void
720  var (const var_sequence& s);
721 
723 
728 
733  variables_type ();
734 
743  variables_type (const ::xercesc::DOMElement& e,
744  ::xml_schema::flags f = 0,
745  ::xml_schema::container* c = 0);
746 
756  variables_type (const variables_type& x,
757  ::xml_schema::flags f = 0,
758  ::xml_schema::container* c = 0);
759 
771  virtual variables_type*
772  _clone (::xml_schema::flags f = 0,
773  ::xml_schema::container* c = 0) const;
774 
776 
780  virtual
781  ~variables_type ();
782 
783  // Implementation.
784  //
785 
786  //@cond
787 
788  protected:
789  void
790  parse (::xsd::cxx::xml::dom::parser< char >&,
792 
793  protected:
794  var_sequence var_;
795 
796  //@endcond
797  };
798 
804  class mesh: public ::xml_schema::type
805  {
806  public:
814 
818  typedef ::XMLMesh1D::variables_type variables_type;
819 
823  typedef ::xsd::cxx::tree::optional< variables_type > variables_optional;
824 
828  typedef ::xsd::cxx::tree::traits< variables_type, char > variables_traits;
829 
836  const variables_optional&
837  variables () const;
838 
844  variables_optional&
845  variables ();
846 
855  void
856  variables (const variables_type& x);
857 
867  void
868  variables (const variables_optional& x);
869 
878  void
879  variables (::std::auto_ptr< variables_type > p);
880 
882 
890 
894  typedef ::XMLMesh1D::v v_type;
895 
899  typedef ::xsd::cxx::tree::sequence< v_type > v_sequence;
900 
904  typedef v_sequence::iterator v_iterator;
905 
909  typedef v_sequence::const_iterator v_const_iterator;
910 
914  typedef ::xsd::cxx::tree::traits< v_type, char > v_traits;
915 
922  const v_sequence&
923  v () const;
924 
930  v_sequence&
931  v ();
932 
942  void
943  v (const v_sequence& s);
944 
946 
951 
956  mesh ();
957 
966  mesh (const ::xercesc::DOMElement& e,
967  ::xml_schema::flags f = 0,
968  ::xml_schema::container* c = 0);
969 
979  mesh (const mesh& x,
980  ::xml_schema::flags f = 0,
981  ::xml_schema::container* c = 0);
982 
994  virtual mesh*
995  _clone (::xml_schema::flags f = 0,
996  ::xml_schema::container* c = 0) const;
997 
999 
1003  virtual
1004  ~mesh ();
1005 
1006  // Implementation.
1007  //
1008 
1009  //@cond
1010 
1011  protected:
1012  void
1013  parse (::xsd::cxx::xml::dom::parser< char >&,
1014  ::xml_schema::flags);
1015 
1016  protected:
1017  variables_optional variables_;
1018  v_sequence v_;
1019 
1020  //@endcond
1021  };
1022 
1028  class var: public ::xml_schema::type
1029  {
1030  public:
1038 
1043 
1047  typedef ::xsd::cxx::tree::traits< name_type, char > name_traits;
1048 
1054  const name_type&
1055  name () const;
1056 
1062  name_type&
1063  name ();
1064 
1073  void
1074  name (const name_type& x);
1075 
1084  void
1085  name (::std::auto_ptr< name_type > p);
1086 
1088 
1096 
1101 
1105  typedef ::xsd::cxx::tree::traits< value_type, char, ::xsd::cxx::tree::schema_type::decimal > value_traits;
1106 
1112  const value_type&
1113  value () const;
1114 
1120  value_type&
1121  value ();
1122 
1131  void
1132  value (const value_type& x);
1133 
1135 
1140 
1145  var (const name_type&,
1146  const value_type&);
1147 
1156  var (const ::xercesc::DOMElement& e,
1157  ::xml_schema::flags f = 0,
1158  ::xml_schema::container* c = 0);
1159 
1169  var (const var& x,
1170  ::xml_schema::flags f = 0,
1171  ::xml_schema::container* c = 0);
1172 
1184  virtual var*
1185  _clone (::xml_schema::flags f = 0,
1186  ::xml_schema::container* c = 0) const;
1187 
1189 
1193  virtual
1194  ~var ();
1195 
1196  // Implementation.
1197  //
1198 
1199  //@cond
1200 
1201  protected:
1202  void
1203  parse (::xsd::cxx::xml::dom::parser< char >&,
1204  ::xml_schema::flags);
1205 
1206  protected:
1207  ::xsd::cxx::tree::one< name_type > name_;
1208  ::xsd::cxx::tree::one< value_type > value_;
1209 
1210  //@endcond
1211  };
1212 
1218  class v: public ::xml_schema::type
1219  {
1220  public:
1228 
1233 
1237  typedef ::xsd::cxx::tree::traits< x_type, char > x_traits;
1238 
1244  const x_type&
1245  x () const;
1246 
1252  x_type&
1253  x ();
1254 
1263  void
1264  x (const x_type& x);
1265 
1274  void
1275  x (::std::auto_ptr< x_type > p);
1276 
1278 
1286 
1291 
1295  typedef ::xsd::cxx::tree::optional< m_type > m_optional;
1296 
1300  typedef ::xsd::cxx::tree::traits< m_type, char > m_traits;
1301 
1308  const m_optional&
1309  m () const;
1310 
1316  m_optional&
1317  m ();
1318 
1327  void
1328  m (const m_type& x);
1329 
1339  void
1340  m (const m_optional& x);
1341 
1350  void
1351  m (::std::auto_ptr< m_type > p);
1352 
1354 
1359 
1364  v (const x_type&);
1365 
1374  v (const ::xercesc::DOMElement& e,
1375  ::xml_schema::flags f = 0,
1376  ::xml_schema::container* c = 0);
1377 
1387  v (const v& x,
1388  ::xml_schema::flags f = 0,
1389  ::xml_schema::container* c = 0);
1390 
1402  virtual v*
1403  _clone (::xml_schema::flags f = 0,
1404  ::xml_schema::container* c = 0) const;
1405 
1407 
1411  virtual
1412  ~v ();
1413 
1414  // Implementation.
1415  //
1416 
1417  //@cond
1418 
1419  protected:
1420  void
1421  parse (::xsd::cxx::xml::dom::parser< char >&,
1422  ::xml_schema::flags);
1423 
1424  protected:
1425  ::xsd::cxx::tree::one< x_type > x_;
1426  m_optional m_;
1427 
1428  //@endcond
1429  };
1430 }
1431 
1432 #include <iosfwd>
1433 
1434 namespace XMLMesh1D
1435 {
1436  ::std::ostream&
1437  operator<< (::std::ostream&, const variables_type&);
1438 
1439  ::std::ostream&
1440  operator<< (::std::ostream&, const mesh&);
1441 
1442  ::std::ostream&
1443  operator<< (::std::ostream&, const var&);
1444 
1445  ::std::ostream&
1446  operator<< (::std::ostream&, const v&);
1447 }
1448 
1449 #include <iosfwd>
1450 
1451 #include <xercesc/sax/InputSource.hpp>
1452 #include <xercesc/dom/DOMDocument.hpp>
1453 #include <xercesc/dom/DOMErrorHandler.hpp>
1454 
1455 namespace XMLMesh1D
1456 {
1461 
1472  ::std::auto_ptr< ::XMLMesh1D::mesh >
1474  ::xml_schema::flags f = 0,
1476 
1488  ::std::auto_ptr< ::XMLMesh1D::mesh >
1489  mesh_ (const ::std::string& uri,
1491  ::xml_schema::flags f = 0,
1493 
1506  ::std::auto_ptr< ::XMLMesh1D::mesh >
1507  mesh_ (const ::std::string& uri,
1508  ::xercesc::DOMErrorHandler& eh,
1509  ::xml_schema::flags f = 0,
1511 
1522  ::std::auto_ptr< ::XMLMesh1D::mesh >
1523  mesh_ (::std::istream& is,
1524  ::xml_schema::flags f = 0,
1526 
1538  ::std::auto_ptr< ::XMLMesh1D::mesh >
1539  mesh_ (::std::istream& is,
1541  ::xml_schema::flags f = 0,
1543 
1556  ::std::auto_ptr< ::XMLMesh1D::mesh >
1557  mesh_ (::std::istream& is,
1558  ::xercesc::DOMErrorHandler& eh,
1559  ::xml_schema::flags f = 0,
1561 
1576  ::std::auto_ptr< ::XMLMesh1D::mesh >
1577  mesh_ (::std::istream& is,
1578  const ::std::string& id,
1579  ::xml_schema::flags f = 0,
1581 
1598  ::std::auto_ptr< ::XMLMesh1D::mesh >
1599  mesh_ (::std::istream& is,
1600  const ::std::string& id,
1602  ::xml_schema::flags f = 0,
1604 
1621  ::std::auto_ptr< ::XMLMesh1D::mesh >
1622  mesh_ (::std::istream& is,
1623  const ::std::string& id,
1624  ::xercesc::DOMErrorHandler& eh,
1625  ::xml_schema::flags f = 0,
1627 
1638  ::std::auto_ptr< ::XMLMesh1D::mesh >
1639  mesh_ (::xercesc::InputSource& is,
1640  ::xml_schema::flags f = 0,
1642 
1654  ::std::auto_ptr< ::XMLMesh1D::mesh >
1655  mesh_ (::xercesc::InputSource& is,
1657  ::xml_schema::flags f = 0,
1659 
1672  ::std::auto_ptr< ::XMLMesh1D::mesh >
1673  mesh_ (::xercesc::InputSource& is,
1674  ::xercesc::DOMErrorHandler& eh,
1675  ::xml_schema::flags f = 0,
1677 
1686  ::std::auto_ptr< ::XMLMesh1D::mesh >
1687  mesh_ (const ::xercesc::DOMDocument& d,
1688  ::xml_schema::flags f = 0,
1690 
1703  ::std::auto_ptr< ::XMLMesh1D::mesh >
1704  mesh_ (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument >& d,
1705  ::xml_schema::flags f = 0,
1707 
1709 }
1710 
1711 #include <iosfwd>
1712 
1713 #include <xercesc/dom/DOMDocument.hpp>
1714 #include <xercesc/dom/DOMErrorHandler.hpp>
1715 #include <xercesc/framework/XMLFormatter.hpp>
1716 
1717 #include <xsd/cxx/xml/dom/auto-ptr.hxx>
1718 
1719 namespace XMLMesh1D
1720 {
1725 
1737  void
1738  mesh_ (::std::ostream& os,
1739  const ::XMLMesh1D::mesh& x,
1741  const ::std::string& e = "UTF-8",
1742  ::xml_schema::flags f = 0);
1743 
1757  void
1758  mesh_ (::std::ostream& os,
1759  const ::XMLMesh1D::mesh& x,
1762  const ::std::string& e = "UTF-8",
1763  ::xml_schema::flags f = 0);
1764 
1779  void
1780  mesh_ (::std::ostream& os,
1781  const ::XMLMesh1D::mesh& x,
1782  ::xercesc::DOMErrorHandler& eh,
1784  const ::std::string& e = "UTF-8",
1785  ::xml_schema::flags f = 0);
1786 
1798  void
1799  mesh_ (::xercesc::XMLFormatTarget& ft,
1800  const ::XMLMesh1D::mesh& x,
1802  const ::std::string& e = "UTF-8",
1803  ::xml_schema::flags f = 0);
1804 
1819  void
1820  mesh_ (::xercesc::XMLFormatTarget& ft,
1821  const ::XMLMesh1D::mesh& x,
1824  const ::std::string& e = "UTF-8",
1825  ::xml_schema::flags f = 0);
1826 
1841  void
1842  mesh_ (::xercesc::XMLFormatTarget& ft,
1843  const ::XMLMesh1D::mesh& x,
1844  ::xercesc::DOMErrorHandler& eh,
1846  const ::std::string& e = "UTF-8",
1847  ::xml_schema::flags f = 0);
1848 
1860  void
1861  mesh_ (::xercesc::DOMDocument& d,
1862  const ::XMLMesh1D::mesh& x,
1863  ::xml_schema::flags f = 0);
1864 
1873  ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument >
1874  mesh_ (const ::XMLMesh1D::mesh& x,
1876  ::xml_schema::flags f = 0);
1877 
1879 
1880  void
1881  operator<< (::xercesc::DOMElement&, const variables_type&);
1882 
1883  void
1884  operator<< (::xercesc::DOMElement&, const mesh&);
1885 
1886  void
1887  operator<< (::xercesc::DOMElement&, const var&);
1888 
1889  void
1890  operator<< (::xercesc::DOMElement&, const v&);
1891 }
1892 
1893 #include <xsd/cxx/post.hxx>
1894 
1895 // Begin epilogue.
1896 //
1897 //
1898 // End epilogue.
1899 
1900 #endif // XML_SCHEMAS_MESH_H1D_XML_H
::xsd::cxx::tree::id< char, ncname > id
C++ type corresponding to the ID XML Schema built-in type.
long long negative_integer
C++ type corresponding to the negativeInteger XML Schema built-in type.
::xml_schema::string m_type
Attribute type.
virtual mesh * _clone(::xml_schema::flags f=0,::xml_schema::container *c=0) const
Copy the instance polymorphically.
::XMLMesh1D::variables_type variables_type
Element type.
Definition: mesh_h1d_xml.h:818
::xsd::cxx::tree::parsing< char > parsing
Exception indicating a parsing failure.
::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.
::XMLMesh1D::v v_type
Element type.
Definition: mesh_h1d_xml.h:894
::xsd::cxx::tree::no_prefix_mapping< char > no_prefix_mapping
Exception indicating that a prefix-namespace mapping was not provided.
::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.
::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.
virtual ~mesh()
Destructor.
::xsd::cxx::tree::normalized_string< char, string > normalized_string
C++ type corresponding to the normalizedString XML Schema built-in type.
::xml_schema::decimal value_type
Attribute type.
::xsd::cxx::tree::traits< var_type, char > var_traits
Element traits type.
Definition: mesh_h1d_xml.h:691
virtual v * _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.
v_sequence::iterator v_iterator
Element iterator type.
Definition: mesh_h1d_xml.h:904
bool boolean
C++ type corresponding to the boolean XML Schema built-in type.
::xsd::cxx::tree::traits< variables_type, char > variables_traits
Element traits type.
Definition: mesh_h1d_xml.h:828
::xsd::cxx::tree::uri< char, simple_type > uri
C++ type corresponding to the anyURI XML Schema built-in type.
virtual ~v()
Destructor.
Class corresponding to the v schema type.
::xsd::cxx::tree::no_type_info< char > no_type_info
Exception indicating that the type information is not available for a type.
C++ namespace for the XMLMesh1D schema namespace.
Definition: mesh_h1d_xml.h:624
::xsd::cxx::tree::diagnostics< char > diagnostics
List of error conditions.
::xsd::cxx::tree::time_zone time_zone
Time zone type.
virtual ~variables_type()
Destructor.
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.
::xsd::cxx::tree::unexpected_enumerator< char > unexpected_enumerator
Exception indicating that an unexpected enumerator was encountered.
unsigned long long positive_integer
C++ type corresponding to the positiveInteger XML Schema built-in type.
::xsd::cxx::tree::exception< char > exception
Root of the C++/Tree exception hierarchy.
::xsd::cxx::tree::facet facet
Simple type facet.
::xsd::cxx::tree::as_decimal< decimal > as_decimal
Serialization wrapper for the decimal type.
::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.
unsigned long long unsigned_long
C++ type corresponding to the unsignedLong XML Schema built-in type.
::xml_schema::string name_type
Attribute type.
::xsd::cxx::tree::traits< name_type, char > name_traits
Attribute traits type.
::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::buffer< char > buffer
Binary buffer type.
::xsd::cxx::tree::type type
C++ type corresponding to the anyType XML Schema built-in type.
const m_optional & m() const
Return a read-only (constant) reference to the attribute container.
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.
Class corresponding to the mesh schema type.
Definition: mesh_h1d_xml.h:804
::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.
::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.
::std::auto_ptr< ::XMLMesh1D::mesh > mesh_(const ::std::string &uri,::xml_schema::flags f=0, const ::xml_schema::properties &p=::xml_schema::properties())
Parse a URI or a local file.
v(const x_type &)
Create an instance from the ultimate base and initializers for required elements and attributes...
::xsd::cxx::xml::dom::namespace_info< char > namespace_info
Namespace serialization information.
const value_type & value() const
Return a read-only (constant) reference to the attribute.
::xsd::cxx::tree::ncname< char, name > ncname
C++ type corresponding to the NCName XML Schema built-in type.
virtual ~var()
Destructor.
::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.
::xsd::cxx::xml::dom::namespace_infomap< char > namespace_infomap
Namespace serialization information map.
v_sequence::const_iterator v_const_iterator
Element constant iterator type.
Definition: mesh_h1d_xml.h:909
::xsd::cxx::tree::nmtokens< char, simple_type, nmtoken > nmtokens
C++ type corresponding to the NMTOKENS XML Schema built-in type.
::xsd::cxx::tree::gyear< char, simple_type > gyear
C++ type corresponding to the gYear XML Schema built-in type.
::xsd::cxx::tree::optional< m_type > m_optional
Attribute optional container type.
::xsd::cxx::xml::error_handler< char > error_handler
Error handler callback interface.
::xsd::cxx::tree::sequence< v_type > v_sequence
Element sequence container type.
Definition: mesh_h1d_xml.h:899
::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.
::xsd::cxx::tree::traits< x_type, char > x_traits
Attribute traits type.
Class corresponding to the var schema type.
long long non_positive_integer
C++ type corresponding to the nonPositiveInteger XML Schema built-in type.
virtual var * _clone(::xml_schema::flags f=0,::xml_schema::container *c=0) const
Copy the instance polymorphically.
::xsd::cxx::tree::entity< char, ncname > entity
C++ type corresponding to the ENTITY XML Schema built-in type.
signed char byte
C++ type corresponding to the byte XML Schema built-in type.
::xsd::cxx::tree::severity severity
Error severity.
const v_sequence & v() const
Return a read-only (constant) reference to the element sequence.
const x_type & x() const
Return a read-only (constant) reference to the attribute.
virtual variables_type * _clone(::xml_schema::flags f=0,::xml_schema::container *c=0) const
Copy the instance polymorphically.
::xsd::cxx::tree::optional< variables_type > variables_optional
Element optional container type.
Definition: mesh_h1d_xml.h:823
var_sequence::const_iterator var_const_iterator
Element constant iterator type.
Definition: mesh_h1d_xml.h:686
const name_type & name() const
Return a read-only (constant) reference to the attribute.
C++ namespace for the http://www.w3.org/2001/XMLSchema schema namespace.
::xsd::cxx::tree::string< char, simple_type > string
C++ type corresponding to the string XML Schema built-in type.
const var_sequence & var() const
Return a read-only (constant) reference to the element sequence.
::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.
::xsd::cxx::tree::gday< char, simple_type > gday
C++ type corresponding to the gDay XML Schema built-in type.
var_sequence::iterator var_iterator
Element iterator type.
Definition: mesh_h1d_xml.h:681
::xsd::cxx::tree::entities< char, simple_type, entity > entities
C++ type corresponding to the ENTITIES XML Schema built-in type.
unsigned char unsigned_byte
C++ type corresponding to the unsignedByte XML Schema built-in type.
::xsd::cxx::tree::traits< v_type, char > v_traits
Element traits type.
Definition: mesh_h1d_xml.h:914
variables_type()
Create an instance from the ultimate base and initializers for required elements and attributes...
::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.
Class corresponding to the variables_type schema type.
Definition: mesh_h1d_xml.h:657
::xsd::cxx::tree::traits< value_type, char,::xsd::cxx::tree::schema_type::decimal > value_traits
Attribute traits 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.
::XMLMesh1D::var var_type
Element type.
Definition: mesh_h1d_xml.h:671
::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.
::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.
::xsd::cxx::tree::qname< char, simple_type, uri, ncname > qname
C++ type corresponding to the QName XML Schema built-in type.
const variables_optional & variables() const
Return a read-only (constant) reference to the element container.
::xsd::cxx::tree::not_derived< char > not_derived
Exception indicating that the types are not related by inheritance.
::xsd::cxx::tree::sequence< var_type > var_sequence
Element sequence container type.
Definition: mesh_h1d_xml.h:676
long long integer
C++ type corresponding to the integer XML Schema built-in type.
::xsd::cxx::tree::token< char, normalized_string > token
C++ type corresponding to the token XML Schema built-in type.
::xsd::cxx::tree::traits< m_type, char > m_traits
Attribute traits type.
::xsd::cxx::tree::as_double< double_ > as_double
Serialization wrapper for the double type.
::xml_schema::string x_type
Attribute type.
short short_
C++ type corresponding to the short XML Schema built-in type.
mesh()
Create an instance from the ultimate base and initializers for required elements and attributes...
unsigned short unsigned_short
C++ type corresponding to the unsignedShort XML Schema built-in type.
var(const name_type &, const value_type &)
Create an instance from the ultimate base and initializers for required elements and attributes...
double decimal
C++ type corresponding to the decimal XML Schema built-in type.