BioGears.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__BIOGEARS_BIO_GEARS_HXX
40 #define D__BIOGEARS_CORE_SHARE_XSD__BIOGEARS_BIO_GEARS_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 enumBioGearsAirwayMode;
643  class BioGearsStateData;
644  }
645  }
646  }
647 }
648 
649 
650 #include <memory> // ::std::unique_ptr
651 #include <limits> // std::numeric_limits
652 #include <algorithm> // std::binary_search
653 #include <utility> // std::move
654 
655 #include <xsd/cxx/xml/char-utf8.hxx>
656 
657 #include <xsd/cxx/tree/exceptions.hxx>
658 #include <xsd/cxx/tree/elements.hxx>
659 #include <xsd/cxx/tree/containers.hxx>
660 #include <xsd/cxx/tree/list.hxx>
661 
662 #include <xsd/cxx/xml/dom/parsing-header.hxx>
663 
664 #include "../cdm/enginestate.hxx"
665 
666 #include "../biogears/biogearsconfiguration.hxx"
667 
668 #include "../biogears/biogearsenvironment.hxx"
669 
670 #include "../biogears/biogearsequipment.hxx"
671 
672 #include "../biogears/biogearsphysiology.hxx"
673 
674 namespace mil
675 {
676  namespace tatrc
677  {
678  namespace physiology
679  {
684  namespace datamodel
685  {
690  class BIOGEARS_CDM_API enumBioGearsAirwayMode: public ::xml_schema::string
691  {
692  public:
693 
697  enum value
698  {
702  MechanicalVentilator
703  };
704 
712 
718  enumBioGearsAirwayMode (value v);
719 
725  enumBioGearsAirwayMode (const char* v);
726 
732  enumBioGearsAirwayMode (const ::std::string& v);
733 
739  enumBioGearsAirwayMode (const ::xml_schema::string& v);
740 
749  enumBioGearsAirwayMode (const ::xercesc::DOMElement& e,
750  ::xml_schema::flags f = 0,
751  ::xml_schema::container* c = 0);
752 
761  enumBioGearsAirwayMode (const ::xercesc::DOMAttr& a,
762  ::xml_schema::flags f = 0,
763  ::xml_schema::container* c = 0);
764 
774  enumBioGearsAirwayMode (const ::std::string& s,
775  const ::xercesc::DOMElement* e,
776  ::xml_schema::flags f = 0,
777  ::xml_schema::container* c = 0);
778 
789  ::xml_schema::flags f = 0,
790  ::xml_schema::container* c = 0);
791 
803  virtual enumBioGearsAirwayMode*
804  _clone (::xml_schema::flags f = 0,
805  ::xml_schema::container* c = 0) const;
806 
814  operator= (value v);
815 
822  virtual
823  operator value () const
824  {
825  return _xsd_enumBioGearsAirwayMode_convert ();
826  }
827 
828  //@cond
829 
830  protected:
831  value
832  _xsd_enumBioGearsAirwayMode_convert () const;
833 
834  public:
835  static const char* const _xsd_enumBioGearsAirwayMode_literals_[4];
836  static const value _xsd_enumBioGearsAirwayMode_indexes_[4];
837 
838  //@endcond
839  };
840 
847  {
848  public:
856 
860  typedef ::mil::tatrc::physiology::datamodel::enumBioGearsAirwayMode AirwayMode_type;
861 
865  typedef ::xsd::cxx::tree::traits< AirwayMode_type, char > AirwayMode_traits;
866 
872  const AirwayMode_type&
873  AirwayMode () const;
874 
880  AirwayMode_type&
881  AirwayMode ();
882 
891  void
892  AirwayMode (const AirwayMode_type& x);
893 
902  void
903  AirwayMode (::std::unique_ptr< AirwayMode_type > p);
904 
906 
914 
918  typedef ::mil::tatrc::physiology::datamodel::enumOnOff Intubation_type;
919 
923  typedef ::xsd::cxx::tree::traits< Intubation_type, char > Intubation_traits;
924 
930  const Intubation_type&
931  Intubation () const;
932 
938  Intubation_type&
939  Intubation ();
940 
949  void
950  Intubation (const Intubation_type& x);
951 
960  void
961  Intubation (::std::unique_ptr< Intubation_type > p);
962 
964 
969 
977 
982  BioGearsStateData (const AirwayMode_type&,
983  const Intubation_type&);
984 
993  BioGearsStateData (::std::unique_ptr< AirwayMode_type >,
994  ::std::unique_ptr< Intubation_type >);
995 
1004  BioGearsStateData (const ::xercesc::DOMElement& e,
1005  ::xml_schema::flags f = 0,
1006  ::xml_schema::container* c = 0);
1007 
1018  ::xml_schema::flags f = 0,
1019  ::xml_schema::container* c = 0);
1020 
1032  virtual BioGearsStateData*
1033  _clone (::xml_schema::flags f = 0,
1034  ::xml_schema::container* c = 0) const;
1035 
1045  operator= (const BioGearsStateData& x);
1046 
1048 
1052  virtual
1053  ~BioGearsStateData ();
1054 
1055  // Implementation.
1056  //
1057 
1058  //@cond
1059 
1060  protected:
1061  void
1062  parse (::xsd::cxx::xml::dom::parser< char >&,
1063  ::xml_schema::flags);
1064 
1065  protected:
1066  ::xsd::cxx::tree::one< AirwayMode_type > AirwayMode_;
1067  ::xsd::cxx::tree::one< Intubation_type > Intubation_;
1068 
1069  //@endcond
1070  };
1071  }
1072  }
1073  }
1074 }
1075 
1076 #include <iosfwd>
1077 
1078 namespace mil
1079 {
1080  namespace tatrc
1081  {
1082  namespace physiology
1083  {
1084  namespace datamodel
1085  {
1086  BIOGEARS_CDM_API
1087  ::std::ostream&
1088  operator<< (::std::ostream&, enumBioGearsAirwayMode::value);
1089 
1090  BIOGEARS_CDM_API
1091  ::std::ostream&
1092  operator<< (::std::ostream&, const enumBioGearsAirwayMode&);
1093 
1094  BIOGEARS_CDM_API
1095  ::std::ostream&
1096  operator<< (::std::ostream&, const BioGearsStateData&);
1097  }
1098  }
1099  }
1100 }
1101 
1102 #include <iosfwd>
1103 
1104 #include <xercesc/sax/InputSource.hpp>
1105 #include <xercesc/dom/DOMDocument.hpp>
1106 #include <xercesc/dom/DOMErrorHandler.hpp>
1107 
1108 namespace mil
1109 {
1110  namespace tatrc
1111  {
1112  namespace physiology
1113  {
1114  namespace datamodel
1115  {
1120 
1131  BIOGEARS_CDM_API
1132  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::BioGearsStateData >
1133  BioGearsState (const ::std::string& uri,
1134  ::xml_schema::flags f = 0,
1135  const ::xml_schema::properties& p = ::xml_schema::properties ());
1136 
1148  BIOGEARS_CDM_API
1149  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::BioGearsStateData >
1150  BioGearsState (const ::std::string& uri,
1152  ::xml_schema::flags f = 0,
1153  const ::xml_schema::properties& p = ::xml_schema::properties ());
1154 
1167  BIOGEARS_CDM_API
1168  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::BioGearsStateData >
1169  BioGearsState (const ::std::string& uri,
1170  ::xercesc::DOMErrorHandler& eh,
1171  ::xml_schema::flags f = 0,
1172  const ::xml_schema::properties& p = ::xml_schema::properties ());
1173 
1184  BIOGEARS_CDM_API
1185  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::BioGearsStateData >
1186  BioGearsState (::std::istream& is,
1187  ::xml_schema::flags f = 0,
1188  const ::xml_schema::properties& p = ::xml_schema::properties ());
1189 
1201  BIOGEARS_CDM_API
1202  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::BioGearsStateData >
1203  BioGearsState (::std::istream& is,
1205  ::xml_schema::flags f = 0,
1206  const ::xml_schema::properties& p = ::xml_schema::properties ());
1207 
1220  BIOGEARS_CDM_API
1221  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::BioGearsStateData >
1222  BioGearsState (::std::istream& is,
1223  ::xercesc::DOMErrorHandler& eh,
1224  ::xml_schema::flags f = 0,
1225  const ::xml_schema::properties& p = ::xml_schema::properties ());
1226 
1241  BIOGEARS_CDM_API
1242  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::BioGearsStateData >
1243  BioGearsState (::std::istream& is,
1244  const ::std::string& id,
1245  ::xml_schema::flags f = 0,
1246  const ::xml_schema::properties& p = ::xml_schema::properties ());
1247 
1264  BIOGEARS_CDM_API
1265  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::BioGearsStateData >
1266  BioGearsState (::std::istream& is,
1267  const ::std::string& id,
1269  ::xml_schema::flags f = 0,
1270  const ::xml_schema::properties& p = ::xml_schema::properties ());
1271 
1288  BIOGEARS_CDM_API
1289  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::BioGearsStateData >
1290  BioGearsState (::std::istream& is,
1291  const ::std::string& id,
1292  ::xercesc::DOMErrorHandler& eh,
1293  ::xml_schema::flags f = 0,
1294  const ::xml_schema::properties& p = ::xml_schema::properties ());
1295 
1306  BIOGEARS_CDM_API
1307  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::BioGearsStateData >
1308  BioGearsState (::xercesc::InputSource& is,
1309  ::xml_schema::flags f = 0,
1310  const ::xml_schema::properties& p = ::xml_schema::properties ());
1311 
1323  BIOGEARS_CDM_API
1324  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::BioGearsStateData >
1325  BioGearsState (::xercesc::InputSource& is,
1327  ::xml_schema::flags f = 0,
1328  const ::xml_schema::properties& p = ::xml_schema::properties ());
1329 
1342  BIOGEARS_CDM_API
1343  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::BioGearsStateData >
1344  BioGearsState (::xercesc::InputSource& is,
1345  ::xercesc::DOMErrorHandler& eh,
1346  ::xml_schema::flags f = 0,
1347  const ::xml_schema::properties& p = ::xml_schema::properties ());
1348 
1357  BIOGEARS_CDM_API
1358  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::BioGearsStateData >
1359  BioGearsState (const ::xercesc::DOMDocument& d,
1360  ::xml_schema::flags f = 0,
1361  const ::xml_schema::properties& p = ::xml_schema::properties ());
1362 
1375  BIOGEARS_CDM_API
1376  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::BioGearsStateData >
1377  BioGearsState (::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d,
1378  ::xml_schema::flags f = 0,
1379  const ::xml_schema::properties& p = ::xml_schema::properties ());
1380 
1382  }
1383  }
1384  }
1385 }
1386 
1387 #include <iosfwd>
1388 
1389 #include <xercesc/dom/DOMDocument.hpp>
1390 #include <xercesc/dom/DOMErrorHandler.hpp>
1391 #include <xercesc/framework/XMLFormatter.hpp>
1392 
1393 #include <xsd/cxx/xml/dom/auto-ptr.hxx>
1394 
1395 namespace mil
1396 {
1397  namespace tatrc
1398  {
1399  namespace physiology
1400  {
1401  namespace datamodel
1402  {
1403  BIOGEARS_CDM_API
1404  void
1405  operator<< (::xercesc::DOMElement&, const enumBioGearsAirwayMode&);
1406 
1407  BIOGEARS_CDM_API
1408  void
1409  operator<< (::xercesc::DOMAttr&, const enumBioGearsAirwayMode&);
1410 
1411  BIOGEARS_CDM_API
1412  void
1414  const enumBioGearsAirwayMode&);
1415 
1416  BIOGEARS_CDM_API
1417  void
1418  operator<< (::xercesc::DOMElement&, const BioGearsStateData&);
1419 
1424 
1436  BIOGEARS_CDM_API
1437  void
1438  BioGearsState (::std::ostream& os,
1439  const ::mil::tatrc::physiology::datamodel::BioGearsStateData& x,
1440  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
1441  const ::std::string& e = "UTF-8",
1442  ::xml_schema::flags f = 0);
1443 
1457  BIOGEARS_CDM_API
1458  void
1459  BioGearsState (::std::ostream& os,
1460  const ::mil::tatrc::physiology::datamodel::BioGearsStateData& x,
1462  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
1463  const ::std::string& e = "UTF-8",
1464  ::xml_schema::flags f = 0);
1465 
1480  BIOGEARS_CDM_API
1481  void
1482  BioGearsState (::std::ostream& os,
1483  const ::mil::tatrc::physiology::datamodel::BioGearsStateData& x,
1484  ::xercesc::DOMErrorHandler& eh,
1485  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
1486  const ::std::string& e = "UTF-8",
1487  ::xml_schema::flags f = 0);
1488 
1500  BIOGEARS_CDM_API
1501  void
1502  BioGearsState (::xercesc::XMLFormatTarget& ft,
1503  const ::mil::tatrc::physiology::datamodel::BioGearsStateData& 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 
1522  BIOGEARS_CDM_API
1523  void
1524  BioGearsState (::xercesc::XMLFormatTarget& ft,
1525  const ::mil::tatrc::physiology::datamodel::BioGearsStateData& x,
1527  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
1528  const ::std::string& e = "UTF-8",
1529  ::xml_schema::flags f = 0);
1530 
1545  BIOGEARS_CDM_API
1546  void
1547  BioGearsState (::xercesc::XMLFormatTarget& ft,
1548  const ::mil::tatrc::physiology::datamodel::BioGearsStateData& x,
1549  ::xercesc::DOMErrorHandler& eh,
1550  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
1551  const ::std::string& e = "UTF-8",
1552  ::xml_schema::flags f = 0);
1553 
1565  BIOGEARS_CDM_API
1566  void
1567  BioGearsState (::xercesc::DOMDocument& d,
1568  const ::mil::tatrc::physiology::datamodel::BioGearsStateData& x,
1569  ::xml_schema::flags f = 0);
1570 
1579  BIOGEARS_CDM_API
1580  ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument >
1581  BioGearsState (const ::mil::tatrc::physiology::datamodel::BioGearsStateData& x,
1582  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
1583  ::xml_schema::flags f = 0);
1584 
1586  }
1587  }
1588  }
1589 }
1590 
1591 #include <xsd/cxx/post.hxx>
1592 
1593 // Begin epilogue.
1594 //
1595 //
1596 // End epilogue.
1597 
1598 #endif // D__BIOGEARS_CORE_SHARE_XSD__BIOGEARS_BIO_GEARS_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::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
Class corresponding to the PhysiologyEngineStateData schema type.
Definition: EngineState.hxx:692
::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
::mil::tatrc::physiology::datamodel::enumBioGearsAirwayMode AirwayMode_type
Element type.
Definition: BioGears.hxx:860
::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
::mil::tatrc::physiology::datamodel::enumOnOff Intubation_type
Element type.
Definition: BioGears.hxx:918
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
::std::unique_ptr< ::mil::tatrc::physiology::datamodel::BioGearsStateData > BioGearsState(const ::std::string &u,::xml_schema::flags f, const ::xml_schema::properties &p)
Parse a URI or a local file.
Definition: BioGears.cxx:511
::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
unsigned long long unsigned_long
C++ type corresponding to the unsignedLong XML Schema built-in type.
Definition: BioGears.hxx:197
::xsd::cxx::tree::traits< AirwayMode_type, char > AirwayMode_traits
Element traits type.
Definition: BioGears.hxx:865
::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
::xsd::cxx::tree::ncname< char, name > ncname
C++ type corresponding to the NCName XML Schema built-in type.
Definition: BioGears.hxx:309
value
Underlying enum type.
Definition: BioGears.hxx:697
::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
Class corresponding to the BioGearsStateData schema type.
Definition: BioGears.hxx:846
::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::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
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
::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
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
::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
::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::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::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::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
Enumeration class corresponding to the enumBioGearsAirwayMode schema type.
Definition: BioGears.hxx:690
unsigned short unsigned_short
C++ type corresponding to the unsignedShort XML Schema built-in type.
Definition: BioGears.hxx:165
::xsd::cxx::tree::traits< Intubation_type, char > Intubation_traits
Element traits type.
Definition: BioGears.hxx:923
double decimal
C++ type corresponding to the decimal XML Schema built-in type.
Definition: BioGears.hxx:263