Inhaler.hxx
1 // Copyright (c) 2005-2014 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 
39 #ifndef D__BIOGEARS_CORE_SHARE_XSD__CDM_INHALER_HXX
40 #define D__BIOGEARS_CORE_SHARE_XSD__CDM_INHALER_HXX
41 
42 #ifndef XSD_CXX11
43 #define XSD_CXX11
44 #endif
45 
46 #ifndef XSD_USE_CHAR
47 #define XSD_USE_CHAR
48 #endif
49 
50 #ifndef XSD_CXX_TREE_USE_CHAR
51 #define XSD_CXX_TREE_USE_CHAR
52 #endif
53 
54 // Begin prologue.
55 //
56 #include <biogears/cdm-exports.h>
57 //
58 // End prologue.
59 
60 #include <xsd/cxx/config.hxx>
61 
62 #if (XSD_INT_VERSION != 4000000L)
63 #error XSD runtime version mismatch
64 #endif
65 
66 #include <xsd/cxx/pre.hxx>
67 
68 #include <xsd/cxx/xml/char-utf8.hxx>
69 
70 #include <xsd/cxx/tree/exceptions.hxx>
71 #include <xsd/cxx/tree/elements.hxx>
72 #include <xsd/cxx/tree/types.hxx>
73 
74 #include <xsd/cxx/xml/error-handler.hxx>
75 
76 #include <xsd/cxx/xml/dom/auto-ptr.hxx>
77 
78 #include <xsd/cxx/tree/parsing.hxx>
79 #include <xsd/cxx/tree/parsing/byte.hxx>
80 #include <xsd/cxx/tree/parsing/unsigned-byte.hxx>
81 #include <xsd/cxx/tree/parsing/short.hxx>
82 #include <xsd/cxx/tree/parsing/unsigned-short.hxx>
83 #include <xsd/cxx/tree/parsing/int.hxx>
84 #include <xsd/cxx/tree/parsing/unsigned-int.hxx>
85 #include <xsd/cxx/tree/parsing/long.hxx>
86 #include <xsd/cxx/tree/parsing/unsigned-long.hxx>
87 #include <xsd/cxx/tree/parsing/boolean.hxx>
88 #include <xsd/cxx/tree/parsing/float.hxx>
89 #include <xsd/cxx/tree/parsing/double.hxx>
90 #include <xsd/cxx/tree/parsing/decimal.hxx>
91 
92 #include <xsd/cxx/xml/dom/serialization-header.hxx>
93 #include <xsd/cxx/tree/serialization.hxx>
94 #include <xsd/cxx/tree/serialization/byte.hxx>
95 #include <xsd/cxx/tree/serialization/unsigned-byte.hxx>
96 #include <xsd/cxx/tree/serialization/short.hxx>
97 #include <xsd/cxx/tree/serialization/unsigned-short.hxx>
98 #include <xsd/cxx/tree/serialization/int.hxx>
99 #include <xsd/cxx/tree/serialization/unsigned-int.hxx>
100 #include <xsd/cxx/tree/serialization/long.hxx>
101 #include <xsd/cxx/tree/serialization/unsigned-long.hxx>
102 #include <xsd/cxx/tree/serialization/boolean.hxx>
103 #include <xsd/cxx/tree/serialization/float.hxx>
104 #include <xsd/cxx/tree/serialization/double.hxx>
105 #include <xsd/cxx/tree/serialization/decimal.hxx>
106 
107 #include <xsd/cxx/tree/std-ostream-operators.hxx>
108 
113 namespace xml_schema
114 {
115  // anyType and anySimpleType.
116  //
117 
122  typedef ::xsd::cxx::tree::type type;
123 
128  typedef ::xsd::cxx::tree::simple_type< char, type > simple_type;
129 
133  typedef ::xsd::cxx::tree::type container;
134 
135 
136  // 8-bit
137  //
138 
143  typedef signed char byte;
144 
149  typedef unsigned char unsigned_byte;
150 
151 
152  // 16-bit
153  //
154 
159  typedef short short_;
160 
165  typedef unsigned short unsigned_short;
166 
167 
168  // 32-bit
169  //
170 
175  typedef int int_;
176 
181  typedef unsigned int unsigned_int;
182 
183 
184  // 64-bit
185  //
186 
191  typedef long long long_;
192 
197  typedef unsigned long long unsigned_long;
198 
199 
200  // Supposed to be arbitrary-length integral types.
201  //
202 
207  typedef long long integer;
208 
213  typedef long long non_positive_integer;
214 
219  typedef unsigned long long non_negative_integer;
220 
225  typedef unsigned long long positive_integer;
226 
231  typedef long long negative_integer;
232 
233 
234  // Boolean.
235  //
236 
241  typedef bool boolean;
242 
243 
244  // Floating-point types.
245  //
246 
251  typedef float float_;
252 
257  typedef double double_;
258 
263  typedef double decimal;
264 
265 
266  // String types.
267  //
268 
273  typedef ::xsd::cxx::tree::string< char, simple_type > string;
274 
279  typedef ::xsd::cxx::tree::normalized_string< char, string > normalized_string;
280 
285  typedef ::xsd::cxx::tree::token< char, normalized_string > token;
286 
291  typedef ::xsd::cxx::tree::name< char, token > name;
292 
297  typedef ::xsd::cxx::tree::nmtoken< char, token > nmtoken;
298 
303  typedef ::xsd::cxx::tree::nmtokens< char, simple_type, nmtoken > nmtokens;
304 
309  typedef ::xsd::cxx::tree::ncname< char, name > ncname;
310 
315  typedef ::xsd::cxx::tree::language< char, token > language;
316 
317 
318  // ID/IDREF.
319  //
320 
325  typedef ::xsd::cxx::tree::id< char, ncname > id;
326 
331  typedef ::xsd::cxx::tree::idref< char, ncname, type > idref;
332 
337  typedef ::xsd::cxx::tree::idrefs< char, simple_type, idref > idrefs;
338 
339 
340  // URI.
341  //
342 
347  typedef ::xsd::cxx::tree::uri< char, simple_type > uri;
348 
349 
350  // Qualified name.
351  //
352 
357  typedef ::xsd::cxx::tree::qname< char, simple_type, uri, ncname > qname;
358 
359 
360  // Binary.
361  //
362 
366  typedef ::xsd::cxx::tree::buffer< char > buffer;
367 
372  typedef ::xsd::cxx::tree::base64_binary< char, simple_type > base64_binary;
373 
378  typedef ::xsd::cxx::tree::hex_binary< char, simple_type > hex_binary;
379 
380 
381  // Date/time.
382  //
383 
387  typedef ::xsd::cxx::tree::time_zone time_zone;
388 
393  typedef ::xsd::cxx::tree::date< char, simple_type > date;
394 
399  typedef ::xsd::cxx::tree::date_time< char, simple_type > date_time;
400 
405  typedef ::xsd::cxx::tree::duration< char, simple_type > duration;
406 
411  typedef ::xsd::cxx::tree::gday< char, simple_type > gday;
412 
417  typedef ::xsd::cxx::tree::gmonth< char, simple_type > gmonth;
418 
423  typedef ::xsd::cxx::tree::gmonth_day< char, simple_type > gmonth_day;
424 
429  typedef ::xsd::cxx::tree::gyear< char, simple_type > gyear;
430 
435  typedef ::xsd::cxx::tree::gyear_month< char, simple_type > gyear_month;
436 
441  typedef ::xsd::cxx::tree::time< char, simple_type > time;
442 
443 
444  // Entity.
445  //
446 
451  typedef ::xsd::cxx::tree::entity< char, ncname > entity;
452 
457  typedef ::xsd::cxx::tree::entities< char, simple_type, entity > entities;
458 
459 
460 
464  typedef ::xsd::cxx::tree::content_order content_order;
465  // Namespace information and list stream. Used in
466  // serialization functions.
467  //
471  typedef ::xsd::cxx::xml::dom::namespace_info< char > namespace_info;
472 
476  typedef ::xsd::cxx::xml::dom::namespace_infomap< char > namespace_infomap;
477 
481  typedef ::xsd::cxx::tree::list_stream< char > list_stream;
482 
486  typedef ::xsd::cxx::tree::as_double< double_ > as_double;
487 
491  typedef ::xsd::cxx::tree::as_decimal< decimal > as_decimal;
492 
496  typedef ::xsd::cxx::tree::facet facet;
497 
498  // Flags and properties.
499  //
500 
504  typedef ::xsd::cxx::tree::flags flags;
505 
509  typedef ::xsd::cxx::tree::properties< char > properties;
510 
511  // Parsing/serialization diagnostics.
512  //
513 
517  typedef ::xsd::cxx::tree::severity severity;
518 
522  typedef ::xsd::cxx::tree::error< char > error;
523 
527  typedef ::xsd::cxx::tree::diagnostics< char > diagnostics;
528 
529  // Exceptions.
530  //
531 
535  typedef ::xsd::cxx::tree::exception< char > exception;
536 
541  typedef ::xsd::cxx::tree::bounds< char > bounds;
542 
547  typedef ::xsd::cxx::tree::duplicate_id< char > duplicate_id;
548 
552  typedef ::xsd::cxx::tree::parsing< char > parsing;
553 
558  typedef ::xsd::cxx::tree::expected_element< char > expected_element;
559 
564  typedef ::xsd::cxx::tree::unexpected_element< char > unexpected_element;
565 
570  typedef ::xsd::cxx::tree::expected_attribute< char > expected_attribute;
571 
576  typedef ::xsd::cxx::tree::unexpected_enumerator< char > unexpected_enumerator;
577 
582  typedef ::xsd::cxx::tree::expected_text_content< char > expected_text_content;
583 
588  typedef ::xsd::cxx::tree::no_prefix_mapping< char > no_prefix_mapping;
589 
594  typedef ::xsd::cxx::tree::no_type_info< char > no_type_info;
595 
600  typedef ::xsd::cxx::tree::not_derived< char > not_derived;
601 
605  typedef ::xsd::cxx::tree::serialization< char > serialization;
606 
610  typedef ::xsd::cxx::xml::error_handler< char > error_handler;
611 
615  namespace dom
616  {
620  using ::xsd::cxx::xml::dom::unique_ptr;
621 
622 #ifndef XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA
623 #define XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA
624 
627  const XMLCh* const tree_node_key = ::xsd::cxx::tree::user_data_keys::node;
628 #endif
629  }
630 }
631 
632 // Forward declarations.
633 //
634 namespace mil
635 {
636  namespace tatrc
637  {
638  namespace physiology
639  {
640  namespace datamodel
641  {
642  class InhalerData;
643  }
644  }
645  }
646 }
647 
648 
649 #include <memory> // ::std::unique_ptr
650 #include <limits> // std::numeric_limits
651 #include <algorithm> // std::binary_search
652 #include <utility> // std::move
653 
654 #include <xsd/cxx/xml/char-utf8.hxx>
655 
656 #include <xsd/cxx/tree/exceptions.hxx>
657 #include <xsd/cxx/tree/elements.hxx>
658 #include <xsd/cxx/tree/containers.hxx>
659 #include <xsd/cxx/tree/list.hxx>
660 
661 #include <xsd/cxx/xml/dom/parsing-header.hxx>
662 
663 #include "physiology.hxx"
664 
665 #include "compartment.hxx"
666 
667 namespace mil
668 {
669  namespace tatrc
670  {
671  namespace physiology
672  {
677  namespace datamodel
678  {
685  {
686  public:
694 
698  typedef ::mil::tatrc::physiology::datamodel::enumOnOff State_type;
699 
703  typedef ::xsd::cxx::tree::optional< State_type > State_optional;
704 
708  typedef ::xsd::cxx::tree::traits< State_type, char > State_traits;
709 
716  const State_optional&
717  State () const;
718 
724  State_optional&
725  State ();
726 
735  void
736  State (const State_type& x);
737 
747  void
748  State (const State_optional& x);
749 
758  void
759  State (::std::unique_ptr< State_type > p);
760 
762 
770 
774  typedef ::xml_schema::string Substance_type;
775 
779  typedef ::xsd::cxx::tree::optional< Substance_type > Substance_optional;
780 
784  typedef ::xsd::cxx::tree::traits< Substance_type, char > Substance_traits;
785 
792  const Substance_optional&
793  Substance () const;
794 
800  Substance_optional&
801  Substance ();
802 
811  void
812  Substance (const Substance_type& x);
813 
823  void
824  Substance (const Substance_optional& x);
825 
834  void
835  Substance (::std::unique_ptr< Substance_type > p);
836 
838 
846 
850  typedef ::mil::tatrc::physiology::datamodel::ScalarMassData MeteredDose_type;
851 
855  typedef ::xsd::cxx::tree::optional< MeteredDose_type > MeteredDose_optional;
856 
860  typedef ::xsd::cxx::tree::traits< MeteredDose_type, char > MeteredDose_traits;
861 
868  const MeteredDose_optional&
869  MeteredDose () const;
870 
876  MeteredDose_optional&
877  MeteredDose ();
878 
887  void
888  MeteredDose (const MeteredDose_type& x);
889 
899  void
900  MeteredDose (const MeteredDose_optional& x);
901 
910  void
911  MeteredDose (::std::unique_ptr< MeteredDose_type > p);
912 
914 
922 
926  typedef ::mil::tatrc::physiology::datamodel::ScalarFractionData NozzleLoss_type;
927 
931  typedef ::xsd::cxx::tree::optional< NozzleLoss_type > NozzleLoss_optional;
932 
936  typedef ::xsd::cxx::tree::traits< NozzleLoss_type, char > NozzleLoss_traits;
937 
944  const NozzleLoss_optional&
945  NozzleLoss () const;
946 
952  NozzleLoss_optional&
953  NozzleLoss ();
954 
963  void
964  NozzleLoss (const NozzleLoss_type& x);
965 
975  void
976  NozzleLoss (const NozzleLoss_optional& x);
977 
986  void
987  NozzleLoss (::std::unique_ptr< NozzleLoss_type > p);
988 
990 
998 
1002  typedef ::mil::tatrc::physiology::datamodel::ScalarVolumeData SpacerVolume_type;
1003 
1007  typedef ::xsd::cxx::tree::optional< SpacerVolume_type > SpacerVolume_optional;
1008 
1012  typedef ::xsd::cxx::tree::traits< SpacerVolume_type, char > SpacerVolume_traits;
1013 
1020  const SpacerVolume_optional&
1021  SpacerVolume () const;
1022 
1028  SpacerVolume_optional&
1029  SpacerVolume ();
1030 
1039  void
1040  SpacerVolume (const SpacerVolume_type& x);
1041 
1051  void
1052  SpacerVolume (const SpacerVolume_optional& x);
1053 
1062  void
1063  SpacerVolume (::std::unique_ptr< SpacerVolume_type > p);
1064 
1066 
1071 
1076  InhalerData ();
1077 
1086  InhalerData (const ::xercesc::DOMElement& e,
1087  ::xml_schema::flags f = 0,
1088  ::xml_schema::container* c = 0);
1089 
1099  InhalerData (const InhalerData& x,
1100  ::xml_schema::flags f = 0,
1101  ::xml_schema::container* c = 0);
1102 
1114  virtual InhalerData*
1115  _clone (::xml_schema::flags f = 0,
1116  ::xml_schema::container* c = 0) const;
1117 
1126  InhalerData&
1127  operator= (const InhalerData& x);
1128 
1130 
1134  virtual
1135  ~InhalerData ();
1136 
1137  // Implementation.
1138  //
1139 
1140  //@cond
1141 
1142  protected:
1143  void
1144  parse (::xsd::cxx::xml::dom::parser< char >&,
1145  ::xml_schema::flags);
1146 
1147  protected:
1148  State_optional State_;
1149  Substance_optional Substance_;
1150  MeteredDose_optional MeteredDose_;
1151  NozzleLoss_optional NozzleLoss_;
1152  SpacerVolume_optional SpacerVolume_;
1153 
1154  //@endcond
1155  };
1156  }
1157  }
1158  }
1159 }
1160 
1161 #include <iosfwd>
1162 
1163 namespace mil
1164 {
1165  namespace tatrc
1166  {
1167  namespace physiology
1168  {
1169  namespace datamodel
1170  {
1171  BIOGEARS_CDM_API
1172  ::std::ostream&
1173  operator<< (::std::ostream&, const InhalerData&);
1174  }
1175  }
1176  }
1177 }
1178 
1179 #include <iosfwd>
1180 
1181 #include <xercesc/sax/InputSource.hpp>
1182 #include <xercesc/dom/DOMDocument.hpp>
1183 #include <xercesc/dom/DOMErrorHandler.hpp>
1184 
1185 namespace mil
1186 {
1187  namespace tatrc
1188  {
1189  namespace physiology
1190  {
1191  namespace datamodel
1192  {
1197 
1208  BIOGEARS_CDM_API
1209  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::InhalerData >
1210  Inhaler (const ::std::string& uri,
1211  ::xml_schema::flags f = 0,
1212  const ::xml_schema::properties& p = ::xml_schema::properties ());
1213 
1225  BIOGEARS_CDM_API
1226  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::InhalerData >
1227  Inhaler (const ::std::string& uri,
1229  ::xml_schema::flags f = 0,
1230  const ::xml_schema::properties& p = ::xml_schema::properties ());
1231 
1244  BIOGEARS_CDM_API
1245  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::InhalerData >
1246  Inhaler (const ::std::string& uri,
1247  ::xercesc::DOMErrorHandler& eh,
1248  ::xml_schema::flags f = 0,
1249  const ::xml_schema::properties& p = ::xml_schema::properties ());
1250 
1261  BIOGEARS_CDM_API
1262  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::InhalerData >
1263  Inhaler (::std::istream& is,
1264  ::xml_schema::flags f = 0,
1265  const ::xml_schema::properties& p = ::xml_schema::properties ());
1266 
1278  BIOGEARS_CDM_API
1279  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::InhalerData >
1280  Inhaler (::std::istream& is,
1282  ::xml_schema::flags f = 0,
1283  const ::xml_schema::properties& p = ::xml_schema::properties ());
1284 
1297  BIOGEARS_CDM_API
1298  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::InhalerData >
1299  Inhaler (::std::istream& is,
1300  ::xercesc::DOMErrorHandler& eh,
1301  ::xml_schema::flags f = 0,
1302  const ::xml_schema::properties& p = ::xml_schema::properties ());
1303 
1318  BIOGEARS_CDM_API
1319  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::InhalerData >
1320  Inhaler (::std::istream& is,
1321  const ::std::string& id,
1322  ::xml_schema::flags f = 0,
1323  const ::xml_schema::properties& p = ::xml_schema::properties ());
1324 
1341  BIOGEARS_CDM_API
1342  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::InhalerData >
1343  Inhaler (::std::istream& is,
1344  const ::std::string& id,
1346  ::xml_schema::flags f = 0,
1347  const ::xml_schema::properties& p = ::xml_schema::properties ());
1348 
1365  BIOGEARS_CDM_API
1366  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::InhalerData >
1367  Inhaler (::std::istream& is,
1368  const ::std::string& id,
1369  ::xercesc::DOMErrorHandler& eh,
1370  ::xml_schema::flags f = 0,
1371  const ::xml_schema::properties& p = ::xml_schema::properties ());
1372 
1383  BIOGEARS_CDM_API
1384  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::InhalerData >
1385  Inhaler (::xercesc::InputSource& is,
1386  ::xml_schema::flags f = 0,
1387  const ::xml_schema::properties& p = ::xml_schema::properties ());
1388 
1400  BIOGEARS_CDM_API
1401  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::InhalerData >
1402  Inhaler (::xercesc::InputSource& is,
1404  ::xml_schema::flags f = 0,
1405  const ::xml_schema::properties& p = ::xml_schema::properties ());
1406 
1419  BIOGEARS_CDM_API
1420  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::InhalerData >
1421  Inhaler (::xercesc::InputSource& is,
1422  ::xercesc::DOMErrorHandler& eh,
1423  ::xml_schema::flags f = 0,
1424  const ::xml_schema::properties& p = ::xml_schema::properties ());
1425 
1434  BIOGEARS_CDM_API
1435  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::InhalerData >
1436  Inhaler (const ::xercesc::DOMDocument& d,
1437  ::xml_schema::flags f = 0,
1438  const ::xml_schema::properties& p = ::xml_schema::properties ());
1439 
1452  BIOGEARS_CDM_API
1453  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::InhalerData >
1454  Inhaler (::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d,
1455  ::xml_schema::flags f = 0,
1456  const ::xml_schema::properties& p = ::xml_schema::properties ());
1457 
1459  }
1460  }
1461  }
1462 }
1463 
1464 #include <iosfwd>
1465 
1466 #include <xercesc/dom/DOMDocument.hpp>
1467 #include <xercesc/dom/DOMErrorHandler.hpp>
1468 #include <xercesc/framework/XMLFormatter.hpp>
1469 
1470 #include <xsd/cxx/xml/dom/auto-ptr.hxx>
1471 
1472 namespace mil
1473 {
1474  namespace tatrc
1475  {
1476  namespace physiology
1477  {
1478  namespace datamodel
1479  {
1480  BIOGEARS_CDM_API
1481  void
1482  operator<< (::xercesc::DOMElement&, const InhalerData&);
1483 
1488 
1500  BIOGEARS_CDM_API
1501  void
1502  Inhaler (::std::ostream& os,
1503  const ::mil::tatrc::physiology::datamodel::InhalerData& x,
1504  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
1505  const ::std::string& e = "UTF-8",
1506  ::xml_schema::flags f = 0);
1507 
1521  BIOGEARS_CDM_API
1522  void
1523  Inhaler (::std::ostream& os,
1524  const ::mil::tatrc::physiology::datamodel::InhalerData& x,
1526  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
1527  const ::std::string& e = "UTF-8",
1528  ::xml_schema::flags f = 0);
1529 
1544  BIOGEARS_CDM_API
1545  void
1546  Inhaler (::std::ostream& os,
1547  const ::mil::tatrc::physiology::datamodel::InhalerData& x,
1548  ::xercesc::DOMErrorHandler& eh,
1549  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
1550  const ::std::string& e = "UTF-8",
1551  ::xml_schema::flags f = 0);
1552 
1564  BIOGEARS_CDM_API
1565  void
1566  Inhaler (::xercesc::XMLFormatTarget& ft,
1567  const ::mil::tatrc::physiology::datamodel::InhalerData& x,
1568  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
1569  const ::std::string& e = "UTF-8",
1570  ::xml_schema::flags f = 0);
1571 
1586  BIOGEARS_CDM_API
1587  void
1588  Inhaler (::xercesc::XMLFormatTarget& ft,
1589  const ::mil::tatrc::physiology::datamodel::InhalerData& x,
1591  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
1592  const ::std::string& e = "UTF-8",
1593  ::xml_schema::flags f = 0);
1594 
1609  BIOGEARS_CDM_API
1610  void
1611  Inhaler (::xercesc::XMLFormatTarget& ft,
1612  const ::mil::tatrc::physiology::datamodel::InhalerData& x,
1613  ::xercesc::DOMErrorHandler& eh,
1614  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
1615  const ::std::string& e = "UTF-8",
1616  ::xml_schema::flags f = 0);
1617 
1629  BIOGEARS_CDM_API
1630  void
1631  Inhaler (::xercesc::DOMDocument& d,
1632  const ::mil::tatrc::physiology::datamodel::InhalerData& x,
1633  ::xml_schema::flags f = 0);
1634 
1643  BIOGEARS_CDM_API
1644  ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument >
1645  Inhaler (const ::mil::tatrc::physiology::datamodel::InhalerData& x,
1646  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
1647  ::xml_schema::flags f = 0);
1648 
1650  }
1651  }
1652  }
1653 }
1654 
1655 #include <xsd/cxx/post.hxx>
1656 
1657 // Begin epilogue.
1658 //
1659 //
1660 // End epilogue.
1661 
1662 #endif // D__BIOGEARS_CORE_SHARE_XSD__CDM_INHALER_HXX
::xsd::cxx::tree::id< char, ncname > id
C++ type corresponding to the ID XML Schema built-in type.
Definition: BioGears.hxx:325
long long negative_integer
C++ type corresponding to the negativeInteger XML Schema built-in type.
Definition: BioGears.hxx:231
::xsd::cxx::tree::traits< MeteredDose_type, char > MeteredDose_traits
Element traits type.
Definition: Inhaler.hxx:860
::xsd::cxx::tree::simple_type< char, type > simple_type
C++ type corresponding to the anySimpleType XML Schema built-in type.
Definition: BioGears.hxx:128
::xsd::cxx::tree::parsing< char > parsing
Exception indicating a parsing failure.
Definition: BioGears.hxx:552
::xsd::cxx::tree::date< char, simple_type > date
C++ type corresponding to the date XML Schema built-in type.
Definition: BioGears.hxx:393
::xsd::cxx::tree::bounds< char > bounds
Exception indicating that the size argument exceeds the capacity argument.
Definition: BioGears.hxx:541
::xsd::cxx::tree::no_prefix_mapping< char > no_prefix_mapping
Exception indicating that a prefix-namespace mapping was not provided.
Definition: BioGears.hxx:588
::xsd::cxx::tree::duplicate_id< char > duplicate_id
Exception indicating that a duplicate ID value was encountered in the object model.
Definition: BioGears.hxx:547
::xsd::cxx::tree::expected_element< char > expected_element
Exception indicating that an expected element was not encountered.
Definition: BioGears.hxx:558
::xsd::cxx::tree::flags flags
Parsing and serialization flags.
Definition: BioGears.hxx:504
::xsd::cxx::tree::language< char, token > language
C++ type corresponding to the language XML Schema built-in type.
Definition: BioGears.hxx:315
::xsd::cxx::tree::normalized_string< char, string > normalized_string
C++ type corresponding to the normalizedString XML Schema built-in type.
Definition: BioGears.hxx:279
::xsd::cxx::tree::optional< SpacerVolume_type > SpacerVolume_optional
Element optional container type.
Definition: Inhaler.hxx:1007
float float_
C++ type corresponding to the float XML Schema built-in type.
Definition: BioGears.hxx:251
bool boolean
C++ type corresponding to the boolean XML Schema built-in type.
Definition: BioGears.hxx:241
::xsd::cxx::tree::uri< char, simple_type > uri
C++ type corresponding to the anyURI XML Schema built-in type.
Definition: BioGears.hxx:347
::xsd::cxx::tree::no_type_info< char > no_type_info
Exception indicating that the type information is not available for a type.
Definition: BioGears.hxx:594
::xsd::cxx::tree::diagnostics< char > diagnostics
List of error conditions.
Definition: BioGears.hxx:527
::xsd::cxx::tree::time_zone time_zone
Time zone type.
Definition: BioGears.hxx:387
Definition: BioGears.cxx:43
unsigned long long non_negative_integer
C++ type corresponding to the nonNegativeInteger XML Schema built-in type.
Definition: BioGears.hxx:219
::xsd::cxx::tree::unexpected_enumerator< char > unexpected_enumerator
Exception indicating that an unexpected enumerator was encountered.
Definition: BioGears.hxx:576
unsigned long long positive_integer
C++ type corresponding to the positiveInteger XML Schema built-in type.
Definition: BioGears.hxx:225
::xsd::cxx::tree::exception< char > exception
Root of the C++/Tree exception hierarchy.
Definition: BioGears.hxx:535
::xsd::cxx::tree::facet facet
Simple type facet.
Definition: BioGears.hxx:496
::xsd::cxx::tree::as_decimal< decimal > as_decimal
Serialization wrapper for the decimal type.
Definition: BioGears.hxx:491
::xsd::cxx::tree::expected_text_content< char > expected_text_content
Exception indicating that the text content was expected for an element.
Definition: BioGears.hxx:582
::xsd::cxx::tree::unexpected_element< char > unexpected_element
Exception indicating that an unexpected element was encountered.
Definition: BioGears.hxx:564
::std::unique_ptr< ::mil::tatrc::physiology::datamodel::SubstanceData > Substance(const ::std::string &u,::xml_schema::flags f, const ::xml_schema::properties &p)
Parse a URI or a local file.
Definition: Substance.cxx:8990
unsigned long long unsigned_long
C++ type corresponding to the unsignedLong XML Schema built-in type.
Definition: BioGears.hxx:197
::xsd::cxx::tree::time< char, simple_type > time
C++ type corresponding to the time XML Schema built-in type.
Definition: BioGears.hxx:441
::xsd::cxx::tree::gmonth_day< char, simple_type > gmonth_day
C++ type corresponding to the gMonthDay XML Schema built-in type.
Definition: BioGears.hxx:423
::xsd::cxx::tree::buffer< char > buffer
Binary buffer type.
Definition: BioGears.hxx:366
::xsd::cxx::tree::type type
C++ type corresponding to the anyType XML Schema built-in type.
Definition: BioGears.hxx:122
long long long_
C++ type corresponding to the long XML Schema built-in type.
Definition: BioGears.hxx:191
::xsd::cxx::tree::base64_binary< char, simple_type > base64_binary
C++ type corresponding to the base64Binary XML Schema built-in type.
Definition: BioGears.hxx:372
::xsd::cxx::tree::expected_attribute< char > expected_attribute
Exception indicating that an expected attribute was not encountered.
Definition: BioGears.hxx:570
::xsd::cxx::tree::duration< char, simple_type > duration
C++ type corresponding to the duration XML Schema built-in type.
Definition: BioGears.hxx:405
::xsd::cxx::tree::gmonth< char, simple_type > gmonth
C++ type corresponding to the gMonth XML Schema built-in type.
Definition: BioGears.hxx:417
int int_
C++ type corresponding to the int XML Schema built-in type.
Definition: BioGears.hxx:175
::xsd::cxx::xml::dom::namespace_info< char > namespace_info
Namespace serialization information.
Definition: BioGears.hxx:471
Class corresponding to the SystemData schema type.
Definition: System.hxx:682
::xsd::cxx::tree::optional< State_type > State_optional
Element optional container type.
Definition: Inhaler.hxx:703
::xsd::cxx::tree::ncname< char, name > ncname
C++ type corresponding to the NCName XML Schema built-in type.
Definition: BioGears.hxx:309
::xsd::cxx::tree::name< char, token > name
C++ type corresponding to the Name XML Schema built-in type.
Definition: BioGears.hxx:291
::xsd::cxx::tree::hex_binary< char, simple_type > hex_binary
C++ type corresponding to the hexBinary XML Schema built-in type.
Definition: BioGears.hxx:378
::xsd::cxx::xml::dom::namespace_infomap< char > namespace_infomap
Namespace serialization information map.
Definition: BioGears.hxx:476
::xsd::cxx::tree::nmtokens< char, simple_type, nmtoken > nmtokens
C++ type corresponding to the NMTOKENS XML Schema built-in type.
Definition: BioGears.hxx:303
::xsd::cxx::tree::gyear< char, simple_type > gyear
C++ type corresponding to the gYear XML Schema built-in type.
Definition: BioGears.hxx:429
::xsd::cxx::tree::optional< MeteredDose_type > MeteredDose_optional
Element optional container type.
Definition: Inhaler.hxx:855
::mil::tatrc::physiology::datamodel::ScalarMassData MeteredDose_type
Element type.
Definition: Inhaler.hxx:850
::xsd::cxx::xml::error_handler< char > error_handler
Error handler callback interface.
Definition: BioGears.hxx:610
::xsd::cxx::tree::serialization< char > serialization
Exception indicating a serialization failure.
Definition: BioGears.hxx:605
::std::unique_ptr< ::mil::tatrc::physiology::datamodel::InhalerData > Inhaler(const ::std::string &u,::xml_schema::flags f, const ::xml_schema::properties &p)
Parse a URI or a local file.
Definition: Inhaler.cxx:569
const XMLCh *const tree_node_key
DOM user data key for back pointers to tree nodes.
Definition: BioGears.hxx:627
::xsd::cxx::tree::properties< char > properties
Parsing properties.
Definition: BioGears.hxx:509
::mil::tatrc::physiology::datamodel::ScalarVolumeData SpacerVolume_type
Element type.
Definition: Inhaler.hxx:1002
::std::ostream & operator<<(::std::ostream &o, enumBioGearsAirwayMode::value i)
Definition: BioGears.cxx:451
long long non_positive_integer
C++ type corresponding to the nonPositiveInteger XML Schema built-in type.
Definition: BioGears.hxx:213
::xsd::cxx::tree::entity< char, ncname > entity
C++ type corresponding to the ENTITY XML Schema built-in type.
Definition: BioGears.hxx:451
signed char byte
C++ type corresponding to the byte XML Schema built-in type.
Definition: BioGears.hxx:143
::xsd::cxx::tree::severity severity
Error severity.
Definition: BioGears.hxx:517
::xsd::cxx::tree::content_order content_order
Content order sequence entry.
Definition: BioGears.hxx:464
::xsd::cxx::tree::traits< NozzleLoss_type, char > NozzleLoss_traits
Element traits type.
Definition: Inhaler.hxx:936
C++ namespace for the http://www.w3.org/2001/XMLSchema schema namespace.
Definition: BioGears.hxx:113
::xsd::cxx::tree::string< char, simple_type > string
C++ type corresponding to the string XML Schema built-in type.
Definition: BioGears.hxx:273
Class corresponding to the InhalerData schema type.
Definition: Inhaler.hxx:684
::mil::tatrc::physiology::datamodel::enumOnOff State_type
Element type.
Definition: Inhaler.hxx:698
::xsd::cxx::tree::list_stream< char > list_stream
List serialization stream.
Definition: BioGears.hxx:481
unsigned int unsigned_int
C++ type corresponding to the unsignedInt XML Schema built-in type.
Definition: BioGears.hxx:181
::xsd::cxx::tree::gday< char, simple_type > gday
C++ type corresponding to the gDay XML Schema built-in type.
Definition: BioGears.hxx:411
::xsd::cxx::tree::entities< char, simple_type, entity > entities
C++ type corresponding to the ENTITIES XML Schema built-in type.
Definition: BioGears.hxx:457
unsigned char unsigned_byte
C++ type corresponding to the unsignedByte XML Schema built-in type.
Definition: BioGears.hxx:149
::mil::tatrc::physiology::datamodel::ScalarFractionData NozzleLoss_type
Element type.
Definition: Inhaler.hxx:926
::xsd::cxx::tree::date_time< char, simple_type > date_time
C++ type corresponding to the dateTime XML Schema built-in type.
Definition: BioGears.hxx:399
double double_
C++ type corresponding to the double XML Schema built-in type.
Definition: BioGears.hxx:257
::xsd::cxx::tree::traits< SpacerVolume_type, char > SpacerVolume_traits
Element traits type.
Definition: Inhaler.hxx:1012
::xml_schema::string Substance_type
Element type.
Definition: Inhaler.hxx:774
::xsd::cxx::tree::gyear_month< char, simple_type > gyear_month
C++ type corresponding to the gYearMonth XML Schema built-in type.
Definition: BioGears.hxx:435
::xsd::cxx::tree::type container
Alias for the anyType type.
Definition: BioGears.hxx:133
::xsd::cxx::tree::idref< char, ncname, type > idref
C++ type corresponding to the IDREF XML Schema built-in type.
Definition: BioGears.hxx:331
::xsd::cxx::tree::optional< NozzleLoss_type > NozzleLoss_optional
Element optional container type.
Definition: Inhaler.hxx:931
::xsd::cxx::tree::error< char > error
Error condition.
Definition: BioGears.hxx:522
::xsd::cxx::tree::nmtoken< char, token > nmtoken
C++ type corresponding to the NMTOKEN XML Schema built-in type.
Definition: BioGears.hxx:297
::xsd::cxx::tree::idrefs< char, simple_type, idref > idrefs
C++ type corresponding to the IDREFS XML Schema built-in type.
Definition: BioGears.hxx:337
::xsd::cxx::tree::qname< char, simple_type, uri, ncname > qname
C++ type corresponding to the QName XML Schema built-in type.
Definition: BioGears.hxx:357
::xsd::cxx::tree::not_derived< char > not_derived
Exception indicating that the types are not related by inheritance.
Definition: BioGears.hxx:600
long long integer
C++ type corresponding to the integer XML Schema built-in type.
Definition: BioGears.hxx:207
::xsd::cxx::tree::token< char, normalized_string > token
C++ type corresponding to the token XML Schema built-in type.
Definition: BioGears.hxx:285
::xsd::cxx::tree::traits< Substance_type, char > Substance_traits
Element traits type.
Definition: Inhaler.hxx:784
::xsd::cxx::tree::as_double< double_ > as_double
Serialization wrapper for the double type.
Definition: BioGears.hxx:486
short short_
C++ type corresponding to the short XML Schema built-in type.
Definition: BioGears.hxx:159
::xsd::cxx::tree::optional< Substance_type > Substance_optional
Element optional container type.
Definition: Inhaler.hxx:779
::xsd::cxx::tree::traits< State_type, char > State_traits
Element traits type.
Definition: Inhaler.hxx:708
unsigned short unsigned_short
C++ type corresponding to the unsignedShort XML Schema built-in type.
Definition: BioGears.hxx:165
double decimal
C++ type corresponding to the decimal XML Schema built-in type.
Definition: BioGears.hxx:263