39 #ifndef SOLUTION_H2D_XML_H
40 #define SOLUTION_H2D_XML_H
47 #include <xsd/cxx/config.hxx>
49 #if (XSD_INT_VERSION != 3030000L)
50 #error XSD runtime version mismatch
53 #include <xsd/cxx/pre.hxx>
59 #ifndef XSD_CXX_TREE_USE_CHAR
60 #define XSD_CXX_TREE_USE_CHAR
63 #include <xsd/cxx/xml/char-utf8.hxx>
65 #include <xsd/cxx/tree/exceptions.hxx>
66 #include <xsd/cxx/tree/elements.hxx>
67 #include <xsd/cxx/tree/types.hxx>
69 #include <xsd/cxx/xml/error-handler.hxx>
71 #include <xsd/cxx/xml/dom/auto-ptr.hxx>
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>
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>
102 #include <xsd/cxx/tree/std-ostream-operators.hxx>
268 typedef ::xsd::cxx::tree::string< char, simple_type >
string;
280 typedef ::xsd::cxx::tree::token< char, normalized_string >
token;
286 typedef ::xsd::cxx::tree::name< char, token >
name;
292 typedef ::xsd::cxx::tree::nmtoken< char, token >
nmtoken;
298 typedef ::xsd::cxx::tree::nmtokens< char, simple_type, nmtoken >
nmtokens;
304 typedef ::xsd::cxx::tree::ncname< char, name >
ncname;
310 typedef ::xsd::cxx::tree::language< char, token >
language;
320 typedef ::xsd::cxx::tree::id< char, ncname >
id;
326 typedef ::xsd::cxx::tree::idref< char, ncname, type >
idref;
332 typedef ::xsd::cxx::tree::idrefs< char, simple_type, idref >
idrefs;
342 typedef ::xsd::cxx::tree::uri< char, simple_type >
uri;
352 typedef ::xsd::cxx::tree::qname< char, simple_type, uri, ncname >
qname;
361 typedef ::xsd::cxx::tree::buffer< char >
buffer;
373 typedef ::xsd::cxx::tree::hex_binary< char, simple_type >
hex_binary;
388 typedef ::xsd::cxx::tree::date< char, simple_type >
date;
394 typedef ::xsd::cxx::tree::date_time< char, simple_type >
date_time;
400 typedef ::xsd::cxx::tree::duration< char, simple_type >
duration;
406 typedef ::xsd::cxx::tree::gday< char, simple_type >
gday;
412 typedef ::xsd::cxx::tree::gmonth< char, simple_type >
gmonth;
418 typedef ::xsd::cxx::tree::gmonth_day< char, simple_type >
gmonth_day;
424 typedef ::xsd::cxx::tree::gyear< char, simple_type >
gyear;
430 typedef ::xsd::cxx::tree::gyear_month< char, simple_type >
gyear_month;
436 typedef ::xsd::cxx::tree::time< char, simple_type >
time;
446 typedef ::xsd::cxx::tree::entity< char, ncname >
entity;
452 typedef ::xsd::cxx::tree::entities< char, simple_type, entity >
entities;
476 typedef ::xsd::cxx::tree::as_double< double_ >
as_double;
512 typedef ::xsd::cxx::tree::error< char >
error;
531 typedef ::xsd::cxx::tree::bounds< char >
bounds;
542 typedef ::xsd::cxx::tree::parsing< char >
parsing;
598 using ::xsd::cxx::xml::dom::auto_ptr;
600 #ifndef XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA
601 #define XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA
612 namespace XMLSolution
626 #include <xsd/cxx/xml/char-utf8.hxx>
628 #include <xsd/cxx/tree/exceptions.hxx>
629 #include <xsd/cxx/tree/elements.hxx>
630 #include <xsd/cxx/tree/containers.hxx>
631 #include <xsd/cxx/tree/list.hxx>
633 #include <xsd/cxx/xml/dom/parsing-header.hxx>
639 namespace XMLSolution
904 typedef ::xsd::cxx::tree::traits< nel_type, char >
nel_traits;
951 typedef ::xsd::cxx::tree::traits< nc_type, char >
nc_traits;
1097 typedef ::xsd::cxx::tree::traits< exactCXR_type, char, ::xsd::cxx::tree::schema_type::decimal >
exactCXR_traits;
1162 typedef ::xsd::cxx::tree::traits< exactCYR_type, char, ::xsd::cxx::tree::schema_type::decimal >
exactCYR_traits;
1227 typedef ::xsd::cxx::tree::traits< exactCXC_type, char, ::xsd::cxx::tree::schema_type::decimal >
exactCXC_traits;
1292 typedef ::xsd::cxx::tree::traits< exactCYC_type, char, ::xsd::cxx::tree::schema_type::decimal >
exactCYC_traits;
1408 space (::std::auto_ptr< space_type > p);
1435 solution (const ::xercesc::DOMElement& e,
1482 parse (::xsd::cxx::xml::dom::parser< char >&,
1489 ::xsd::cxx::tree::one< ncmp_type > ncmp_;
1490 ::xsd::cxx::tree::one< nel_type > nel_;
1491 ::xsd::cxx::tree::one< nc_type > nc_;
1492 ::xsd::cxx::tree::one< exact_type > exact_;
1493 ::xsd::cxx::tree::one< exactC_type > exactC_;
1527 typedef ::xsd::cxx::tree::traits< id_type, char >
id_traits;
1574 typedef ::xsd::cxx::tree::traits< re_type, char, ::xsd::cxx::tree::schema_type::decimal >
re_traits;
1626 typedef ::xsd::cxx::tree::traits< im_type, char, ::xsd::cxx::tree::schema_type::decimal >
im_traits;
1737 parse (::xsd::cxx::xml::dom::parser< char >&,
1741 ::xsd::cxx::tree::one< id_type > id_;
1742 ::xsd::cxx::tree::one< re_type > re_;
1772 typedef ::xsd::cxx::tree::traits< id_type, char >
id_traits;
1917 parse (::xsd::cxx::xml::dom::parser< char >&,
1921 ::xsd::cxx::tree::one< id_type > id_;
1922 ::xsd::cxx::tree::one< ord_type > ord_;
2083 component (const ::xercesc::DOMElement& e,
2130 parse (::xsd::cxx::xml::dom::parser< char >&,
2164 typedef ::xsd::cxx::tree::traits< id_type, char >
id_traits;
2211 typedef ::xsd::cxx::tree::traits< c_type, char >
c_traits;
2309 parse (::xsd::cxx::xml::dom::parser< char >&,
2313 ::xsd::cxx::tree::one< id_type > id_;
2314 ::xsd::cxx::tree::one< c_type > c_;
2322 namespace XMLSolution
2325 operator<< (::std::ostream&,
const solution&);
2328 operator<< (::std::ostream&,
const mono_coeffs&);
2331 operator<< (::std::ostream&,
const elem_orders&);
2334 operator<< (::std::ostream&,
const component&);
2337 operator<< (::std::ostream&,
const elem_coeffs&);
2342 #include <xercesc/sax/InputSource.hpp>
2343 #include <xercesc/dom/DOMDocument.hpp>
2344 #include <xercesc/dom/DOMErrorHandler.hpp>
2346 namespace XMLSolution
2363 ::std::auto_ptr< ::XMLSolution::solution >
2379 ::std::auto_ptr< ::XMLSolution::solution >
2397 ::std::auto_ptr< ::XMLSolution::solution >
2399 ::xercesc::DOMErrorHandler& eh,
2413 ::std::auto_ptr< ::XMLSolution::solution >
2429 ::std::auto_ptr< ::XMLSolution::solution >
2447 ::std::auto_ptr< ::XMLSolution::solution >
2449 ::xercesc::DOMErrorHandler& eh,
2467 ::std::auto_ptr< ::XMLSolution::solution >
2489 ::std::auto_ptr< ::XMLSolution::solution >
2512 ::std::auto_ptr< ::XMLSolution::solution >
2515 ::xercesc::DOMErrorHandler& eh,
2529 ::std::auto_ptr< ::XMLSolution::solution >
2545 ::std::auto_ptr< ::XMLSolution::solution >
2563 ::std::auto_ptr< ::XMLSolution::solution >
2565 ::xercesc::DOMErrorHandler& eh,
2577 ::std::auto_ptr< ::XMLSolution::solution >
2578 solution_ (const ::xercesc::DOMDocument& d,
2594 ::std::auto_ptr< ::XMLSolution::solution >
2595 solution_ (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument >& d,
2604 #include <xercesc/dom/DOMDocument.hpp>
2605 #include <xercesc/dom/DOMErrorHandler.hpp>
2606 #include <xercesc/framework/XMLFormatter.hpp>
2608 #include <xsd/cxx/xml/dom/auto-ptr.hxx>
2610 namespace XMLSolution
2630 const ::XMLSolution::solution& x,
2650 const ::XMLSolution::solution& x,
2672 const ::XMLSolution::solution& x,
2673 ::xercesc::DOMErrorHandler& eh,
2690 solution_ (::xercesc::XMLFormatTarget& ft,
2691 const ::XMLSolution::solution& x,
2711 solution_ (::xercesc::XMLFormatTarget& ft,
2712 const ::XMLSolution::solution& x,
2733 solution_ (::xercesc::XMLFormatTarget& ft,
2734 const ::XMLSolution::solution& x,
2735 ::xercesc::DOMErrorHandler& eh,
2753 const ::XMLSolution::solution& x,
2764 ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument >
2765 solution_ (const ::XMLSolution::solution& x,
2772 operator<< (::xercesc::DOMElement&,
const solution&);
2775 operator<< (::xercesc::DOMElement&,
const mono_coeffs&);
2778 operator<< (::xercesc::DOMElement&,
const elem_orders&);
2781 operator<< (::xercesc::DOMElement&,
const component&);
2784 operator<< (::xercesc::DOMElement&,
const elem_coeffs&);
2787 #include <xsd/cxx/post.hxx>
2794 #endif // SOLUTION_H2D_XML_H