tdaq-develop-2025-02-12
ECL.hxx
1 // Copyright (c) 2005-2017 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 
34 #ifndef ECL_HXX
35 #define ECL_HXX
36 
37 #ifndef XSD_CXX11
38 #define XSD_CXX11
39 #endif
40 
41 #ifndef XSD_USE_CHAR
42 #define XSD_USE_CHAR
43 #endif
44 
45 #ifndef XSD_CXX_TREE_USE_CHAR
46 #define XSD_CXX_TREE_USE_CHAR
47 #endif
48 
49 // Begin prologue.
50 //
51 //
52 // End prologue.
53 
54 #include <xsd/cxx/config.hxx>
55 
56 #if(XSD_INT_VERSION != 4009911L)
57 #error XSD runtime version mismatch
58 #endif
59 
60 #include <xsd/cxx/pre.hxx>
61 
62 #include <xsd/cxx/xml/char-utf8.hxx>
63 
64 #include <xsd/cxx/tree/elements.hxx>
65 #include <xsd/cxx/tree/exceptions.hxx>
66 #include <xsd/cxx/tree/types.hxx>
67 
68 #include <xsd/cxx/xml/error-handler.hxx>
69 
70 #include <xsd/cxx/xml/dom/auto-ptr.hxx>
71 
72 #include <xsd/cxx/tree/parsing.hxx>
73 #include <xsd/cxx/tree/parsing/boolean.hxx>
74 #include <xsd/cxx/tree/parsing/byte.hxx>
75 #include <xsd/cxx/tree/parsing/decimal.hxx>
76 #include <xsd/cxx/tree/parsing/double.hxx>
77 #include <xsd/cxx/tree/parsing/float.hxx>
78 #include <xsd/cxx/tree/parsing/int.hxx>
79 #include <xsd/cxx/tree/parsing/long.hxx>
80 #include <xsd/cxx/tree/parsing/short.hxx>
81 #include <xsd/cxx/tree/parsing/unsigned-byte.hxx>
82 #include <xsd/cxx/tree/parsing/unsigned-int.hxx>
83 #include <xsd/cxx/tree/parsing/unsigned-long.hxx>
84 #include <xsd/cxx/tree/parsing/unsigned-short.hxx>
85 
86 #include <xsd/cxx/tree/serialization.hxx>
87 #include <xsd/cxx/tree/serialization/boolean.hxx>
88 #include <xsd/cxx/tree/serialization/byte.hxx>
89 #include <xsd/cxx/tree/serialization/decimal.hxx>
90 #include <xsd/cxx/tree/serialization/double.hxx>
91 #include <xsd/cxx/tree/serialization/float.hxx>
92 #include <xsd/cxx/tree/serialization/int.hxx>
93 #include <xsd/cxx/tree/serialization/long.hxx>
94 #include <xsd/cxx/tree/serialization/short.hxx>
95 #include <xsd/cxx/tree/serialization/unsigned-byte.hxx>
96 #include <xsd/cxx/tree/serialization/unsigned-int.hxx>
97 #include <xsd/cxx/tree/serialization/unsigned-long.hxx>
98 #include <xsd/cxx/tree/serialization/unsigned-short.hxx>
99 #include <xsd/cxx/xml/dom/serialization-header.hxx>
100 
101 #include <xsd/cxx/tree/std-ostream-operators.hxx>
102 
103 namespace xml_schema
104 {
105 // anyType and anySimpleType.
106 //
107 typedef ::xsd::cxx::tree::type type;
108 typedef ::xsd::cxx::tree::simple_type<char, type> simple_type;
109 typedef ::xsd::cxx::tree::type container;
110 
111 // 8-bit
112 //
113 typedef signed char byte;
114 typedef unsigned char unsigned_byte;
115 
116 // 16-bit
117 //
118 typedef short short_;
119 typedef unsigned short unsigned_short;
120 
121 // 32-bit
122 //
123 typedef int int_;
124 typedef unsigned int unsigned_int;
125 
126 // 64-bit
127 //
128 typedef long long long_;
129 typedef unsigned long long unsigned_long;
130 
131 // Supposed to be arbitrary-length integral types.
132 //
133 typedef long long integer;
134 typedef long long non_positive_integer;
135 typedef unsigned long long non_negative_integer;
136 typedef unsigned long long positive_integer;
137 typedef long long negative_integer;
138 
139 // Boolean.
140 //
141 typedef bool boolean;
142 
143 // Floating-point types.
144 //
145 typedef float float_;
146 typedef double double_;
147 typedef double decimal;
148 
149 // String types.
150 //
151 typedef ::xsd::cxx::tree::string<char, simple_type> string;
152 typedef ::xsd::cxx::tree::normalized_string<char, string> normalized_string;
153 typedef ::xsd::cxx::tree::token<char, normalized_string> token;
154 typedef ::xsd::cxx::tree::name<char, token> name;
155 typedef ::xsd::cxx::tree::nmtoken<char, token> nmtoken;
156 typedef ::xsd::cxx::tree::nmtokens<char, simple_type, nmtoken> nmtokens;
157 typedef ::xsd::cxx::tree::ncname<char, name> ncname;
158 typedef ::xsd::cxx::tree::language<char, token> language;
159 
160 // ID/IDREF.
161 //
162 typedef ::xsd::cxx::tree::id<char, ncname> id;
163 typedef ::xsd::cxx::tree::idref<char, ncname, type> idref;
164 typedef ::xsd::cxx::tree::idrefs<char, simple_type, idref> idrefs;
165 
166 // URI.
167 //
168 typedef ::xsd::cxx::tree::uri<char, simple_type> uri;
169 
170 // Qualified name.
171 //
172 typedef ::xsd::cxx::tree::qname<char, simple_type, uri, ncname> qname;
173 
174 // Binary.
175 //
176 typedef ::xsd::cxx::tree::buffer<char> buffer;
177 typedef ::xsd::cxx::tree::base64_binary<char, simple_type> base64_binary;
178 typedef ::xsd::cxx::tree::hex_binary<char, simple_type> hex_binary;
179 
180 // Date/time.
181 //
182 typedef ::xsd::cxx::tree::time_zone time_zone;
183 typedef ::xsd::cxx::tree::date<char, simple_type> date;
184 typedef ::xsd::cxx::tree::date_time<char, simple_type> date_time;
185 typedef ::xsd::cxx::tree::duration<char, simple_type> duration;
186 typedef ::xsd::cxx::tree::gday<char, simple_type> gday;
187 typedef ::xsd::cxx::tree::gmonth<char, simple_type> gmonth;
188 typedef ::xsd::cxx::tree::gmonth_day<char, simple_type> gmonth_day;
189 typedef ::xsd::cxx::tree::gyear<char, simple_type> gyear;
190 typedef ::xsd::cxx::tree::gyear_month<char, simple_type> gyear_month;
191 typedef ::xsd::cxx::tree::time<char, simple_type> time;
192 
193 // Entity.
194 //
195 typedef ::xsd::cxx::tree::entity<char, ncname> entity;
196 typedef ::xsd::cxx::tree::entities<char, simple_type, entity> entities;
197 
198 typedef ::xsd::cxx::tree::content_order content_order;
199 // Namespace information and list stream. Used in
200 // serialization functions.
201 //
202 typedef ::xsd::cxx::xml::dom::namespace_info<char> namespace_info;
203 typedef ::xsd::cxx::xml::dom::namespace_infomap<char> namespace_infomap;
204 typedef ::xsd::cxx::tree::list_stream<char> list_stream;
205 typedef ::xsd::cxx::tree::as_double<double_> as_double;
206 typedef ::xsd::cxx::tree::as_decimal<decimal> as_decimal;
207 typedef ::xsd::cxx::tree::facet facet;
208 
209 // Flags and properties.
210 //
211 typedef ::xsd::cxx::tree::flags flags;
212 typedef ::xsd::cxx::tree::properties<char> properties;
213 
214 // Parsing/serialization diagnostics.
215 //
216 typedef ::xsd::cxx::tree::severity severity;
217 typedef ::xsd::cxx::tree::error<char> error;
218 typedef ::xsd::cxx::tree::diagnostics<char> diagnostics;
219 
220 // Exceptions.
221 //
222 typedef ::xsd::cxx::tree::exception<char> exception;
223 typedef ::xsd::cxx::tree::bounds<char> bounds;
224 typedef ::xsd::cxx::tree::duplicate_id<char> duplicate_id;
225 typedef ::xsd::cxx::tree::parsing<char> parsing;
226 typedef ::xsd::cxx::tree::expected_element<char> expected_element;
227 typedef ::xsd::cxx::tree::unexpected_element<char> unexpected_element;
228 typedef ::xsd::cxx::tree::expected_attribute<char> expected_attribute;
229 typedef ::xsd::cxx::tree::unexpected_enumerator<char> unexpected_enumerator;
230 typedef ::xsd::cxx::tree::expected_text_content<char> expected_text_content;
231 typedef ::xsd::cxx::tree::no_prefix_mapping<char> no_prefix_mapping;
232 typedef ::xsd::cxx::tree::serialization<char> serialization;
233 
234 // Error handler callback interface.
235 //
236 typedef ::xsd::cxx::xml::error_handler<char> error_handler;
237 
238 // DOM interaction.
239 //
240 namespace dom
241 {
242 // Automatic pointer for DOMDocument.
243 //
244 using ::xsd::cxx::xml::dom::unique_ptr;
245 
246 #ifndef XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA
247 #define XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA
248 // DOM user data key for back pointers to tree nodes.
249 //
250 const XMLCh* const tree_node_key = ::xsd::cxx::tree::user_data_keys::node;
251 #endif
252 } // namespace dom
253 } // namespace xml_schema
254 
255 // Forward declarations.
256 //
257 class Tag_t;
258 class Attachment_t;
259 class Field_t;
260 class Form_t;
261 class ECLEntry_t;
262 
263 #include <algorithm> // std::binary_search
264 #include <limits> // std::numeric_limits
265 #include <memory> // ::std::unique_ptr
266 #include <utility> // std::move
267 
268 #include <xsd/cxx/xml/char-utf8.hxx>
269 
270 #include <xsd/cxx/tree/containers.hxx>
271 #include <xsd/cxx/tree/elements.hxx>
272 #include <xsd/cxx/tree/exceptions.hxx>
273 #include <xsd/cxx/tree/list.hxx>
274 
275 #include <xsd/cxx/xml/dom/parsing-header.hxx>
276 
277 class Tag_t : public ::xml_schema::type
278 {
279  public:
280  // name
281  //
282  typedef ::xml_schema::string name_type;
283  typedef ::xsd::cxx::tree::traits<name_type, char> name_traits;
284 
285  const name_type& name() const;
286 
287  name_type& name();
288 
289  void name(const name_type& x);
290 
291  void name(::std::unique_ptr<name_type> p);
292 
293  // Constructors.
294  //
295  Tag_t();
296 
297  Tag_t(const name_type&);
298 
299  Tag_t(const ::xercesc::DOMElement& e,
300  ::xml_schema::flags f = 0,
301  ::xml_schema::container* c = 0);
302 
303  Tag_t(const Tag_t& x, ::xml_schema::flags f = 0, ::xml_schema::container* c = 0);
304 
305  virtual Tag_t* _clone(::xml_schema::flags f = 0,
306  ::xml_schema::container* c = 0) const;
307 
308  Tag_t& operator=(const Tag_t& x);
309 
310  virtual ~Tag_t();
311 
312  // Implementation.
313  //
314  protected:
315  void parse(::xsd::cxx::xml::dom::parser<char>&, ::xml_schema::flags);
316 
317  protected:
318  ::xsd::cxx::tree::one<name_type> name_;
319 };
320 
321 class Attachment_t : public ::xml_schema::base64_binary
322 {
323  public:
324  // type
325  //
326  typedef ::xml_schema::string type_type;
327  typedef ::xsd::cxx::tree::traits<type_type, char> type_traits;
328 
329  const type_type& type() const;
330 
331  type_type& type();
332 
333  void type(const type_type& x);
334 
335  void type(::std::unique_ptr<type_type> p);
336 
337  // filename
338  //
339  typedef ::xml_schema::string filename_type;
340  typedef ::xsd::cxx::tree::traits<filename_type, char> filename_traits;
341 
342  const filename_type& filename() const;
343 
344  filename_type& filename();
345 
346  void filename(const filename_type& x);
347 
348  void filename(::std::unique_ptr<filename_type> p);
349 
350  // Constructors.
351  //
352  Attachment_t();
353 
354  Attachment_t(const type_type&, const filename_type&);
355 
356  Attachment_t(const ::xml_schema::base64_binary&,
357  const type_type&,
358  const filename_type&);
359 
360  Attachment_t(const ::xercesc::DOMElement& e,
361  ::xml_schema::flags f = 0,
362  ::xml_schema::container* c = 0);
363 
364  Attachment_t(const Attachment_t& x,
365  ::xml_schema::flags f = 0,
366  ::xml_schema::container* c = 0);
367 
368  virtual Attachment_t* _clone(::xml_schema::flags f = 0,
369  ::xml_schema::container* c = 0) const;
370 
371  Attachment_t& operator=(const Attachment_t& x);
372 
373  virtual ~Attachment_t();
374 
375  // Implementation.
376  //
377  protected:
378  void parse(::xsd::cxx::xml::dom::parser<char>&, ::xml_schema::flags);
379 
380  protected:
381  ::xsd::cxx::tree::one<type_type> type_;
382  ::xsd::cxx::tree::one<filename_type> filename_;
383 };
384 
385 class Field_t : public ::xml_schema::string
386 {
387  public:
388  // name
389  //
390  typedef ::xml_schema::string name_type;
391  typedef ::xsd::cxx::tree::traits<name_type, char> name_traits;
392 
393  const name_type& name() const;
394 
395  name_type& name();
396 
397  void name(const name_type& x);
398 
399  void name(::std::unique_ptr<name_type> p);
400 
401  // Constructors.
402  //
403  Field_t();
404 
405  Field_t(const name_type&);
406 
407  Field_t(const char*, const name_type&);
408 
409  Field_t(const ::std::string&, const name_type&);
410 
411  Field_t(const ::xml_schema::string&, const name_type&);
412 
413  Field_t(const ::xercesc::DOMElement& e,
414  ::xml_schema::flags f = 0,
415  ::xml_schema::container* c = 0);
416 
417  Field_t(const Field_t& x, ::xml_schema::flags f = 0, ::xml_schema::container* c = 0);
418 
419  virtual Field_t* _clone(::xml_schema::flags f = 0,
420  ::xml_schema::container* c = 0) const;
421 
422  Field_t& operator=(const Field_t& x);
423 
424  virtual ~Field_t();
425 
426  // Implementation.
427  //
428  protected:
429  void parse(::xsd::cxx::xml::dom::parser<char>&, ::xml_schema::flags);
430 
431  protected:
432  ::xsd::cxx::tree::one<name_type> name_;
433 };
434 
435 class Form_t : public ::xml_schema::type
436 {
437  public:
438  // field
439  //
440  typedef ::Field_t field_type;
441  typedef ::xsd::cxx::tree::sequence<field_type> field_sequence;
442  typedef field_sequence::iterator field_iterator;
443  typedef field_sequence::const_iterator field_const_iterator;
444  typedef ::xsd::cxx::tree::traits<field_type, char> field_traits;
445 
446  const field_sequence& field() const;
447 
448  field_sequence& field();
449 
450  void field(const field_sequence& s);
451 
452  // name
453  //
454  typedef ::xml_schema::string name_type;
455  typedef ::xsd::cxx::tree::traits<name_type, char> name_traits;
456 
457  const name_type& name() const;
458 
459  name_type& name();
460 
461  void name(const name_type& x);
462 
463  void name(::std::unique_ptr<name_type> p);
464 
465  // Constructors.
466  //
467  Form_t();
468 
469  Form_t(const name_type&);
470 
471  Form_t(const ::xercesc::DOMElement& e,
472  ::xml_schema::flags f = 0,
473  ::xml_schema::container* c = 0);
474 
475  Form_t(const Form_t& x, ::xml_schema::flags f = 0, ::xml_schema::container* c = 0);
476 
477  virtual Form_t* _clone(::xml_schema::flags f = 0,
478  ::xml_schema::container* c = 0) const;
479 
480  Form_t& operator=(const Form_t& x);
481 
482  virtual ~Form_t();
483 
484  // Implementation.
485  //
486  protected:
487  void parse(::xsd::cxx::xml::dom::parser<char>&, ::xml_schema::flags);
488 
489  protected:
490  field_sequence field_;
491  ::xsd::cxx::tree::one<name_type> name_;
492 };
493 
494 class ECLEntry_t : public ::xml_schema::type
495 {
496  public:
497  // tag
498  //
499  typedef ::Tag_t tag_type;
500  typedef ::xsd::cxx::tree::sequence<tag_type> tag_sequence;
501  typedef tag_sequence::iterator tag_iterator;
502  typedef tag_sequence::const_iterator tag_const_iterator;
503  typedef ::xsd::cxx::tree::traits<tag_type, char> tag_traits;
504 
505  const tag_sequence& tag() const;
506 
507  tag_sequence& tag();
508 
509  void tag(const tag_sequence& s);
510 
511  // attachment
512  //
513  typedef ::Attachment_t attachment_type;
514  typedef ::xsd::cxx::tree::sequence<attachment_type> attachment_sequence;
515  typedef attachment_sequence::iterator attachment_iterator;
516  typedef attachment_sequence::const_iterator attachment_const_iterator;
517  typedef ::xsd::cxx::tree::traits<attachment_type, char> attachment_traits;
518 
519  const attachment_sequence& attachment() const;
520 
521  attachment_sequence& attachment();
522 
523  void attachment(const attachment_sequence& s);
524 
525  // form
526  //
527  typedef ::Form_t form_type;
528  typedef ::xsd::cxx::tree::optional<form_type> form_optional;
529  typedef ::xsd::cxx::tree::traits<form_type, char> form_traits;
530 
531  const form_optional& form() const;
532 
533  form_optional& form();
534 
535  void form(const form_type& x);
536 
537  void form(const form_optional& x);
538 
539  void form(::std::unique_ptr<form_type> p);
540 
541  // author
542  //
543  typedef ::xml_schema::string author_type;
544  typedef ::xsd::cxx::tree::traits<author_type, char> author_traits;
545 
546  const author_type& author() const;
547 
548  author_type& author();
549 
550  void author(const author_type& x);
551 
552  void author(::std::unique_ptr<author_type> p);
553 
554  // category
555  //
556  typedef ::xml_schema::string category_type;
557  typedef ::xsd::cxx::tree::traits<category_type, char> category_traits;
558 
559  const category_type& category() const;
560 
561  category_type& category();
562 
563  void category(const category_type& x);
564 
565  void category(::std::unique_ptr<category_type> p);
566 
567  // subject
568  //
569  typedef ::xml_schema::string subject_type;
570  typedef ::xsd::cxx::tree::optional<subject_type> subject_optional;
571  typedef ::xsd::cxx::tree::traits<subject_type, char> subject_traits;
572 
573  const subject_optional& subject() const;
574 
575  subject_optional& subject();
576 
577  void subject(const subject_type& x);
578 
579  void subject(const subject_optional& x);
580 
581  void subject(::std::unique_ptr<subject_type> p);
582 
583  // Constructors.
584  //
585  ECLEntry_t();
586 
587  ECLEntry_t(const author_type&, const category_type&);
588 
589  ECLEntry_t(const ::xercesc::DOMElement& e,
590  ::xml_schema::flags f = 0,
591  ::xml_schema::container* c = 0);
592 
593  ECLEntry_t(const ECLEntry_t& x,
594  ::xml_schema::flags f = 0,
595  ::xml_schema::container* c = 0);
596 
597  virtual ECLEntry_t* _clone(::xml_schema::flags f = 0,
598  ::xml_schema::container* c = 0) const;
599 
600  ECLEntry_t& operator=(const ECLEntry_t& x);
601 
602  virtual ~ECLEntry_t();
603 
604  // Implementation.
605  //
606  protected:
607  void parse(::xsd::cxx::xml::dom::parser<char>&, ::xml_schema::flags);
608 
609  protected:
610  tag_sequence tag_;
611  attachment_sequence attachment_;
612  form_optional form_;
613  ::xsd::cxx::tree::one<author_type> author_;
614  ::xsd::cxx::tree::one<category_type> category_;
615  subject_optional subject_;
616 };
617 
618 #include <iosfwd>
619 
620 ::std::ostream& operator<<(::std::ostream&, const Tag_t&);
621 
622 ::std::ostream& operator<<(::std::ostream&, const Attachment_t&);
623 
624 ::std::ostream& operator<<(::std::ostream&, const Field_t&);
625 
626 ::std::ostream& operator<<(::std::ostream&, const Form_t&);
627 
628 ::std::ostream& operator<<(::std::ostream&, const ECLEntry_t&);
629 
630 #include <iosfwd>
631 
632 #include <xercesc/dom/DOMDocument.hpp>
633 #include <xercesc/dom/DOMErrorHandler.hpp>
634 #include <xercesc/sax/InputSource.hpp>
635 
636 // Parse a URI or a local file.
637 //
638 
639 ::std::unique_ptr< ::ECLEntry_t> entry(
640  const ::std::string& uri,
641  ::xml_schema::flags f = 0,
642  const ::xml_schema::properties& p = ::xml_schema::properties());
643 
644 ::std::unique_ptr< ::ECLEntry_t> entry(
645  const ::std::string& uri,
646  ::xml_schema::error_handler& eh,
647  ::xml_schema::flags f = 0,
648  const ::xml_schema::properties& p = ::xml_schema::properties());
649 
650 ::std::unique_ptr< ::ECLEntry_t> entry(
651  const ::std::string& uri,
652  ::xercesc::DOMErrorHandler& eh,
653  ::xml_schema::flags f = 0,
654  const ::xml_schema::properties& p = ::xml_schema::properties());
655 
656 // Parse std::istream.
657 //
658 
659 ::std::unique_ptr< ::ECLEntry_t> entry(
660  ::std::istream& is,
661  ::xml_schema::flags f = 0,
662  const ::xml_schema::properties& p = ::xml_schema::properties());
663 
664 ::std::unique_ptr< ::ECLEntry_t> entry(
665  ::std::istream& is,
666  ::xml_schema::error_handler& eh,
667  ::xml_schema::flags f = 0,
668  const ::xml_schema::properties& p = ::xml_schema::properties());
669 
670 ::std::unique_ptr< ::ECLEntry_t> entry(
671  ::std::istream& is,
672  ::xercesc::DOMErrorHandler& eh,
673  ::xml_schema::flags f = 0,
674  const ::xml_schema::properties& p = ::xml_schema::properties());
675 
676 ::std::unique_ptr< ::ECLEntry_t> entry(
677  ::std::istream& is,
678  const ::std::string& id,
679  ::xml_schema::flags f = 0,
680  const ::xml_schema::properties& p = ::xml_schema::properties());
681 
682 ::std::unique_ptr< ::ECLEntry_t> entry(
683  ::std::istream& is,
684  const ::std::string& id,
685  ::xml_schema::error_handler& eh,
686  ::xml_schema::flags f = 0,
687  const ::xml_schema::properties& p = ::xml_schema::properties());
688 
689 ::std::unique_ptr< ::ECLEntry_t> entry(
690  ::std::istream& is,
691  const ::std::string& id,
692  ::xercesc::DOMErrorHandler& eh,
693  ::xml_schema::flags f = 0,
694  const ::xml_schema::properties& p = ::xml_schema::properties());
695 
696 // Parse xercesc::InputSource.
697 //
698 
699 ::std::unique_ptr< ::ECLEntry_t> entry(
700  ::xercesc::InputSource& is,
701  ::xml_schema::flags f = 0,
702  const ::xml_schema::properties& p = ::xml_schema::properties());
703 
704 ::std::unique_ptr< ::ECLEntry_t> entry(
705  ::xercesc::InputSource& is,
706  ::xml_schema::error_handler& eh,
707  ::xml_schema::flags f = 0,
708  const ::xml_schema::properties& p = ::xml_schema::properties());
709 
710 ::std::unique_ptr< ::ECLEntry_t> entry(
711  ::xercesc::InputSource& is,
712  ::xercesc::DOMErrorHandler& eh,
713  ::xml_schema::flags f = 0,
714  const ::xml_schema::properties& p = ::xml_schema::properties());
715 
716 // Parse xercesc::DOMDocument.
717 //
718 
719 ::std::unique_ptr< ::ECLEntry_t> entry(
720  const ::xercesc::DOMDocument& d,
721  ::xml_schema::flags f = 0,
722  const ::xml_schema::properties& p = ::xml_schema::properties());
723 
724 ::std::unique_ptr< ::ECLEntry_t> entry(
725  ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument> d,
726  ::xml_schema::flags f = 0,
727  const ::xml_schema::properties& p = ::xml_schema::properties());
728 
729 #include <iosfwd>
730 
731 #include <xercesc/dom/DOMDocument.hpp>
732 #include <xercesc/dom/DOMErrorHandler.hpp>
733 #include <xercesc/framework/XMLFormatter.hpp>
734 
735 #include <xsd/cxx/xml/dom/auto-ptr.hxx>
736 
737 // Serialize to std::ostream.
738 //
739 
740 void entry(::std::ostream& os,
741  const ::ECLEntry_t& x,
742  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap(),
743  const ::std::string& e = "UTF-8",
744  ::xml_schema::flags f = 0);
745 
746 void entry(::std::ostream& os,
747  const ::ECLEntry_t& x,
748  ::xml_schema::error_handler& eh,
749  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap(),
750  const ::std::string& e = "UTF-8",
751  ::xml_schema::flags f = 0);
752 
753 void entry(::std::ostream& os,
754  const ::ECLEntry_t& x,
755  ::xercesc::DOMErrorHandler& eh,
756  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap(),
757  const ::std::string& e = "UTF-8",
758  ::xml_schema::flags f = 0);
759 
760 // Serialize to xercesc::XMLFormatTarget.
761 //
762 
763 void entry(::xercesc::XMLFormatTarget& ft,
764  const ::ECLEntry_t& x,
765  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap(),
766  const ::std::string& e = "UTF-8",
767  ::xml_schema::flags f = 0);
768 
769 void entry(::xercesc::XMLFormatTarget& ft,
770  const ::ECLEntry_t& x,
771  ::xml_schema::error_handler& eh,
772  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap(),
773  const ::std::string& e = "UTF-8",
774  ::xml_schema::flags f = 0);
775 
776 void entry(::xercesc::XMLFormatTarget& ft,
777  const ::ECLEntry_t& x,
778  ::xercesc::DOMErrorHandler& eh,
779  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap(),
780  const ::std::string& e = "UTF-8",
781  ::xml_schema::flags f = 0);
782 
783 // Serialize to an existing xercesc::DOMDocument.
784 //
785 
786 void entry(::xercesc::DOMDocument& d, const ::ECLEntry_t& x, ::xml_schema::flags f = 0);
787 
788 // Serialize to a new xercesc::DOMDocument.
789 //
790 
791 ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument> entry(
792  const ::ECLEntry_t& x,
793  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap(),
794  ::xml_schema::flags f = 0);
795 
796 void operator<<(::xercesc::DOMElement&, const Tag_t&);
797 
798 void operator<<(::xercesc::DOMElement&, const Attachment_t&);
799 
800 void operator<<(::xercesc::DOMElement&, const Field_t&);
801 
802 void operator<<(::xercesc::DOMElement&, const Form_t&);
803 
804 void operator<<(::xercesc::DOMElement&, const ECLEntry_t&);
805 
806 #include <xsd/cxx/post.hxx>
807 
808 // Begin epilogue.
809 //
810 //
811 // End epilogue.
812 
813 #endif // ECL_HXX
Definition: ECL.hxx:495
Definition: ECL.hxx:386
Definition: ECL.hxx:436
Definition: ECL.hxx:278