39 #include <xsd/cxx/pre.hxx>
51 return this->mono_coeffs_;
57 return this->mono_coeffs_;
63 this->mono_coeffs_ = s;
69 return this->elem_orders_;
75 return this->elem_orders_;
81 this->elem_orders_ = s;
87 return this->component_;
93 return this->component_;
105 return this->ncmp_.get ();
111 return this->ncmp_.get ();
123 return this->nel_.get ();
129 return this->nel_.get ();
141 return this->nc_.get ();
147 return this->nc_.get ();
159 return this->exact_.get ();
165 return this->exact_.get ();
171 this->exact_.set (x);
177 return this->exactC_.get ();
183 return this->exactC_.get ();
189 this->exactC_.set (x);
195 return this->exactCXR_;
201 return this->exactCXR_;
207 this->exactCXR_.set (x);
219 return this->exactCYR_;
225 return this->exactCYR_;
231 this->exactCYR_.set (x);
243 return this->exactCXC_;
249 return this->exactCXC_;
255 this->exactCXC_.set (x);
267 return this->exactCYC_;
273 return this->exactCYC_;
279 this->exactCYC_.set (x);
313 space (::std::auto_ptr< space_type > x)
325 return this->id_.get ();
331 return this->id_.get ();
343 return this->re_.get ();
349 return this->re_.get ();
389 return this->id_.get ();
395 return this->id_.get ();
407 return this->ord_.get ();
413 return this->ord_.get ();
429 return this->elem_coeffs_;
435 return this->elem_coeffs_;
441 this->elem_coeffs_ = s;
447 return this->component_number_;
453 return this->component_number_;
459 this->component_number_.set (x);
465 this->component_number_ = x;
475 return this->id_.get ();
481 return this->id_.get ();
493 return this->c_.get ();
499 return this->c_.get ();
509 #include <xsd/cxx/xml/dom/parsing-source.hxx>
511 #include <xsd/cxx/tree/type-factory-map.hxx>
516 const ::xsd::cxx::tree::type_factory_plate< 0, char >
517 type_factory_plate_init;
553 mono_coeffs_ (x.mono_coeffs_, f, this),
554 elem_orders_ (x.elem_orders_, f, this),
555 component_ (x.component_, f, this),
556 ncmp_ (x.ncmp_, f, this),
557 nel_ (x.nel_, f, this),
558 nc_ (x.nc_, f, this),
559 exact_ (x.exact_, f, this),
560 exactC_ (x.exactC_, f, this),
561 exactCXR_ (x.exactCXR_, f, this),
562 exactCYR_ (x.exactCYR_, f, this),
563 exactCXC_ (x.exactCXC_, f, this),
564 exactCYC_ (x.exactCYC_, f, this),
574 mono_coeffs_ (f, this),
575 elem_orders_ (f, this),
576 component_ (f, this),
588 if ((f & ::xml_schema::flags::base) == 0)
590 ::xsd::cxx::xml::dom::parser< char > p (e,
true,
true);
596 parse (::xsd::cxx::xml::dom::parser< char >& p,
599 for (; p.more_elements (); p.next_element ())
601 const ::xercesc::DOMElement& i (p.cur_element ());
602 const ::xsd::cxx::xml::qualified_name< char > n (
603 ::xsd::cxx::xml::dom::name< char > (i));
607 if (n.name () ==
"mono_coeffs" && n.namespace_ ().empty ())
609 ::std::auto_ptr< mono_coeffs_type > r (
610 mono_coeffs_traits::create (i, f,
this));
612 this->mono_coeffs_.push_back (r);
618 if (n.name () ==
"elem_orders" && n.namespace_ ().empty ())
620 ::std::auto_ptr< elem_orders_type > r (
621 elem_orders_traits::create (i, f,
this));
623 this->elem_orders_.push_back (r);
629 if (n.name () ==
"component" && n.namespace_ ().empty ())
631 ::std::auto_ptr< component_type > r (
632 component_traits::create (i, f,
this));
634 this->component_.push_back (r);
641 while (p.more_attributes ())
643 const ::xercesc::DOMAttr& i (p.next_attribute ());
644 const ::xsd::cxx::xml::qualified_name< char > n (
645 ::xsd::cxx::xml::dom::name< char > (i));
647 if (n.name () ==
"ncmp" && n.namespace_ ().empty ())
649 this->ncmp_.set (ncmp_traits::create (i, f,
this));
653 if (n.name () ==
"nel" && n.namespace_ ().empty ())
655 this->nel_.set (nel_traits::create (i, f,
this));
659 if (n.name () ==
"nc" && n.namespace_ ().empty ())
661 this->nc_.set (nc_traits::create (i, f,
this));
665 if (n.name () ==
"exact" && n.namespace_ ().empty ())
667 this->exact_.set (exact_traits::create (i, f,
this));
671 if (n.name () ==
"exactC" && n.namespace_ ().empty ())
673 this->exactC_.set (exactC_traits::create (i, f,
this));
677 if (n.name () ==
"exactCXR" && n.namespace_ ().empty ())
679 this->exactCXR_.set (exactCXR_traits::create (i, f,
this));
683 if (n.name () ==
"exactCYR" && n.namespace_ ().empty ())
685 this->exactCYR_.set (exactCYR_traits::create (i, f,
this));
689 if (n.name () ==
"exactCXC" && n.namespace_ ().empty ())
691 this->exactCXC_.set (exactCXC_traits::create (i, f,
this));
695 if (n.name () ==
"exactCYC" && n.namespace_ ().empty ())
697 this->exactCYC_.set (exactCYC_traits::create (i, f,
this));
701 if (n.name () ==
"space" && n.namespace_ ().empty ())
703 ::std::auto_ptr< space_type > r (
704 space_traits::create (i, f,
this));
711 if (!ncmp_.present ())
713 throw ::xsd::cxx::tree::expected_attribute< char > (
718 if (!nel_.present ())
720 throw ::xsd::cxx::tree::expected_attribute< char > (
727 throw ::xsd::cxx::tree::expected_attribute< char > (
732 if (!exact_.present ())
734 throw ::xsd::cxx::tree::expected_attribute< char > (
739 if (!exactC_.present ())
741 throw ::xsd::cxx::tree::expected_attribute< char > (
751 return new class solution (*
this, f, c);
777 id_ (x.id_, f, this),
778 re_ (x.re_, f, this),
792 if ((f & ::xml_schema::flags::base) == 0)
794 ::xsd::cxx::xml::dom::parser< char > p (e,
false,
true);
800 parse (::xsd::cxx::xml::dom::parser< char >& p,
803 while (p.more_attributes ())
805 const ::xercesc::DOMAttr& i (p.next_attribute ());
806 const ::xsd::cxx::xml::qualified_name< char > n (
807 ::xsd::cxx::xml::dom::name< char > (i));
809 if (n.name () ==
"id" && n.namespace_ ().empty ())
811 this->id_.set (id_traits::create (i, f,
this));
815 if (n.name () ==
"re" && n.namespace_ ().empty ())
817 this->re_.set (re_traits::create (i, f,
this));
821 if (n.name () ==
"im" && n.namespace_ ().empty ())
823 this->im_.set (im_traits::create (i, f,
this));
830 throw ::xsd::cxx::tree::expected_attribute< char > (
837 throw ::xsd::cxx::tree::expected_attribute< char > (
872 id_ (x.id_, f, this),
873 ord_ (x.ord_, f, this)
885 if ((f & ::xml_schema::flags::base) == 0)
887 ::xsd::cxx::xml::dom::parser< char > p (e,
false,
true);
893 parse (::xsd::cxx::xml::dom::parser< char >& p,
896 while (p.more_attributes ())
898 const ::xercesc::DOMAttr& i (p.next_attribute ());
899 const ::xsd::cxx::xml::qualified_name< char > n (
900 ::xsd::cxx::xml::dom::name< char > (i));
902 if (n.name () ==
"id" && n.namespace_ ().empty ())
904 this->id_.set (id_traits::create (i, f,
this));
908 if (n.name () ==
"ord" && n.namespace_ ().empty ())
910 this->ord_.set (ord_traits::create (i, f,
this));
917 throw ::xsd::cxx::tree::expected_attribute< char > (
922 if (!ord_.present ())
924 throw ::xsd::cxx::tree::expected_attribute< char > (
958 elem_coeffs_ (x.elem_coeffs_, f, this),
959 component_number_ (x.component_number_, f, this)
968 elem_coeffs_ (f, this),
969 component_number_ (f, this)
971 if ((f & ::xml_schema::flags::base) == 0)
973 ::xsd::cxx::xml::dom::parser< char > p (e,
true,
true);
979 parse (::xsd::cxx::xml::dom::parser< char >& p,
982 for (; p.more_elements (); p.next_element ())
984 const ::xercesc::DOMElement& i (p.cur_element ());
985 const ::xsd::cxx::xml::qualified_name< char > n (
986 ::xsd::cxx::xml::dom::name< char > (i));
990 if (n.name () ==
"elem_coeffs" && n.namespace_ ().empty ())
992 ::std::auto_ptr< elem_coeffs_type > r (
993 elem_coeffs_traits::create (i, f,
this));
995 this->elem_coeffs_.push_back (r);
1002 while (p.more_attributes ())
1004 const ::xercesc::DOMAttr& i (p.next_attribute ());
1005 const ::xsd::cxx::xml::qualified_name< char > n (
1006 ::xsd::cxx::xml::dom::name< char > (i));
1008 if (n.name () ==
"component_number" && n.namespace_ ().empty ())
1010 this->component_number_.set (component_number_traits::create (i, f,
this));
1020 return new class component (*
this, f, c);
1045 id_ (x.id_, f, this),
1058 if ((f & ::xml_schema::flags::base) == 0)
1060 ::xsd::cxx::xml::dom::parser< char > p (e,
false,
true);
1066 parse (::xsd::cxx::xml::dom::parser< char >& p,
1069 while (p.more_attributes ())
1071 const ::xercesc::DOMAttr& i (p.next_attribute ());
1072 const ::xsd::cxx::xml::qualified_name< char > n (
1073 ::xsd::cxx::xml::dom::name< char > (i));
1075 if (n.name () ==
"id" && n.namespace_ ().empty ())
1077 this->id_.set (id_traits::create (i, f,
this));
1081 if (n.name () ==
"c" && n.namespace_ ().empty ())
1083 this->c_.set (c_traits::create (i, f,
this));
1088 if (!id_.present ())
1090 throw ::xsd::cxx::tree::expected_attribute< char > (
1097 throw ::xsd::cxx::tree::expected_attribute< char > (
1118 #include <xsd/cxx/tree/std-ostream-map.hxx>
1123 const ::xsd::cxx::tree::std_ostream_plate< 0, char >
1124 std_ostream_plate_init;
1130 operator<< (::std::ostream& o,
const solution& i)
1133 b (i.mono_coeffs ().begin ()), e (i.mono_coeffs ().end ());
1136 o << ::std::endl <<
"mono_coeffs: " << *b;
1140 b (i.elem_orders ().begin ()), e (i.elem_orders ().end ());
1143 o << ::std::endl <<
"elem_orders: " << *b;
1147 b (i.component ().begin ()), e (i.component ().end ());
1150 o << ::std::endl <<
"component: " << *b;
1153 o << ::std::endl <<
"ncmp: " << i.ncmp ();
1154 o << ::std::endl <<
"nel: " << i.nel ();
1155 o << ::std::endl <<
"nc: " << i.nc ();
1156 o << ::std::endl <<
"exact: " << i.exact ();
1157 o << ::std::endl <<
"exactC: " << i.exactC ();
1160 o << ::std::endl <<
"exactCXR: " << *i.exactCXR ();
1165 o << ::std::endl <<
"exactCYR: " << *i.exactCYR ();
1170 o << ::std::endl <<
"exactCXC: " << *i.exactCXC ();
1175 o << ::std::endl <<
"exactCYC: " << *i.exactCYC ();
1180 o << ::std::endl <<
"space: " << *i.space ();
1187 operator<< (::std::ostream& o,
const mono_coeffs& i)
1189 o << ::std::endl <<
"id: " << i.id ();
1190 o << ::std::endl <<
"re: " << i.re ();
1193 o << ::std::endl <<
"im: " << *i.im ();
1200 operator<< (::std::ostream& o,
const elem_orders& i)
1202 o << ::std::endl <<
"id: " << i.id ();
1203 o << ::std::endl <<
"ord: " << i.ord ();
1208 operator<< (::std::ostream& o,
const component& i)
1211 b (i.elem_coeffs ().begin ()), e (i.elem_coeffs ().end ());
1214 o << ::std::endl <<
"elem_coeffs: " << *b;
1217 if (i.component_number ())
1219 o << ::std::endl <<
"component_number: " << *i.component_number ();
1226 operator<< (::std::ostream& o,
const elem_coeffs& i)
1228 o << ::std::endl <<
"id: " << i.id ();
1229 o << ::std::endl <<
"c: " << i.c ();
1235 #include <xsd/cxx/xml/sax/std-input-source.hxx>
1236 #include <xsd/cxx/tree/error-handler.hxx>
1240 ::std::auto_ptr< ::XMLSolution::solution >
1245 ::xsd::cxx::xml::auto_initializer i (
1246 (f & ::xml_schema::flags::dont_initialize) == 0,
1247 (f & ::xml_schema::flags::keep_dom) == 0);
1249 ::xsd::cxx::tree::error_handler< char > h;
1251 ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d (
1252 ::xsd::cxx::xml::dom::parse< char > (
1255 h.throw_if_failed< ::xsd::cxx::tree::parsing< char > > ();
1257 ::std::auto_ptr< ::XMLSolution::solution > r (
1259 d, f | ::xml_schema::flags::own_dom, p));
1264 ::std::auto_ptr< ::XMLSolution::solution >
1270 ::xsd::cxx::xml::auto_initializer i (
1271 (f & ::xml_schema::flags::dont_initialize) == 0,
1272 (f & ::xml_schema::flags::keep_dom) == 0);
1274 ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d (
1275 ::xsd::cxx::xml::dom::parse< char > (
1279 throw ::xsd::cxx::tree::parsing< char > ();
1281 ::std::auto_ptr< ::XMLSolution::solution > r (
1283 d, f | ::xml_schema::flags::own_dom, p));
1288 ::std::auto_ptr< ::XMLSolution::solution >
1290 ::xercesc::DOMErrorHandler& h,
1294 ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d (
1295 ::xsd::cxx::xml::dom::parse< char > (
1299 throw ::xsd::cxx::tree::parsing< char > ();
1301 ::std::auto_ptr< ::XMLSolution::solution > r (
1303 d, f | ::xml_schema::flags::own_dom, p));
1308 ::std::auto_ptr< ::XMLSolution::solution >
1313 ::xsd::cxx::xml::auto_initializer i (
1314 (f & ::xml_schema::flags::dont_initialize) == 0,
1315 (f & ::xml_schema::flags::keep_dom) == 0);
1317 ::xsd::cxx::xml::sax::std_input_source isrc (is);
1321 ::std::auto_ptr< ::XMLSolution::solution >
1327 ::xsd::cxx::xml::auto_initializer i (
1328 (f & ::xml_schema::flags::dont_initialize) == 0,
1329 (f & ::xml_schema::flags::keep_dom) == 0);
1331 ::xsd::cxx::xml::sax::std_input_source isrc (is);
1335 ::std::auto_ptr< ::XMLSolution::solution >
1337 ::xercesc::DOMErrorHandler& h,
1341 ::xsd::cxx::xml::sax::std_input_source isrc (is);
1345 ::std::auto_ptr< ::XMLSolution::solution >
1351 ::xsd::cxx::xml::auto_initializer i (
1352 (f & ::xml_schema::flags::dont_initialize) == 0,
1353 (f & ::xml_schema::flags::keep_dom) == 0);
1355 ::xsd::cxx::xml::sax::std_input_source isrc (is, sid);
1359 ::std::auto_ptr< ::XMLSolution::solution >
1366 ::xsd::cxx::xml::auto_initializer i (
1367 (f & ::xml_schema::flags::dont_initialize) == 0,
1368 (f & ::xml_schema::flags::keep_dom) == 0);
1370 ::xsd::cxx::xml::sax::std_input_source isrc (is, sid);
1374 ::std::auto_ptr< ::XMLSolution::solution >
1377 ::xercesc::DOMErrorHandler& h,
1381 ::xsd::cxx::xml::sax::std_input_source isrc (is, sid);
1385 ::std::auto_ptr< ::XMLSolution::solution >
1390 ::xsd::cxx::tree::error_handler< char > h;
1392 ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d (
1393 ::xsd::cxx::xml::dom::parse< char > (
1396 h.throw_if_failed< ::xsd::cxx::tree::parsing< char > > ();
1398 ::std::auto_ptr< ::XMLSolution::solution > r (
1400 d, f | ::xml_schema::flags::own_dom, p));
1405 ::std::auto_ptr< ::XMLSolution::solution >
1411 ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d (
1412 ::xsd::cxx::xml::dom::parse< char > (
1416 throw ::xsd::cxx::tree::parsing< char > ();
1418 ::std::auto_ptr< ::XMLSolution::solution > r (
1420 d, f | ::xml_schema::flags::own_dom, p));
1425 ::std::auto_ptr< ::XMLSolution::solution >
1427 ::xercesc::DOMErrorHandler& h,
1431 ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d (
1432 ::xsd::cxx::xml::dom::parse< char > (
1436 throw ::xsd::cxx::tree::parsing< char > ();
1438 ::std::auto_ptr< ::XMLSolution::solution > r (
1440 d, f | ::xml_schema::flags::own_dom, p));
1445 ::std::auto_ptr< ::XMLSolution::solution >
1450 if (f & ::xml_schema::flags::keep_dom)
1452 ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > c (
1453 static_cast< ::xercesc::DOMDocument* > (d.cloneNode (
true)));
1455 ::std::auto_ptr< ::XMLSolution::solution > r (
1457 c, f | ::xml_schema::flags::own_dom, p));
1462 const ::xercesc::DOMElement& e (*d.getDocumentElement ());
1463 const ::xsd::cxx::xml::qualified_name< char > n (
1464 ::xsd::cxx::xml::dom::name< char > (e));
1466 if (n.name () ==
"solution" &&
1467 n.namespace_ () ==
"XMLSolution")
1469 ::std::auto_ptr< ::XMLSolution::solution > r (
1470 ::xsd::cxx::tree::traits< ::XMLSolution::solution, char >::create (
1475 throw ::xsd::cxx::tree::unexpected_element < char > (
1482 ::std::auto_ptr< ::XMLSolution::solution >
1483 solution_ (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument >& d,
1487 ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > c (
1488 ((f & ::xml_schema::flags::keep_dom) &&
1489 !(f & ::xml_schema::flags::own_dom))
1490 ? static_cast< ::xercesc::DOMDocument* > (d->cloneNode (
true))
1493 ::xercesc::DOMDocument& doc (c.get () ? *c : *d);
1494 const ::xercesc::DOMElement& e (*doc.getDocumentElement ());
1496 const ::xsd::cxx::xml::qualified_name< char > n (
1497 ::xsd::cxx::xml::dom::name< char > (e));
1499 if (f & ::xml_schema::flags::keep_dom)
1501 (c.get () ? &c : &d),
1504 if (n.name () ==
"solution" &&
1505 n.namespace_ () ==
"XMLSolution")
1507 ::std::auto_ptr< ::XMLSolution::solution > r (
1508 ::xsd::cxx::tree::traits< ::XMLSolution::solution, char >::create (
1513 throw ::xsd::cxx::tree::unexpected_element < char > (
1522 #include <xsd/cxx/tree/error-handler.hxx>
1523 #include <xsd/cxx/xml/dom/serialization-source.hxx>
1525 #include <xsd/cxx/tree/type-serializer-map.hxx>
1530 const ::xsd::cxx::tree::type_serializer_plate< 0, char >
1531 type_serializer_plate_init;
1538 const ::XMLSolution::solution& s,
1543 ::xsd::cxx::xml::auto_initializer i (
1544 (f & ::xml_schema::flags::dont_initialize) == 0);
1546 ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d (
1549 ::xsd::cxx::tree::error_handler< char > h;
1551 ::xsd::cxx::xml::dom::ostream_format_target t (o);
1552 if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f))
1554 h.throw_if_failed< ::xsd::cxx::tree::serialization< char > > ();
1560 const ::XMLSolution::solution& s,
1566 ::xsd::cxx::xml::auto_initializer i (
1567 (f & ::xml_schema::flags::dont_initialize) == 0);
1569 ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d (
1571 ::xsd::cxx::xml::dom::ostream_format_target t (o);
1572 if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f))
1574 throw ::xsd::cxx::tree::serialization< char > ();
1580 const ::XMLSolution::solution& s,
1581 ::xercesc::DOMErrorHandler& h,
1586 ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d (
1588 ::xsd::cxx::xml::dom::ostream_format_target t (o);
1589 if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f))
1591 throw ::xsd::cxx::tree::serialization< char > ();
1597 const ::XMLSolution::solution& s,
1602 ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d (
1605 ::xsd::cxx::tree::error_handler< char > h;
1607 if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f))
1609 h.throw_if_failed< ::xsd::cxx::tree::serialization< char > > ();
1615 const ::XMLSolution::solution& s,
1621 ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d (
1623 if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f))
1625 throw ::xsd::cxx::tree::serialization< char > ();
1631 const ::XMLSolution::solution& s,
1632 ::xercesc::DOMErrorHandler& h,
1637 ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d (
1639 if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f))
1641 throw ::xsd::cxx::tree::serialization< char > ();
1647 const ::XMLSolution::solution& s,
1650 ::xercesc::DOMElement& e (*d.getDocumentElement ());
1651 const ::xsd::cxx::xml::qualified_name< char > n (
1652 ::xsd::cxx::xml::dom::name< char > (e));
1654 if (n.name () ==
"solution" &&
1655 n.namespace_ () ==
"XMLSolution")
1661 throw ::xsd::cxx::tree::unexpected_element < char > (
1669 ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument >
1674 ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d (
1675 ::xsd::cxx::xml::dom::serialize< char > (
1685 operator<< (::xercesc::DOMElement& e,
const solution& i)
1687 e << static_cast< const ::xml_schema::type& > (i);
1692 b (i.mono_coeffs ().begin ()), n (i.mono_coeffs ().end ());
1695 ::xercesc::DOMElement& s (
1696 ::xsd::cxx::xml::dom::create_element (
1706 b (i.elem_orders ().begin ()), n (i.elem_orders ().end ());
1709 ::xercesc::DOMElement& s (
1710 ::xsd::cxx::xml::dom::create_element (
1720 b (i.component ().begin ()), n (i.component ().end ());
1723 ::xercesc::DOMElement& s (
1724 ::xsd::cxx::xml::dom::create_element (
1734 ::xercesc::DOMAttr& a (
1735 ::xsd::cxx::xml::dom::create_attribute (
1745 ::xercesc::DOMAttr& a (
1746 ::xsd::cxx::xml::dom::create_attribute (
1756 ::xercesc::DOMAttr& a (
1757 ::xsd::cxx::xml::dom::create_attribute (
1767 ::xercesc::DOMAttr& a (
1768 ::xsd::cxx::xml::dom::create_attribute (
1778 ::xercesc::DOMAttr& a (
1779 ::xsd::cxx::xml::dom::create_attribute (
1790 ::xercesc::DOMAttr& a (
1791 ::xsd::cxx::xml::dom::create_attribute (
1802 ::xercesc::DOMAttr& a (
1803 ::xsd::cxx::xml::dom::create_attribute (
1814 ::xercesc::DOMAttr& a (
1815 ::xsd::cxx::xml::dom::create_attribute (
1826 ::xercesc::DOMAttr& a (
1827 ::xsd::cxx::xml::dom::create_attribute (
1838 ::xercesc::DOMAttr& a (
1839 ::xsd::cxx::xml::dom::create_attribute (
1848 operator<< (::xercesc::DOMElement& e,
const mono_coeffs& i)
1850 e << static_cast< const ::xml_schema::type& > (i);
1855 ::xercesc::DOMAttr& a (
1856 ::xsd::cxx::xml::dom::create_attribute (
1866 ::xercesc::DOMAttr& a (
1867 ::xsd::cxx::xml::dom::create_attribute (
1878 ::xercesc::DOMAttr& a (
1879 ::xsd::cxx::xml::dom::create_attribute (
1888 operator<< (::xercesc::DOMElement& e,
const elem_orders& i)
1890 e << static_cast< const ::xml_schema::type& > (i);
1895 ::xercesc::DOMAttr& a (
1896 ::xsd::cxx::xml::dom::create_attribute (
1906 ::xercesc::DOMAttr& a (
1907 ::xsd::cxx::xml::dom::create_attribute (
1916 operator<< (::xercesc::DOMElement& e,
const component& i)
1918 e << static_cast< const ::xml_schema::type& > (i);
1923 b (i.elem_coeffs ().begin ()), n (i.elem_coeffs ().end ());
1926 ::xercesc::DOMElement& s (
1927 ::xsd::cxx::xml::dom::create_element (
1936 if (i.component_number ())
1938 ::xercesc::DOMAttr& a (
1939 ::xsd::cxx::xml::dom::create_attribute (
1943 a << *i.component_number ();
1948 operator<< (::xercesc::DOMElement& e,
const elem_coeffs& i)
1950 e << static_cast< const ::xml_schema::type& > (i);
1955 ::xercesc::DOMAttr& a (
1956 ::xsd::cxx::xml::dom::create_attribute (
1966 ::xercesc::DOMAttr& a (
1967 ::xsd::cxx::xml::dom::create_attribute (
1976 #include <xsd/cxx/post.hxx>
const im_optional & im() const
Return a read-only (constant) reference to the attribute container.
const exact_type & exact() const
Return a read-only (constant) reference to the attribute.
::xml_schema::decimal im_type
Attribute type.
const id_type & id() const
Return a read-only (constant) reference to the attribute.
::xml_schema::integer ncmp_type
Attribute type.
::xml_schema::integer nc_type
Attribute type.
const id_type & id() const
Return a read-only (constant) reference to the attribute.
::xsd::cxx::tree::optional< im_type > im_optional
Attribute optional container type.
::xsd::cxx::tree::flags flags
Parsing and serialization flags.
::xsd::cxx::tree::optional< exactCXC_type > exactCXC_optional
Attribute optional container type.
::xml_schema::decimal exactCYR_type
Attribute type.
::xml_schema::integer ord_type
Attribute type.
::xsd::cxx::tree::optional< exactCYC_type > exactCYC_optional
Attribute optional container type.
C++ namespace for the XMLSolution schema namespace.
mono_coeffs_sequence::const_iterator mono_coeffs_const_iterator
Element constant iterator type.
Class corresponding to the mono_coeffs schema type.
const id_type & id() const
Return a read-only (constant) reference to the attribute.
elem_orders(const id_type &, const ord_type &)
Create an instance from the ultimate base and initializers for required elements and attributes...
const re_type & re() const
Return a read-only (constant) reference to the attribute.
virtual elem_coeffs * _clone(::xml_schema::flags f=0,::xml_schema::container *c=0) const
Copy the instance polymorphically.
Class corresponding to the component schema type.
::xml_schema::integer exactC_type
Attribute type.
virtual solution * _clone(::xml_schema::flags f=0,::xml_schema::container *c=0) const
Copy the instance polymorphically.
virtual component * _clone(::xml_schema::flags f=0,::xml_schema::container *c=0) const
Copy the instance polymorphically.
::xsd::cxx::tree::as_decimal< decimal > as_decimal
Serialization wrapper for the decimal type.
mono_coeffs(const id_type &, const re_type &)
Create an instance from the ultimate base and initializers for required elements and attributes...
::xsd::cxx::tree::optional< exactCXR_type > exactCXR_optional
Attribute optional container type.
::std::auto_ptr< ::XMLSolution::solution > solution_(const ::std::string &uri,::xml_schema::flags f=0, const ::xml_schema::properties &p=::xml_schema::properties())
Parse a URI or a local file.
const component_number_optional & component_number() const
Return a read-only (constant) reference to the attribute container.
Class corresponding to the elem_orders schema type.
::xml_schema::integer nel_type
Attribute type.
const c_type & c() const
Return a read-only (constant) reference to the attribute.
component_sequence::const_iterator component_const_iterator
Element constant iterator type.
const mono_coeffs_sequence & mono_coeffs() const
Return a read-only (constant) reference to the element sequence.
::xsd::cxx::tree::type type
C++ type corresponding to the anyType XML Schema built-in type.
const space_optional & space() const
Return a read-only (constant) reference to the attribute container.
::xml_schema::integer id_type
Attribute type.
Class corresponding to the solution schema type.
::xml_schema::integer id_type
Attribute type.
virtual ~component()
Destructor.
::xml_schema::integer id_type
Attribute type.
::xml_schema::decimal re_type
Attribute type.
const component_sequence & component() const
Return a read-only (constant) reference to the element sequence.
::xsd::cxx::tree::optional< component_number_type > component_number_optional
Attribute optional container type.
solution(const ncmp_type &, const nel_type &, const nc_type &, const exact_type &, const exactC_type &)
Create an instance from the ultimate base and initializers for required elements and attributes...
::xml_schema::string space_type
Attribute type.
const ncmp_type & ncmp() const
Return a read-only (constant) reference to the attribute.
const exactCXR_optional & exactCXR() const
Return a read-only (constant) reference to the attribute container.
const exactC_type & exactC() const
Return a read-only (constant) reference to the attribute.
virtual ~elem_coeffs()
Destructor.
::xsd::cxx::xml::dom::namespace_infomap< char > namespace_infomap
Namespace serialization information map.
const ord_type & ord() const
Return a read-only (constant) reference to the attribute.
component()
Create an instance from the ultimate base and initializers for required elements and attributes...
::xsd::cxx::xml::error_handler< char > error_handler
Error handler callback interface.
const XMLCh *const tree_node_key
DOM user data key for back pointers to tree nodes.
::xsd::cxx::tree::properties< char > properties
Parsing properties.
const exactCYR_optional & exactCYR() const
Return a read-only (constant) reference to the attribute container.
virtual elem_orders * _clone(::xml_schema::flags f=0,::xml_schema::container *c=0) const
Copy the instance polymorphically.
::xsd::cxx::tree::optional< exactCYR_type > exactCYR_optional
Attribute optional container type.
const elem_orders_sequence & elem_orders() const
Return a read-only (constant) reference to the element sequence.
const elem_coeffs_sequence & elem_coeffs() const
Return a read-only (constant) reference to the element sequence.
::xml_schema::decimal exactCYC_type
Attribute type.
::xsd::cxx::tree::sequence< mono_coeffs_type > mono_coeffs_sequence
Element sequence container type.
::xsd::cxx::tree::sequence< elem_coeffs_type > elem_coeffs_sequence
Element sequence container type.
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.
Generated from solution_h2d_xml.xsd.
::xml_schema::decimal exactCXC_type
Attribute type.
virtual ~elem_orders()
Destructor.
const exactCXC_optional & exactCXC() const
Return a read-only (constant) reference to the attribute container.
virtual mono_coeffs * _clone(::xml_schema::flags f=0,::xml_schema::container *c=0) const
Copy the instance polymorphically.
::xml_schema::integer component_number_type
Attribute type.
::xsd::cxx::tree::sequence< elem_orders_type > elem_orders_sequence
Element sequence container type.
::xsd::cxx::tree::type container
Alias for the anyType type.
::std::auto_ptr< ::XMLSpace::space > space_(const ::std::string &uri,::xml_schema::flags f=0, const ::xml_schema::properties &p=::xml_schema::properties())
Parse a URI or a local file.
const exactCYC_optional & exactCYC() const
Return a read-only (constant) reference to the attribute container.
elem_coeffs_sequence::const_iterator elem_coeffs_const_iterator
Element constant iterator type.
Class corresponding to the elem_coeffs schema type.
const nel_type & nel() const
Return a read-only (constant) reference to the attribute.
::xml_schema::integer c_type
Attribute type.
::xml_schema::decimal exactCXR_type
Attribute type.
::xsd::cxx::tree::sequence< component_type > component_sequence
Element sequence container type.
virtual ~solution()
Destructor.
elem_orders_sequence::const_iterator elem_orders_const_iterator
Element constant iterator type.
virtual ~mono_coeffs()
Destructor.
::xsd::cxx::tree::optional< space_type > space_optional
Attribute optional container type.
const nc_type & nc() const
Return a read-only (constant) reference to the attribute.
elem_coeffs(const id_type &, const c_type &)
Create an instance from the ultimate base and initializers for required elements and attributes...
::xml_schema::integer exact_type
Attribute type.