$treeview $search $mathjax $extrastylesheet
otsdaq_utilities
v2_03_00
$projectbrief
|
$projectbrief
|
$searchbox |
00001 // Copyright (c) 2005-2014 Code Synthesis Tools CC 00002 // 00003 // This program was generated by CodeSynthesis XSD, an XML Schema to 00004 // C++ data binding compiler. 00005 // 00006 // This program is free software; you can redistribute it and/or modify 00007 // it under the terms of the GNU General Public License version 2 as 00008 // published by the Free Software Foundation. 00009 // 00010 // This program is distributed in the hope that it will be useful, 00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 // GNU General Public License for more details. 00014 // 00015 // You should have received a copy of the GNU General Public License 00016 // along with this program; if not, write to the Free Software 00017 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00018 // 00019 // In addition, as a special exception, Code Synthesis Tools CC gives 00020 // permission to link this program with the Xerces-C++ library (or with 00021 // modified versions of Xerces-C++ that use the same license as Xerces-C++), 00022 // and distribute linked combinations including the two. You must obey 00023 // the GNU General Public License version 2 in all respects for all of 00024 // the code used other than Xerces-C++. If you modify this copy of the 00025 // program, you may extend this exception to your version of the program, 00026 // but you are not obligated to do so. If you do not wish to do so, delete 00027 // this exception statement from your version. 00028 // 00029 // Furthermore, Code Synthesis Tools CC makes a special exception for 00030 // the Free/Libre and Open Source Software (FLOSS) which is described 00031 // in the accompanying FLOSSE file. 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 // Begin prologue. 00050 // 00051 // 00052 // End prologue. 00053 00054 #include <xsd/cxx/config.hxx> // if missing: ksu; yum install xsd; 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/elements.hxx> 00065 #include <xsd/cxx/tree/exceptions.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/boolean.hxx> 00074 #include <xsd/cxx/tree/parsing/byte.hxx> 00075 #include <xsd/cxx/tree/parsing/decimal.hxx> 00076 #include <xsd/cxx/tree/parsing/double.hxx> 00077 #include <xsd/cxx/tree/parsing/float.hxx> 00078 #include <xsd/cxx/tree/parsing/int.hxx> 00079 #include <xsd/cxx/tree/parsing/long.hxx> 00080 #include <xsd/cxx/tree/parsing/short.hxx> 00081 #include <xsd/cxx/tree/parsing/unsigned-byte.hxx> 00082 #include <xsd/cxx/tree/parsing/unsigned-int.hxx> 00083 #include <xsd/cxx/tree/parsing/unsigned-long.hxx> 00084 #include <xsd/cxx/tree/parsing/unsigned-short.hxx> 00085 00086 #include <xsd/cxx/tree/serialization.hxx> 00087 #include <xsd/cxx/tree/serialization/boolean.hxx> 00088 #include <xsd/cxx/tree/serialization/byte.hxx> 00089 #include <xsd/cxx/tree/serialization/decimal.hxx> 00090 #include <xsd/cxx/tree/serialization/double.hxx> 00091 #include <xsd/cxx/tree/serialization/float.hxx> 00092 #include <xsd/cxx/tree/serialization/int.hxx> 00093 #include <xsd/cxx/tree/serialization/long.hxx> 00094 #include <xsd/cxx/tree/serialization/short.hxx> 00095 #include <xsd/cxx/tree/serialization/unsigned-byte.hxx> 00096 #include <xsd/cxx/tree/serialization/unsigned-int.hxx> 00097 #include <xsd/cxx/tree/serialization/unsigned-long.hxx> 00098 #include <xsd/cxx/tree/serialization/unsigned-short.hxx> 00099 #include <xsd/cxx/xml/dom/serialization-header.hxx> 00100 00101 #include <xsd/cxx/tree/std-ostream-operators.hxx> 00102 00103 namespace xml_schema 00104 { 00105 // anyType and anySimpleType. 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 // 8-bit 00112 // 00113 typedef signed char byte; 00114 typedef unsigned char unsigned_byte; 00115 00116 // 16-bit 00117 // 00118 typedef short short_; 00119 typedef unsigned short unsigned_short; 00120 00121 // 32-bit 00122 // 00123 typedef int int_; 00124 typedef unsigned int unsigned_int; 00125 00126 // 64-bit 00127 // 00128 typedef long long long_; 00129 typedef unsigned long long unsigned_long; 00130 00131 // Supposed to be arbitrary-length integral types. 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 // Boolean. 00140 // 00141 typedef bool boolean; 00142 00143 // Floating-point types. 00144 // 00145 typedef float float_; 00146 typedef double double_; 00147 typedef double decimal; 00148 00149 // String types. 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 // ID/IDREF. 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 // URI. 00167 // 00168 typedef ::xsd::cxx::tree::uri<char, simple_type> uri; 00169 00170 // Qualified name. 00171 // 00172 typedef ::xsd::cxx::tree::qname<char, simple_type, uri, ncname> qname; 00173 00174 // Binary. 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 // Date/time. 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 // Entity. 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 // Namespace information and list stream. Used in 00200 // serialization functions. 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 // Flags and properties. 00210 // 00211 typedef ::xsd::cxx::tree::flags flags; 00212 typedef ::xsd::cxx::tree::properties<char> properties; 00213 00214 // Parsing/serialization diagnostics. 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 // Exceptions. 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 // Error handler callback interface. 00235 // 00236 typedef ::xsd::cxx::xml::error_handler<char> error_handler; 00237 00238 // DOM interaction. 00239 // 00240 namespace dom 00241 { 00242 // Automatic pointer for DOMDocument. 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 // DOM user data key for back pointers to tree nodes. 00249 // 00250 const XMLCh* const tree_node_key = ::xsd::cxx::tree::user_data_keys::node; 00251 #endif 00252 } 00253 } 00254 00255 // Forward declarations. 00256 // 00257 class Tag_t; 00258 class Attachment_t; 00259 class Field_t; 00260 class Form_t; 00261 class ECLEntry_t; 00262 00263 #include <algorithm> // std::binary_search 00264 #include <limits> // std::numeric_limits 00265 #include <memory> // ::std::unique_ptr 00266 #include <utility> // std::move 00267 00268 #include <xsd/cxx/xml/char-utf8.hxx> 00269 00270 #include <xsd/cxx/tree/containers.hxx> 00271 #include <xsd/cxx/tree/elements.hxx> 00272 #include <xsd/cxx/tree/exceptions.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 // name 00281 // 00282 typedef ::xml_schema::string name_type; 00283 typedef ::xsd::cxx::tree::traits<name_type, char> name_traits; 00284 00285 const name_type& name() const; 00286 00287 name_type& name(); 00288 00289 void name(const name_type& x); 00290 00291 void name(::std::unique_ptr<name_type> p); 00292 00293 // Constructors. 00294 // 00295 Tag_t(); 00296 00297 Tag_t(const name_type&); 00298 00299 Tag_t(const ::xercesc::DOMElement& e, 00300 ::xml_schema::flags f = 0, 00301 ::xml_schema::container* c = 0); 00302 00303 Tag_t(const Tag_t& x, ::xml_schema::flags f = 0, ::xml_schema::container* c = 0); 00304 00305 virtual Tag_t* _clone(::xml_schema::flags f = 0, 00306 ::xml_schema::container* c = 0) const; 00307 00308 Tag_t& operator=(const Tag_t& x); 00309 00310 virtual ~Tag_t(); 00311 00312 // Implementation. 00313 // 00314 protected: 00315 void parse(::xsd::cxx::xml::dom::parser<char>&, ::xml_schema::flags); 00316 00317 protected: 00318 ::xsd::cxx::tree::one<name_type> name_; 00319 }; 00320 00321 class Attachment_t : public ::xml_schema::base64_binary 00322 { 00323 public: 00324 // type 00325 // 00326 typedef ::xml_schema::string type_type; 00327 typedef ::xsd::cxx::tree::traits<type_type, char> type_traits; 00328 00329 const type_type& type() const; 00330 00331 type_type& type(); 00332 00333 void type(const type_type& x); 00334 00335 void type(::std::unique_ptr<type_type> p); 00336 00337 // filename 00338 // 00339 typedef ::xml_schema::string filename_type; 00340 typedef ::xsd::cxx::tree::traits<filename_type, char> filename_traits; 00341 00342 const filename_type& filename() const; 00343 00344 filename_type& filename(); 00345 00346 void filename(const filename_type& x); 00347 00348 void filename(::std::unique_ptr<filename_type> p); 00349 00350 // Constructors. 00351 // 00352 Attachment_t(); 00353 00354 Attachment_t(const type_type&, const filename_type&); 00355 00356 Attachment_t(const ::xml_schema::base64_binary&, 00357 const type_type&, 00358 const filename_type&); 00359 00360 Attachment_t(const ::xercesc::DOMElement& e, 00361 ::xml_schema::flags f = 0, 00362 ::xml_schema::container* c = 0); 00363 00364 Attachment_t(const Attachment_t& x, 00365 ::xml_schema::flags f = 0, 00366 ::xml_schema::container* c = 0); 00367 00368 virtual Attachment_t* _clone(::xml_schema::flags f = 0, 00369 ::xml_schema::container* c = 0) const; 00370 00371 Attachment_t& operator=(const Attachment_t& x); 00372 00373 virtual ~Attachment_t(); 00374 00375 // Implementation. 00376 // 00377 protected: 00378 void parse(::xsd::cxx::xml::dom::parser<char>&, ::xml_schema::flags); 00379 00380 protected: 00381 ::xsd::cxx::tree::one<type_type> type_; 00382 ::xsd::cxx::tree::one<filename_type> filename_; 00383 }; 00384 00385 class Field_t : public ::xml_schema::string 00386 { 00387 public: 00388 // name 00389 // 00390 typedef ::xml_schema::string name_type; 00391 typedef ::xsd::cxx::tree::traits<name_type, char> name_traits; 00392 00393 const name_type& name() const; 00394 00395 name_type& name(); 00396 00397 void name(const name_type& x); 00398 00399 void name(::std::unique_ptr<name_type> p); 00400 00401 // Constructors. 00402 // 00403 Field_t(); 00404 00405 Field_t(const name_type&); 00406 00407 Field_t(const char*, const name_type&); 00408 00409 Field_t(const ::std::string&, const name_type&); 00410 00411 Field_t(const ::xml_schema::string&, const name_type&); 00412 00413 Field_t(const ::xercesc::DOMElement& e, 00414 ::xml_schema::flags f = 0, 00415 ::xml_schema::container* c = 0); 00416 00417 Field_t(const Field_t& x, ::xml_schema::flags f = 0, ::xml_schema::container* c = 0); 00418 00419 virtual Field_t* _clone(::xml_schema::flags f = 0, 00420 ::xml_schema::container* c = 0) const; 00421 00422 Field_t& operator=(const Field_t& x); 00423 00424 virtual ~Field_t(); 00425 00426 // Implementation. 00427 // 00428 protected: 00429 void parse(::xsd::cxx::xml::dom::parser<char>&, ::xml_schema::flags); 00430 00431 protected: 00432 ::xsd::cxx::tree::one<name_type> name_; 00433 }; 00434 00435 class Form_t : public ::xml_schema::type 00436 { 00437 public: 00438 // field 00439 // 00440 typedef ::Field_t field_type; 00441 typedef ::xsd::cxx::tree::sequence<field_type> field_sequence; 00442 typedef field_sequence::iterator field_iterator; 00443 typedef field_sequence::const_iterator field_const_iterator; 00444 typedef ::xsd::cxx::tree::traits<field_type, char> field_traits; 00445 00446 const field_sequence& field() const; 00447 00448 field_sequence& field(); 00449 00450 void field(const field_sequence& s); 00451 00452 // name 00453 // 00454 typedef ::xml_schema::string name_type; 00455 typedef ::xsd::cxx::tree::traits<name_type, char> name_traits; 00456 00457 const name_type& name() const; 00458 00459 name_type& name(); 00460 00461 void name(const name_type& x); 00462 00463 void name(::std::unique_ptr<name_type> p); 00464 00465 // Constructors. 00466 // 00467 Form_t(); 00468 00469 Form_t(const name_type&); 00470 00471 Form_t(const ::xercesc::DOMElement& e, 00472 ::xml_schema::flags f = 0, 00473 ::xml_schema::container* c = 0); 00474 00475 Form_t(const Form_t& x, ::xml_schema::flags f = 0, ::xml_schema::container* c = 0); 00476 00477 virtual Form_t* _clone(::xml_schema::flags f = 0, 00478 ::xml_schema::container* c = 0) const; 00479 00480 Form_t& operator=(const Form_t& x); 00481 00482 virtual ~Form_t(); 00483 00484 // Implementation. 00485 // 00486 protected: 00487 void parse(::xsd::cxx::xml::dom::parser<char>&, ::xml_schema::flags); 00488 00489 protected: 00490 field_sequence field_; 00491 ::xsd::cxx::tree::one<name_type> name_; 00492 }; 00493 00494 class ECLEntry_t : public ::xml_schema::type 00495 { 00496 public: 00497 // tag 00498 // 00499 typedef ::Tag_t tag_type; 00500 typedef ::xsd::cxx::tree::sequence<tag_type> tag_sequence; 00501 typedef tag_sequence::iterator tag_iterator; 00502 typedef tag_sequence::const_iterator tag_const_iterator; 00503 typedef ::xsd::cxx::tree::traits<tag_type, char> tag_traits; 00504 00505 const tag_sequence& tag() const; 00506 00507 tag_sequence& tag(); 00508 00509 void tag(const tag_sequence& s); 00510 00511 // attachment 00512 // 00513 typedef ::Attachment_t attachment_type; 00514 typedef ::xsd::cxx::tree::sequence<attachment_type> attachment_sequence; 00515 typedef attachment_sequence::iterator attachment_iterator; 00516 typedef attachment_sequence::const_iterator attachment_const_iterator; 00517 typedef ::xsd::cxx::tree::traits<attachment_type, char> attachment_traits; 00518 00519 const attachment_sequence& attachment() const; 00520 00521 attachment_sequence& attachment(); 00522 00523 void attachment(const attachment_sequence& s); 00524 00525 // form 00526 // 00527 typedef ::Form_t form_type; 00528 typedef ::xsd::cxx::tree::optional<form_type> form_optional; 00529 typedef ::xsd::cxx::tree::traits<form_type, char> form_traits; 00530 00531 const form_optional& form() const; 00532 00533 form_optional& form(); 00534 00535 void form(const form_type& x); 00536 00537 void form(const form_optional& x); 00538 00539 void form(::std::unique_ptr<form_type> p); 00540 00541 // author 00542 // 00543 typedef ::xml_schema::string author_type; 00544 typedef ::xsd::cxx::tree::traits<author_type, char> author_traits; 00545 00546 const author_type& author() const; 00547 00548 author_type& author(); 00549 00550 void author(const author_type& x); 00551 00552 void author(::std::unique_ptr<author_type> p); 00553 00554 // category 00555 // 00556 typedef ::xml_schema::string category_type; 00557 typedef ::xsd::cxx::tree::traits<category_type, char> category_traits; 00558 00559 const category_type& category() const; 00560 00561 category_type& category(); 00562 00563 void category(const category_type& x); 00564 00565 void category(::std::unique_ptr<category_type> p); 00566 00567 // Constructors. 00568 // 00569 ECLEntry_t(); 00570 00571 ECLEntry_t(const author_type&, const category_type&); 00572 00573 ECLEntry_t(const ::xercesc::DOMElement& e, 00574 ::xml_schema::flags f = 0, 00575 ::xml_schema::container* c = 0); 00576 00577 ECLEntry_t(const ECLEntry_t& x, 00578 ::xml_schema::flags f = 0, 00579 ::xml_schema::container* c = 0); 00580 00581 virtual ECLEntry_t* _clone(::xml_schema::flags f = 0, 00582 ::xml_schema::container* c = 0) const; 00583 00584 ECLEntry_t& operator=(const ECLEntry_t& x); 00585 00586 virtual ~ECLEntry_t(); 00587 00588 // Implementation. 00589 // 00590 protected: 00591 void parse(::xsd::cxx::xml::dom::parser<char>&, ::xml_schema::flags); 00592 00593 protected: 00594 tag_sequence tag_; 00595 attachment_sequence attachment_; 00596 form_optional form_; 00597 ::xsd::cxx::tree::one<author_type> author_; 00598 ::xsd::cxx::tree::one<category_type> category_; 00599 }; 00600 00601 #include <iosfwd> 00602 00603 ::std::ostream& operator<<(::std::ostream&, const Tag_t&); 00604 00605 ::std::ostream& operator<<(::std::ostream&, const Attachment_t&); 00606 00607 ::std::ostream& operator<<(::std::ostream&, const Field_t&); 00608 00609 ::std::ostream& operator<<(::std::ostream&, const Form_t&); 00610 00611 ::std::ostream& operator<<(::std::ostream&, const ECLEntry_t&); 00612 00613 #include <iosfwd> 00614 00615 #include <xercesc/dom/DOMDocument.hpp> 00616 #include <xercesc/dom/DOMErrorHandler.hpp> 00617 #include <xercesc/sax/InputSource.hpp> 00618 00619 // Parse a URI or a local file. 00620 // 00621 00622 ::std::unique_ptr< ::ECLEntry_t> entry( 00623 const ::std::string& uri, 00624 ::xml_schema::flags f = 0, 00625 const ::xml_schema::properties& p = ::xml_schema::properties()); 00626 00627 ::std::unique_ptr< ::ECLEntry_t> entry( 00628 const ::std::string& uri, 00629 ::xml_schema::error_handler& eh, 00630 ::xml_schema::flags f = 0, 00631 const ::xml_schema::properties& p = ::xml_schema::properties()); 00632 00633 ::std::unique_ptr< ::ECLEntry_t> entry( 00634 const ::std::string& uri, 00635 ::xercesc::DOMErrorHandler& eh, 00636 ::xml_schema::flags f = 0, 00637 const ::xml_schema::properties& p = ::xml_schema::properties()); 00638 00639 // Parse std::istream. 00640 // 00641 00642 ::std::unique_ptr< ::ECLEntry_t> entry( 00643 ::std::istream& is, 00644 ::xml_schema::flags f = 0, 00645 const ::xml_schema::properties& p = ::xml_schema::properties()); 00646 00647 ::std::unique_ptr< ::ECLEntry_t> entry( 00648 ::std::istream& is, 00649 ::xml_schema::error_handler& eh, 00650 ::xml_schema::flags f = 0, 00651 const ::xml_schema::properties& p = ::xml_schema::properties()); 00652 00653 ::std::unique_ptr< ::ECLEntry_t> entry( 00654 ::std::istream& is, 00655 ::xercesc::DOMErrorHandler& eh, 00656 ::xml_schema::flags f = 0, 00657 const ::xml_schema::properties& p = ::xml_schema::properties()); 00658 00659 ::std::unique_ptr< ::ECLEntry_t> entry( 00660 ::std::istream& is, 00661 const ::std::string& id, 00662 ::xml_schema::flags f = 0, 00663 const ::xml_schema::properties& p = ::xml_schema::properties()); 00664 00665 ::std::unique_ptr< ::ECLEntry_t> entry( 00666 ::std::istream& is, 00667 const ::std::string& id, 00668 ::xml_schema::error_handler& eh, 00669 ::xml_schema::flags f = 0, 00670 const ::xml_schema::properties& p = ::xml_schema::properties()); 00671 00672 ::std::unique_ptr< ::ECLEntry_t> entry( 00673 ::std::istream& is, 00674 const ::std::string& id, 00675 ::xercesc::DOMErrorHandler& eh, 00676 ::xml_schema::flags f = 0, 00677 const ::xml_schema::properties& p = ::xml_schema::properties()); 00678 00679 // Parse xercesc::InputSource. 00680 // 00681 00682 ::std::unique_ptr< ::ECLEntry_t> entry( 00683 ::xercesc::InputSource& is, 00684 ::xml_schema::flags f = 0, 00685 const ::xml_schema::properties& p = ::xml_schema::properties()); 00686 00687 ::std::unique_ptr< ::ECLEntry_t> entry( 00688 ::xercesc::InputSource& is, 00689 ::xml_schema::error_handler& eh, 00690 ::xml_schema::flags f = 0, 00691 const ::xml_schema::properties& p = ::xml_schema::properties()); 00692 00693 ::std::unique_ptr< ::ECLEntry_t> entry( 00694 ::xercesc::InputSource& is, 00695 ::xercesc::DOMErrorHandler& eh, 00696 ::xml_schema::flags f = 0, 00697 const ::xml_schema::properties& p = ::xml_schema::properties()); 00698 00699 // Parse xercesc::DOMDocument. 00700 // 00701 00702 ::std::unique_ptr< ::ECLEntry_t> entry( 00703 const ::xercesc::DOMDocument& d, 00704 ::xml_schema::flags f = 0, 00705 const ::xml_schema::properties& p = ::xml_schema::properties()); 00706 00707 ::std::unique_ptr< ::ECLEntry_t> entry( 00708 ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument> d, 00709 ::xml_schema::flags f = 0, 00710 const ::xml_schema::properties& p = ::xml_schema::properties()); 00711 00712 #include <iosfwd> 00713 00714 #include <xercesc/dom/DOMDocument.hpp> 00715 #include <xercesc/dom/DOMErrorHandler.hpp> 00716 #include <xercesc/framework/XMLFormatter.hpp> 00717 00718 #include <xsd/cxx/xml/dom/auto-ptr.hxx> 00719 00720 // Serialize to std::ostream. 00721 // 00722 00723 void entry(::std::ostream& os, 00724 const ::ECLEntry_t& x, 00725 const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap(), 00726 const ::std::string& e = "UTF-8", 00727 ::xml_schema::flags f = 0); 00728 00729 void entry(::std::ostream& os, 00730 const ::ECLEntry_t& x, 00731 ::xml_schema::error_handler& eh, 00732 const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap(), 00733 const ::std::string& e = "UTF-8", 00734 ::xml_schema::flags f = 0); 00735 00736 void entry(::std::ostream& os, 00737 const ::ECLEntry_t& x, 00738 ::xercesc::DOMErrorHandler& eh, 00739 const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap(), 00740 const ::std::string& e = "UTF-8", 00741 ::xml_schema::flags f = 0); 00742 00743 // Serialize to xercesc::XMLFormatTarget. 00744 // 00745 00746 void entry(::xercesc::XMLFormatTarget& ft, 00747 const ::ECLEntry_t& x, 00748 const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap(), 00749 const ::std::string& e = "UTF-8", 00750 ::xml_schema::flags f = 0); 00751 00752 void entry(::xercesc::XMLFormatTarget& ft, 00753 const ::ECLEntry_t& x, 00754 ::xml_schema::error_handler& eh, 00755 const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap(), 00756 const ::std::string& e = "UTF-8", 00757 ::xml_schema::flags f = 0); 00758 00759 void entry(::xercesc::XMLFormatTarget& ft, 00760 const ::ECLEntry_t& x, 00761 ::xercesc::DOMErrorHandler& eh, 00762 const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap(), 00763 const ::std::string& e = "UTF-8", 00764 ::xml_schema::flags f = 0); 00765 00766 // Serialize to an existing xercesc::DOMDocument. 00767 // 00768 00769 void entry(::xercesc::DOMDocument& d, const ::ECLEntry_t& x, ::xml_schema::flags f = 0); 00770 00771 // Serialize to a new xercesc::DOMDocument. 00772 // 00773 00774 ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument> entry( 00775 const ::ECLEntry_t& x, 00776 const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap(), 00777 ::xml_schema::flags f = 0); 00778 00779 void operator<<(::xercesc::DOMElement&, const Tag_t&); 00780 00781 void operator<<(::xercesc::DOMElement&, const Attachment_t&); 00782 00783 void operator<<(::xercesc::DOMElement&, const Field_t&); 00784 00785 void operator<<(::xercesc::DOMElement&, const Form_t&); 00786 00787 void operator<<(::xercesc::DOMElement&, const ECLEntry_t&); 00788 00789 #include <xsd/cxx/post.hxx> 00790 00791 // Begin epilogue. 00792 // 00793 // 00794 // End epilogue. 00795 00796 #endif // ECL_HXX