00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034 #ifndef ECL_HXX
00035 #define ECL_HXX
00036
00037 #ifndef XSD_CXX11
00038 #define XSD_CXX11
00039 #endif
00040
00041 #ifndef XSD_USE_CHAR
00042 #define XSD_USE_CHAR
00043 #endif
00044
00045 #ifndef XSD_CXX_TREE_USE_CHAR
00046 #define XSD_CXX_TREE_USE_CHAR
00047 #endif
00048
00049
00050
00051
00052
00053
00054 #include <xsd/cxx/config.hxx>
00055
00056 #if (XSD_INT_VERSION != 4000000L)
00057 #error XSD runtime version mismatch
00058 #endif
00059
00060 #include <xsd/cxx/pre.hxx>
00061
00062 #include <xsd/cxx/xml/char-utf8.hxx>
00063
00064 #include <xsd/cxx/tree/exceptions.hxx>
00065 #include <xsd/cxx/tree/elements.hxx>
00066 #include <xsd/cxx/tree/types.hxx>
00067
00068 #include <xsd/cxx/xml/error-handler.hxx>
00069
00070 #include <xsd/cxx/xml/dom/auto-ptr.hxx>
00071
00072 #include <xsd/cxx/tree/parsing.hxx>
00073 #include <xsd/cxx/tree/parsing/byte.hxx>
00074 #include <xsd/cxx/tree/parsing/unsigned-byte.hxx>
00075 #include <xsd/cxx/tree/parsing/short.hxx>
00076 #include <xsd/cxx/tree/parsing/unsigned-short.hxx>
00077 #include <xsd/cxx/tree/parsing/int.hxx>
00078 #include <xsd/cxx/tree/parsing/unsigned-int.hxx>
00079 #include <xsd/cxx/tree/parsing/long.hxx>
00080 #include <xsd/cxx/tree/parsing/unsigned-long.hxx>
00081 #include <xsd/cxx/tree/parsing/boolean.hxx>
00082 #include <xsd/cxx/tree/parsing/float.hxx>
00083 #include <xsd/cxx/tree/parsing/double.hxx>
00084 #include <xsd/cxx/tree/parsing/decimal.hxx>
00085
00086 #include <xsd/cxx/xml/dom/serialization-header.hxx>
00087 #include <xsd/cxx/tree/serialization.hxx>
00088 #include <xsd/cxx/tree/serialization/byte.hxx>
00089 #include <xsd/cxx/tree/serialization/unsigned-byte.hxx>
00090 #include <xsd/cxx/tree/serialization/short.hxx>
00091 #include <xsd/cxx/tree/serialization/unsigned-short.hxx>
00092 #include <xsd/cxx/tree/serialization/int.hxx>
00093 #include <xsd/cxx/tree/serialization/unsigned-int.hxx>
00094 #include <xsd/cxx/tree/serialization/long.hxx>
00095 #include <xsd/cxx/tree/serialization/unsigned-long.hxx>
00096 #include <xsd/cxx/tree/serialization/boolean.hxx>
00097 #include <xsd/cxx/tree/serialization/float.hxx>
00098 #include <xsd/cxx/tree/serialization/double.hxx>
00099 #include <xsd/cxx/tree/serialization/decimal.hxx>
00100
00101 #include <xsd/cxx/tree/std-ostream-operators.hxx>
00102
00103 namespace xml_schema
00104 {
00105
00106
00107 typedef ::xsd::cxx::tree::type type;
00108 typedef ::xsd::cxx::tree::simple_type< char, type > simple_type;
00109 typedef ::xsd::cxx::tree::type container;
00110
00111
00112
00113 typedef signed char byte;
00114 typedef unsigned char unsigned_byte;
00115
00116
00117
00118 typedef short short_;
00119 typedef unsigned short unsigned_short;
00120
00121
00122
00123 typedef int int_;
00124 typedef unsigned int unsigned_int;
00125
00126
00127
00128 typedef long long long_;
00129 typedef unsigned long long unsigned_long;
00130
00131
00132
00133 typedef long long integer;
00134 typedef long long non_positive_integer;
00135 typedef unsigned long long non_negative_integer;
00136 typedef unsigned long long positive_integer;
00137 typedef long long negative_integer;
00138
00139
00140
00141 typedef bool boolean;
00142
00143
00144
00145 typedef float float_;
00146 typedef double double_;
00147 typedef double decimal;
00148
00149
00150
00151 typedef ::xsd::cxx::tree::string< char, simple_type > string;
00152 typedef ::xsd::cxx::tree::normalized_string< char, string > normalized_string;
00153 typedef ::xsd::cxx::tree::token< char, normalized_string > token;
00154 typedef ::xsd::cxx::tree::name< char, token > name;
00155 typedef ::xsd::cxx::tree::nmtoken< char, token > nmtoken;
00156 typedef ::xsd::cxx::tree::nmtokens< char, simple_type, nmtoken > nmtokens;
00157 typedef ::xsd::cxx::tree::ncname< char, name > ncname;
00158 typedef ::xsd::cxx::tree::language< char, token > language;
00159
00160
00161
00162 typedef ::xsd::cxx::tree::id< char, ncname > id;
00163 typedef ::xsd::cxx::tree::idref< char, ncname, type > idref;
00164 typedef ::xsd::cxx::tree::idrefs< char, simple_type, idref > idrefs;
00165
00166
00167
00168 typedef ::xsd::cxx::tree::uri< char, simple_type > uri;
00169
00170
00171
00172 typedef ::xsd::cxx::tree::qname< char, simple_type, uri, ncname > qname;
00173
00174
00175
00176 typedef ::xsd::cxx::tree::buffer< char > buffer;
00177 typedef ::xsd::cxx::tree::base64_binary< char, simple_type > base64_binary;
00178 typedef ::xsd::cxx::tree::hex_binary< char, simple_type > hex_binary;
00179
00180
00181
00182 typedef ::xsd::cxx::tree::time_zone time_zone;
00183 typedef ::xsd::cxx::tree::date< char, simple_type > date;
00184 typedef ::xsd::cxx::tree::date_time< char, simple_type > date_time;
00185 typedef ::xsd::cxx::tree::duration< char, simple_type > duration;
00186 typedef ::xsd::cxx::tree::gday< char, simple_type > gday;
00187 typedef ::xsd::cxx::tree::gmonth< char, simple_type > gmonth;
00188 typedef ::xsd::cxx::tree::gmonth_day< char, simple_type > gmonth_day;
00189 typedef ::xsd::cxx::tree::gyear< char, simple_type > gyear;
00190 typedef ::xsd::cxx::tree::gyear_month< char, simple_type > gyear_month;
00191 typedef ::xsd::cxx::tree::time< char, simple_type > time;
00192
00193
00194
00195 typedef ::xsd::cxx::tree::entity< char, ncname > entity;
00196 typedef ::xsd::cxx::tree::entities< char, simple_type, entity > entities;
00197
00198 typedef ::xsd::cxx::tree::content_order content_order;
00199
00200
00201
00202 typedef ::xsd::cxx::xml::dom::namespace_info< char > namespace_info;
00203 typedef ::xsd::cxx::xml::dom::namespace_infomap< char > namespace_infomap;
00204 typedef ::xsd::cxx::tree::list_stream< char > list_stream;
00205 typedef ::xsd::cxx::tree::as_double< double_ > as_double;
00206 typedef ::xsd::cxx::tree::as_decimal< decimal > as_decimal;
00207 typedef ::xsd::cxx::tree::facet facet;
00208
00209
00210
00211 typedef ::xsd::cxx::tree::flags flags;
00212 typedef ::xsd::cxx::tree::properties< char > properties;
00213
00214
00215
00216 typedef ::xsd::cxx::tree::severity severity;
00217 typedef ::xsd::cxx::tree::error< char > error;
00218 typedef ::xsd::cxx::tree::diagnostics< char > diagnostics;
00219
00220
00221
00222 typedef ::xsd::cxx::tree::exception< char > exception;
00223 typedef ::xsd::cxx::tree::bounds< char > bounds;
00224 typedef ::xsd::cxx::tree::duplicate_id< char > duplicate_id;
00225 typedef ::xsd::cxx::tree::parsing< char > parsing;
00226 typedef ::xsd::cxx::tree::expected_element< char > expected_element;
00227 typedef ::xsd::cxx::tree::unexpected_element< char > unexpected_element;
00228 typedef ::xsd::cxx::tree::expected_attribute< char > expected_attribute;
00229 typedef ::xsd::cxx::tree::unexpected_enumerator< char > unexpected_enumerator;
00230 typedef ::xsd::cxx::tree::expected_text_content< char > expected_text_content;
00231 typedef ::xsd::cxx::tree::no_prefix_mapping< char > no_prefix_mapping;
00232 typedef ::xsd::cxx::tree::serialization< char > serialization;
00233
00234
00235
00236 typedef ::xsd::cxx::xml::error_handler< char > error_handler;
00237
00238
00239
00240 namespace dom
00241 {
00242
00243
00244 using ::xsd::cxx::xml::dom::unique_ptr;
00245
00246 #ifndef XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA
00247 #define XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA
00248
00249
00250 const XMLCh* const tree_node_key = ::xsd::cxx::tree::user_data_keys::node;
00251 #endif
00252 }
00253 }
00254
00255
00256
00257 class Tag_t;
00258 class Attachment_t;
00259 class Field_t;
00260 class Form_t;
00261 class ECLEntry_t;
00262
00263 #include <memory>
00264 #include <limits>
00265 #include <algorithm>
00266 #include <utility>
00267
00268 #include <xsd/cxx/xml/char-utf8.hxx>
00269
00270 #include <xsd/cxx/tree/exceptions.hxx>
00271 #include <xsd/cxx/tree/elements.hxx>
00272 #include <xsd/cxx/tree/containers.hxx>
00273 #include <xsd/cxx/tree/list.hxx>
00274
00275 #include <xsd/cxx/xml/dom/parsing-header.hxx>
00276
00277 class Tag_t: public ::xml_schema::type
00278 {
00279 public:
00280
00281
00282 typedef ::xml_schema::string name_type;
00283 typedef ::xsd::cxx::tree::traits< name_type, char > name_traits;
00284
00285 const name_type&
00286 name () const;
00287
00288 name_type&
00289 name ();
00290
00291 void
00292 name (const name_type& x);
00293
00294 void
00295 name (::std::unique_ptr< name_type > p);
00296
00297
00298
00299 Tag_t ();
00300
00301 Tag_t (const name_type&);
00302
00303 Tag_t (const ::xercesc::DOMElement& e,
00304 ::xml_schema::flags f = 0,
00305 ::xml_schema::container* c = 0);
00306
00307 Tag_t (const Tag_t& x,
00308 ::xml_schema::flags f = 0,
00309 ::xml_schema::container* c = 0);
00310
00311 virtual Tag_t*
00312 _clone (::xml_schema::flags f = 0,
00313 ::xml_schema::container* c = 0) const;
00314
00315 Tag_t&
00316 operator= (const Tag_t& x);
00317
00318 virtual
00319 ~Tag_t ();
00320
00321
00322
00323 protected:
00324 void
00325 parse (::xsd::cxx::xml::dom::parser< char >&,
00326 ::xml_schema::flags);
00327
00328 protected:
00329 ::xsd::cxx::tree::one< name_type > name_;
00330 };
00331
00332 class Attachment_t: public ::xml_schema::base64_binary
00333 {
00334 public:
00335
00336
00337 typedef ::xml_schema::string type_type;
00338 typedef ::xsd::cxx::tree::traits< type_type, char > type_traits;
00339
00340 const type_type&
00341 type () const;
00342
00343 type_type&
00344 type ();
00345
00346 void
00347 type (const type_type& x);
00348
00349 void
00350 type (::std::unique_ptr< type_type > p);
00351
00352
00353
00354 typedef ::xml_schema::string filename_type;
00355 typedef ::xsd::cxx::tree::traits< filename_type, char > filename_traits;
00356
00357 const filename_type&
00358 filename () const;
00359
00360 filename_type&
00361 filename ();
00362
00363 void
00364 filename (const filename_type& x);
00365
00366 void
00367 filename (::std::unique_ptr< filename_type > p);
00368
00369
00370
00371 Attachment_t ();
00372
00373 Attachment_t (const type_type&,
00374 const filename_type&);
00375
00376 Attachment_t (const ::xml_schema::base64_binary&,
00377 const type_type&,
00378 const filename_type&);
00379
00380 Attachment_t (const ::xercesc::DOMElement& e,
00381 ::xml_schema::flags f = 0,
00382 ::xml_schema::container* c = 0);
00383
00384 Attachment_t (const Attachment_t& x,
00385 ::xml_schema::flags f = 0,
00386 ::xml_schema::container* c = 0);
00387
00388 virtual Attachment_t*
00389 _clone (::xml_schema::flags f = 0,
00390 ::xml_schema::container* c = 0) const;
00391
00392 Attachment_t&
00393 operator= (const Attachment_t& x);
00394
00395 virtual
00396 ~Attachment_t ();
00397
00398
00399
00400 protected:
00401 void
00402 parse (::xsd::cxx::xml::dom::parser< char >&,
00403 ::xml_schema::flags);
00404
00405 protected:
00406 ::xsd::cxx::tree::one< type_type > type_;
00407 ::xsd::cxx::tree::one< filename_type > filename_;
00408 };
00409
00410 class Field_t: public ::xml_schema::string
00411 {
00412 public:
00413
00414
00415 typedef ::xml_schema::string name_type;
00416 typedef ::xsd::cxx::tree::traits< name_type, char > name_traits;
00417
00418 const name_type&
00419 name () const;
00420
00421 name_type&
00422 name ();
00423
00424 void
00425 name (const name_type& x);
00426
00427 void
00428 name (::std::unique_ptr< name_type > p);
00429
00430
00431
00432 Field_t ();
00433
00434 Field_t (const name_type&);
00435
00436 Field_t (const char*,
00437 const name_type&);
00438
00439 Field_t (const ::std::string&,
00440 const name_type&);
00441
00442 Field_t (const ::xml_schema::string&,
00443 const name_type&);
00444
00445 Field_t (const ::xercesc::DOMElement& e,
00446 ::xml_schema::flags f = 0,
00447 ::xml_schema::container* c = 0);
00448
00449 Field_t (const Field_t& x,
00450 ::xml_schema::flags f = 0,
00451 ::xml_schema::container* c = 0);
00452
00453 virtual Field_t*
00454 _clone (::xml_schema::flags f = 0,
00455 ::xml_schema::container* c = 0) const;
00456
00457 Field_t&
00458 operator= (const Field_t& x);
00459
00460 virtual
00461 ~Field_t ();
00462
00463
00464
00465 protected:
00466 void
00467 parse (::xsd::cxx::xml::dom::parser< char >&,
00468 ::xml_schema::flags);
00469
00470 protected:
00471 ::xsd::cxx::tree::one< name_type > name_;
00472 };
00473
00474 class Form_t: public ::xml_schema::type
00475 {
00476 public:
00477
00478
00479 typedef ::Field_t field_type;
00480 typedef ::xsd::cxx::tree::sequence< field_type > field_sequence;
00481 typedef field_sequence::iterator field_iterator;
00482 typedef field_sequence::const_iterator field_const_iterator;
00483 typedef ::xsd::cxx::tree::traits< field_type, char > field_traits;
00484
00485 const field_sequence&
00486 field () const;
00487
00488 field_sequence&
00489 field ();
00490
00491 void
00492 field (const field_sequence& s);
00493
00494
00495
00496 typedef ::xml_schema::string name_type;
00497 typedef ::xsd::cxx::tree::traits< name_type, char > name_traits;
00498
00499 const name_type&
00500 name () const;
00501
00502 name_type&
00503 name ();
00504
00505 void
00506 name (const name_type& x);
00507
00508 void
00509 name (::std::unique_ptr< name_type > p);
00510
00511
00512
00513 Form_t ();
00514
00515 Form_t (const name_type&);
00516
00517 Form_t (const ::xercesc::DOMElement& e,
00518 ::xml_schema::flags f = 0,
00519 ::xml_schema::container* c = 0);
00520
00521 Form_t (const Form_t& x,
00522 ::xml_schema::flags f = 0,
00523 ::xml_schema::container* c = 0);
00524
00525 virtual Form_t*
00526 _clone (::xml_schema::flags f = 0,
00527 ::xml_schema::container* c = 0) const;
00528
00529 Form_t&
00530 operator= (const Form_t& x);
00531
00532 virtual
00533 ~Form_t ();
00534
00535
00536
00537 protected:
00538 void
00539 parse (::xsd::cxx::xml::dom::parser< char >&,
00540 ::xml_schema::flags);
00541
00542 protected:
00543 field_sequence field_;
00544 ::xsd::cxx::tree::one< name_type > name_;
00545 };
00546
00547 class ECLEntry_t: public ::xml_schema::type
00548 {
00549 public:
00550
00551
00552 typedef ::Tag_t tag_type;
00553 typedef ::xsd::cxx::tree::sequence< tag_type > tag_sequence;
00554 typedef tag_sequence::iterator tag_iterator;
00555 typedef tag_sequence::const_iterator tag_const_iterator;
00556 typedef ::xsd::cxx::tree::traits< tag_type, char > tag_traits;
00557
00558 const tag_sequence&
00559 tag () const;
00560
00561 tag_sequence&
00562 tag ();
00563
00564 void
00565 tag (const tag_sequence& s);
00566
00567
00568
00569 typedef ::Attachment_t attachment_type;
00570 typedef ::xsd::cxx::tree::sequence< attachment_type > attachment_sequence;
00571 typedef attachment_sequence::iterator attachment_iterator;
00572 typedef attachment_sequence::const_iterator attachment_const_iterator;
00573 typedef ::xsd::cxx::tree::traits< attachment_type, char > attachment_traits;
00574
00575 const attachment_sequence&
00576 attachment () const;
00577
00578 attachment_sequence&
00579 attachment ();
00580
00581 void
00582 attachment (const attachment_sequence& s);
00583
00584
00585
00586 typedef ::Form_t form_type;
00587 typedef ::xsd::cxx::tree::optional< form_type > form_optional;
00588 typedef ::xsd::cxx::tree::traits< form_type, char > form_traits;
00589
00590 const form_optional&
00591 form () const;
00592
00593 form_optional&
00594 form ();
00595
00596 void
00597 form (const form_type& x);
00598
00599 void
00600 form (const form_optional& x);
00601
00602 void
00603 form (::std::unique_ptr< form_type > p);
00604
00605
00606
00607 typedef ::xml_schema::string author_type;
00608 typedef ::xsd::cxx::tree::traits< author_type, char > author_traits;
00609
00610 const author_type&
00611 author () const;
00612
00613 author_type&
00614 author ();
00615
00616 void
00617 author (const author_type& x);
00618
00619 void
00620 author (::std::unique_ptr< author_type > p);
00621
00622
00623
00624 typedef ::xml_schema::string category_type;
00625 typedef ::xsd::cxx::tree::traits< category_type, char > category_traits;
00626
00627 const category_type&
00628 category () const;
00629
00630 category_type&
00631 category ();
00632
00633 void
00634 category (const category_type& x);
00635
00636 void
00637 category (::std::unique_ptr< category_type > p);
00638
00639
00640
00641 ECLEntry_t ();
00642
00643 ECLEntry_t (const author_type&,
00644 const category_type&);
00645
00646 ECLEntry_t (const ::xercesc::DOMElement& e,
00647 ::xml_schema::flags f = 0,
00648 ::xml_schema::container* c = 0);
00649
00650 ECLEntry_t (const ECLEntry_t& x,
00651 ::xml_schema::flags f = 0,
00652 ::xml_schema::container* c = 0);
00653
00654 virtual ECLEntry_t*
00655 _clone (::xml_schema::flags f = 0,
00656 ::xml_schema::container* c = 0) const;
00657
00658 ECLEntry_t&
00659 operator= (const ECLEntry_t& x);
00660
00661 virtual
00662 ~ECLEntry_t ();
00663
00664
00665
00666 protected:
00667 void
00668 parse (::xsd::cxx::xml::dom::parser< char >&,
00669 ::xml_schema::flags);
00670
00671 protected:
00672 tag_sequence tag_;
00673 attachment_sequence attachment_;
00674 form_optional form_;
00675 ::xsd::cxx::tree::one< author_type > author_;
00676 ::xsd::cxx::tree::one< category_type > category_;
00677 };
00678
00679 #include <iosfwd>
00680
00681 ::std::ostream&
00682 operator<< (::std::ostream&, const Tag_t&);
00683
00684 ::std::ostream&
00685 operator<< (::std::ostream&, const Attachment_t&);
00686
00687 ::std::ostream&
00688 operator<< (::std::ostream&, const Field_t&);
00689
00690 ::std::ostream&
00691 operator<< (::std::ostream&, const Form_t&);
00692
00693 ::std::ostream&
00694 operator<< (::std::ostream&, const ECLEntry_t&);
00695
00696 #include <iosfwd>
00697
00698 #include <xercesc/sax/InputSource.hpp>
00699 #include <xercesc/dom/DOMDocument.hpp>
00700 #include <xercesc/dom/DOMErrorHandler.hpp>
00701
00702
00703
00704
00705 ::std::unique_ptr< ::ECLEntry_t >
00706 entry (const ::std::string& uri,
00707 ::xml_schema::flags f = 0,
00708 const ::xml_schema::properties& p = ::xml_schema::properties ());
00709
00710 ::std::unique_ptr< ::ECLEntry_t >
00711 entry (const ::std::string& uri,
00712 ::xml_schema::error_handler& eh,
00713 ::xml_schema::flags f = 0,
00714 const ::xml_schema::properties& p = ::xml_schema::properties ());
00715
00716 ::std::unique_ptr< ::ECLEntry_t >
00717 entry (const ::std::string& uri,
00718 ::xercesc::DOMErrorHandler& eh,
00719 ::xml_schema::flags f = 0,
00720 const ::xml_schema::properties& p = ::xml_schema::properties ());
00721
00722
00723
00724
00725 ::std::unique_ptr< ::ECLEntry_t >
00726 entry (::std::istream& is,
00727 ::xml_schema::flags f = 0,
00728 const ::xml_schema::properties& p = ::xml_schema::properties ());
00729
00730 ::std::unique_ptr< ::ECLEntry_t >
00731 entry (::std::istream& is,
00732 ::xml_schema::error_handler& eh,
00733 ::xml_schema::flags f = 0,
00734 const ::xml_schema::properties& p = ::xml_schema::properties ());
00735
00736 ::std::unique_ptr< ::ECLEntry_t >
00737 entry (::std::istream& is,
00738 ::xercesc::DOMErrorHandler& eh,
00739 ::xml_schema::flags f = 0,
00740 const ::xml_schema::properties& p = ::xml_schema::properties ());
00741
00742 ::std::unique_ptr< ::ECLEntry_t >
00743 entry (::std::istream& is,
00744 const ::std::string& id,
00745 ::xml_schema::flags f = 0,
00746 const ::xml_schema::properties& p = ::xml_schema::properties ());
00747
00748 ::std::unique_ptr< ::ECLEntry_t >
00749 entry (::std::istream& is,
00750 const ::std::string& id,
00751 ::xml_schema::error_handler& eh,
00752 ::xml_schema::flags f = 0,
00753 const ::xml_schema::properties& p = ::xml_schema::properties ());
00754
00755 ::std::unique_ptr< ::ECLEntry_t >
00756 entry (::std::istream& is,
00757 const ::std::string& id,
00758 ::xercesc::DOMErrorHandler& eh,
00759 ::xml_schema::flags f = 0,
00760 const ::xml_schema::properties& p = ::xml_schema::properties ());
00761
00762
00763
00764
00765 ::std::unique_ptr< ::ECLEntry_t >
00766 entry (::xercesc::InputSource& is,
00767 ::xml_schema::flags f = 0,
00768 const ::xml_schema::properties& p = ::xml_schema::properties ());
00769
00770 ::std::unique_ptr< ::ECLEntry_t >
00771 entry (::xercesc::InputSource& is,
00772 ::xml_schema::error_handler& eh,
00773 ::xml_schema::flags f = 0,
00774 const ::xml_schema::properties& p = ::xml_schema::properties ());
00775
00776 ::std::unique_ptr< ::ECLEntry_t >
00777 entry (::xercesc::InputSource& is,
00778 ::xercesc::DOMErrorHandler& eh,
00779 ::xml_schema::flags f = 0,
00780 const ::xml_schema::properties& p = ::xml_schema::properties ());
00781
00782
00783
00784
00785 ::std::unique_ptr< ::ECLEntry_t >
00786 entry (const ::xercesc::DOMDocument& d,
00787 ::xml_schema::flags f = 0,
00788 const ::xml_schema::properties& p = ::xml_schema::properties ());
00789
00790 ::std::unique_ptr< ::ECLEntry_t >
00791 entry (::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d,
00792 ::xml_schema::flags f = 0,
00793 const ::xml_schema::properties& p = ::xml_schema::properties ());
00794
00795 #include <iosfwd>
00796
00797 #include <xercesc/dom/DOMDocument.hpp>
00798 #include <xercesc/dom/DOMErrorHandler.hpp>
00799 #include <xercesc/framework/XMLFormatter.hpp>
00800
00801 #include <xsd/cxx/xml/dom/auto-ptr.hxx>
00802
00803
00804
00805
00806 void
00807 entry (::std::ostream& os,
00808 const ::ECLEntry_t& x,
00809 const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
00810 const ::std::string& e = "UTF-8",
00811 ::xml_schema::flags f = 0);
00812
00813 void
00814 entry (::std::ostream& os,
00815 const ::ECLEntry_t& x,
00816 ::xml_schema::error_handler& eh,
00817 const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
00818 const ::std::string& e = "UTF-8",
00819 ::xml_schema::flags f = 0);
00820
00821 void
00822 entry (::std::ostream& os,
00823 const ::ECLEntry_t& x,
00824 ::xercesc::DOMErrorHandler& eh,
00825 const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
00826 const ::std::string& e = "UTF-8",
00827 ::xml_schema::flags f = 0);
00828
00829
00830
00831
00832 void
00833 entry (::xercesc::XMLFormatTarget& ft,
00834 const ::ECLEntry_t& x,
00835 const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
00836 const ::std::string& e = "UTF-8",
00837 ::xml_schema::flags f = 0);
00838
00839 void
00840 entry (::xercesc::XMLFormatTarget& ft,
00841 const ::ECLEntry_t& x,
00842 ::xml_schema::error_handler& eh,
00843 const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
00844 const ::std::string& e = "UTF-8",
00845 ::xml_schema::flags f = 0);
00846
00847 void
00848 entry (::xercesc::XMLFormatTarget& ft,
00849 const ::ECLEntry_t& x,
00850 ::xercesc::DOMErrorHandler& eh,
00851 const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
00852 const ::std::string& e = "UTF-8",
00853 ::xml_schema::flags f = 0);
00854
00855
00856
00857
00858 void
00859 entry (::xercesc::DOMDocument& d,
00860 const ::ECLEntry_t& x,
00861 ::xml_schema::flags f = 0);
00862
00863
00864
00865
00866 ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument >
00867 entry (const ::ECLEntry_t& x,
00868 const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
00869 ::xml_schema::flags f = 0);
00870
00871 void
00872 operator<< (::xercesc::DOMElement&, const Tag_t&);
00873
00874 void
00875 operator<< (::xercesc::DOMElement&, const Attachment_t&);
00876
00877 void
00878 operator<< (::xercesc::DOMElement&, const Field_t&);
00879
00880 void
00881 operator<< (::xercesc::DOMElement&, const Form_t&);
00882
00883 void
00884 operator<< (::xercesc::DOMElement&, const ECLEntry_t&);
00885
00886 #include <xsd/cxx/post.hxx>
00887
00888
00889
00890
00891
00892
00893 #endif // ECL_HXX