PatientNutrition.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_PATIENT_NUTRITION_HXX
40 #define D__BIOGEARS_CORE_SHARE_XSD__CDM_PATIENT_NUTRITION_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 NutritionData;
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 "properties.hxx"
664 
665 namespace mil
666 {
667  namespace tatrc
668  {
669  namespace physiology
670  {
675  namespace datamodel
676  {
683  {
684  public:
692 
696  typedef ::xml_schema::string Name_type;
697 
701  typedef ::xsd::cxx::tree::optional< Name_type > Name_optional;
702 
706  typedef ::xsd::cxx::tree::traits< Name_type, char > Name_traits;
707 
714  const Name_optional&
715  Name () const;
716 
722  Name_optional&
723  Name ();
724 
733  void
734  Name (const Name_type& x);
735 
745  void
746  Name (const Name_optional& x);
747 
756  void
757  Name (::std::unique_ptr< Name_type > p);
758 
760 
768 
772  typedef ::mil::tatrc::physiology::datamodel::ScalarMassData Carbohydrate_type;
773 
777  typedef ::xsd::cxx::tree::optional< Carbohydrate_type > Carbohydrate_optional;
778 
782  typedef ::xsd::cxx::tree::traits< Carbohydrate_type, char > Carbohydrate_traits;
783 
790  const Carbohydrate_optional&
791  Carbohydrate () const;
792 
798  Carbohydrate_optional&
799  Carbohydrate ();
800 
809  void
810  Carbohydrate (const Carbohydrate_type& x);
811 
821  void
822  Carbohydrate (const Carbohydrate_optional& x);
823 
832  void
833  Carbohydrate (::std::unique_ptr< Carbohydrate_type > p);
834 
836 
844 
848  typedef ::mil::tatrc::physiology::datamodel::ScalarMassData Fat_type;
849 
853  typedef ::xsd::cxx::tree::optional< Fat_type > Fat_optional;
854 
858  typedef ::xsd::cxx::tree::traits< Fat_type, char > Fat_traits;
859 
866  const Fat_optional&
867  Fat () const;
868 
874  Fat_optional&
875  Fat ();
876 
885  void
886  Fat (const Fat_type& x);
887 
897  void
898  Fat (const Fat_optional& x);
899 
908  void
909  Fat (::std::unique_ptr< Fat_type > p);
910 
912 
920 
924  typedef ::mil::tatrc::physiology::datamodel::ScalarMassData Protein_type;
925 
929  typedef ::xsd::cxx::tree::optional< Protein_type > Protein_optional;
930 
934  typedef ::xsd::cxx::tree::traits< Protein_type, char > Protein_traits;
935 
942  const Protein_optional&
943  Protein () const;
944 
950  Protein_optional&
951  Protein ();
952 
961  void
962  Protein (const Protein_type& x);
963 
973  void
974  Protein (const Protein_optional& x);
975 
984  void
985  Protein (::std::unique_ptr< Protein_type > p);
986 
988 
996 
1000  typedef ::mil::tatrc::physiology::datamodel::ScalarMassData Calcium_type;
1001 
1005  typedef ::xsd::cxx::tree::optional< Calcium_type > Calcium_optional;
1006 
1010  typedef ::xsd::cxx::tree::traits< Calcium_type, char > Calcium_traits;
1011 
1018  const Calcium_optional&
1019  Calcium () const;
1020 
1026  Calcium_optional&
1027  Calcium ();
1028 
1037  void
1038  Calcium (const Calcium_type& x);
1039 
1049  void
1050  Calcium (const Calcium_optional& x);
1051 
1060  void
1061  Calcium (::std::unique_ptr< Calcium_type > p);
1062 
1064 
1072 
1076  typedef ::mil::tatrc::physiology::datamodel::ScalarMassData Sodium_type;
1077 
1081  typedef ::xsd::cxx::tree::optional< Sodium_type > Sodium_optional;
1082 
1086  typedef ::xsd::cxx::tree::traits< Sodium_type, char > Sodium_traits;
1087 
1094  const Sodium_optional&
1095  Sodium () const;
1096 
1102  Sodium_optional&
1103  Sodium ();
1104 
1113  void
1114  Sodium (const Sodium_type& x);
1115 
1125  void
1126  Sodium (const Sodium_optional& x);
1127 
1136  void
1137  Sodium (::std::unique_ptr< Sodium_type > p);
1138 
1140 
1148 
1152  typedef ::mil::tatrc::physiology::datamodel::ScalarVolumeData Water_type;
1153 
1157  typedef ::xsd::cxx::tree::optional< Water_type > Water_optional;
1158 
1162  typedef ::xsd::cxx::tree::traits< Water_type, char > Water_traits;
1163 
1170  const Water_optional&
1171  Water () const;
1172 
1178  Water_optional&
1179  Water ();
1180 
1189  void
1190  Water (const Water_type& x);
1191 
1201  void
1202  Water (const Water_optional& x);
1203 
1212  void
1213  Water (::std::unique_ptr< Water_type > p);
1214 
1216 
1221 
1226  NutritionData ();
1227 
1236  NutritionData (const ::xercesc::DOMElement& e,
1237  ::xml_schema::flags f = 0,
1238  ::xml_schema::container* c = 0);
1239 
1249  NutritionData (const NutritionData& x,
1250  ::xml_schema::flags f = 0,
1251  ::xml_schema::container* c = 0);
1252 
1264  virtual NutritionData*
1265  _clone (::xml_schema::flags f = 0,
1266  ::xml_schema::container* c = 0) const;
1267 
1276  NutritionData&
1277  operator= (const NutritionData& x);
1278 
1280 
1284  virtual
1285  ~NutritionData ();
1286 
1287  // Implementation.
1288  //
1289 
1290  //@cond
1291 
1292  protected:
1293  void
1294  parse (::xsd::cxx::xml::dom::parser< char >&,
1295  ::xml_schema::flags);
1296 
1297  protected:
1298  Name_optional Name_;
1299  Carbohydrate_optional Carbohydrate_;
1300  Fat_optional Fat_;
1301  Protein_optional Protein_;
1302  Calcium_optional Calcium_;
1303  Sodium_optional Sodium_;
1304  Water_optional Water_;
1305 
1306  //@endcond
1307  };
1308  }
1309  }
1310  }
1311 }
1312 
1313 #include <iosfwd>
1314 
1315 namespace mil
1316 {
1317  namespace tatrc
1318  {
1319  namespace physiology
1320  {
1321  namespace datamodel
1322  {
1323  BIOGEARS_CDM_API
1324  ::std::ostream&
1325  operator<< (::std::ostream&, const NutritionData&);
1326  }
1327  }
1328  }
1329 }
1330 
1331 #include <iosfwd>
1332 
1333 #include <xercesc/sax/InputSource.hpp>
1334 #include <xercesc/dom/DOMDocument.hpp>
1335 #include <xercesc/dom/DOMErrorHandler.hpp>
1336 
1337 namespace mil
1338 {
1339  namespace tatrc
1340  {
1341  namespace physiology
1342  {
1343  namespace datamodel
1344  {
1349 
1360  BIOGEARS_CDM_API
1361  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::NutritionData >
1362  Nutrition (const ::std::string& uri,
1363  ::xml_schema::flags f = 0,
1364  const ::xml_schema::properties& p = ::xml_schema::properties ());
1365 
1377  BIOGEARS_CDM_API
1378  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::NutritionData >
1379  Nutrition (const ::std::string& uri,
1381  ::xml_schema::flags f = 0,
1382  const ::xml_schema::properties& p = ::xml_schema::properties ());
1383 
1396  BIOGEARS_CDM_API
1397  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::NutritionData >
1398  Nutrition (const ::std::string& uri,
1399  ::xercesc::DOMErrorHandler& eh,
1400  ::xml_schema::flags f = 0,
1401  const ::xml_schema::properties& p = ::xml_schema::properties ());
1402 
1413  BIOGEARS_CDM_API
1414  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::NutritionData >
1415  Nutrition (::std::istream& is,
1416  ::xml_schema::flags f = 0,
1417  const ::xml_schema::properties& p = ::xml_schema::properties ());
1418 
1430  BIOGEARS_CDM_API
1431  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::NutritionData >
1432  Nutrition (::std::istream& is,
1434  ::xml_schema::flags f = 0,
1435  const ::xml_schema::properties& p = ::xml_schema::properties ());
1436 
1449  BIOGEARS_CDM_API
1450  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::NutritionData >
1451  Nutrition (::std::istream& is,
1452  ::xercesc::DOMErrorHandler& eh,
1453  ::xml_schema::flags f = 0,
1454  const ::xml_schema::properties& p = ::xml_schema::properties ());
1455 
1470  BIOGEARS_CDM_API
1471  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::NutritionData >
1472  Nutrition (::std::istream& is,
1473  const ::std::string& id,
1474  ::xml_schema::flags f = 0,
1475  const ::xml_schema::properties& p = ::xml_schema::properties ());
1476 
1493  BIOGEARS_CDM_API
1494  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::NutritionData >
1495  Nutrition (::std::istream& is,
1496  const ::std::string& id,
1498  ::xml_schema::flags f = 0,
1499  const ::xml_schema::properties& p = ::xml_schema::properties ());
1500 
1517  BIOGEARS_CDM_API
1518  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::NutritionData >
1519  Nutrition (::std::istream& is,
1520  const ::std::string& id,
1521  ::xercesc::DOMErrorHandler& eh,
1522  ::xml_schema::flags f = 0,
1523  const ::xml_schema::properties& p = ::xml_schema::properties ());
1524 
1535  BIOGEARS_CDM_API
1536  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::NutritionData >
1537  Nutrition (::xercesc::InputSource& is,
1538  ::xml_schema::flags f = 0,
1539  const ::xml_schema::properties& p = ::xml_schema::properties ());
1540 
1552  BIOGEARS_CDM_API
1553  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::NutritionData >
1554  Nutrition (::xercesc::InputSource& is,
1556  ::xml_schema::flags f = 0,
1557  const ::xml_schema::properties& p = ::xml_schema::properties ());
1558 
1571  BIOGEARS_CDM_API
1572  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::NutritionData >
1573  Nutrition (::xercesc::InputSource& is,
1574  ::xercesc::DOMErrorHandler& eh,
1575  ::xml_schema::flags f = 0,
1576  const ::xml_schema::properties& p = ::xml_schema::properties ());
1577 
1586  BIOGEARS_CDM_API
1587  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::NutritionData >
1588  Nutrition (const ::xercesc::DOMDocument& d,
1589  ::xml_schema::flags f = 0,
1590  const ::xml_schema::properties& p = ::xml_schema::properties ());
1591 
1604  BIOGEARS_CDM_API
1605  ::std::unique_ptr< ::mil::tatrc::physiology::datamodel::NutritionData >
1606  Nutrition (::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d,
1607  ::xml_schema::flags f = 0,
1608  const ::xml_schema::properties& p = ::xml_schema::properties ());
1609 
1611  }
1612  }
1613  }
1614 }
1615 
1616 #include <iosfwd>
1617 
1618 #include <xercesc/dom/DOMDocument.hpp>
1619 #include <xercesc/dom/DOMErrorHandler.hpp>
1620 #include <xercesc/framework/XMLFormatter.hpp>
1621 
1622 #include <xsd/cxx/xml/dom/auto-ptr.hxx>
1623 
1624 namespace mil
1625 {
1626  namespace tatrc
1627  {
1628  namespace physiology
1629  {
1630  namespace datamodel
1631  {
1632  BIOGEARS_CDM_API
1633  void
1634  operator<< (::xercesc::DOMElement&, const NutritionData&);
1635 
1640 
1652  BIOGEARS_CDM_API
1653  void
1654  Nutrition (::std::ostream& os,
1655  const ::mil::tatrc::physiology::datamodel::NutritionData& x,
1656  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
1657  const ::std::string& e = "UTF-8",
1658  ::xml_schema::flags f = 0);
1659 
1673  BIOGEARS_CDM_API
1674  void
1675  Nutrition (::std::ostream& os,
1676  const ::mil::tatrc::physiology::datamodel::NutritionData& x,
1678  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
1679  const ::std::string& e = "UTF-8",
1680  ::xml_schema::flags f = 0);
1681 
1696  BIOGEARS_CDM_API
1697  void
1698  Nutrition (::std::ostream& os,
1699  const ::mil::tatrc::physiology::datamodel::NutritionData& x,
1700  ::xercesc::DOMErrorHandler& eh,
1701  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
1702  const ::std::string& e = "UTF-8",
1703  ::xml_schema::flags f = 0);
1704 
1716  BIOGEARS_CDM_API
1717  void
1718  Nutrition (::xercesc::XMLFormatTarget& ft,
1719  const ::mil::tatrc::physiology::datamodel::NutritionData& x,
1720  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
1721  const ::std::string& e = "UTF-8",
1722  ::xml_schema::flags f = 0);
1723 
1738  BIOGEARS_CDM_API
1739  void
1740  Nutrition (::xercesc::XMLFormatTarget& ft,
1741  const ::mil::tatrc::physiology::datamodel::NutritionData& x,
1743  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
1744  const ::std::string& e = "UTF-8",
1745  ::xml_schema::flags f = 0);
1746 
1761  BIOGEARS_CDM_API
1762  void
1763  Nutrition (::xercesc::XMLFormatTarget& ft,
1764  const ::mil::tatrc::physiology::datamodel::NutritionData& x,
1765  ::xercesc::DOMErrorHandler& eh,
1766  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
1767  const ::std::string& e = "UTF-8",
1768  ::xml_schema::flags f = 0);
1769 
1781  BIOGEARS_CDM_API
1782  void
1783  Nutrition (::xercesc::DOMDocument& d,
1784  const ::mil::tatrc::physiology::datamodel::NutritionData& x,
1785  ::xml_schema::flags f = 0);
1786 
1795  BIOGEARS_CDM_API
1796  ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument >
1797  Nutrition (const ::mil::tatrc::physiology::datamodel::NutritionData& x,
1798  const ::xml_schema::namespace_infomap& m = ::xml_schema::namespace_infomap (),
1799  ::xml_schema::flags f = 0);
1800 
1802  }
1803  }
1804  }
1805 }
1806 
1807 #include <xsd/cxx/post.hxx>
1808 
1809 // Begin epilogue.
1810 //
1811 //
1812 // End epilogue.
1813 
1814 #endif // D__BIOGEARS_CORE_SHARE_XSD__CDM_PATIENT_NUTRITION_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
::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
::std::unique_ptr< ::mil::tatrc::physiology::datamodel::NutritionData > Nutrition(const ::std::string &u,::xml_schema::flags f, const ::xml_schema::properties &p)
Parse a URI or a local file.
Definition: PatientNutrition.cxx:715
::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::optional< Water_type > Water_optional
Element optional container type.
Definition: PatientNutrition.hxx:1157
::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::ScalarMassData Sodium_type
Element type.
Definition: PatientNutrition.hxx:1076
float float_
C++ type corresponding to the float XML Schema built-in type.
Definition: BioGears.hxx:251
::xsd::cxx::tree::optional< Calcium_type > Calcium_optional
Element optional container type.
Definition: PatientNutrition.hxx:1005
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
::xsd::cxx::tree::traits< Name_type, char > Name_traits
Element traits type.
Definition: PatientNutrition.hxx:706
::xsd::cxx::tree::optional< Protein_type > Protein_optional
Element optional container type.
Definition: PatientNutrition.hxx:929
::mil::tatrc::physiology::datamodel::ScalarVolumeData Water_type
Element type.
Definition: PatientNutrition.hxx:1152
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
::xsd::cxx::tree::optional< Name_type > Name_optional
Element optional container type.
Definition: PatientNutrition.hxx:701
unsigned long long unsigned_long
C++ type corresponding to the unsignedLong XML Schema built-in type.
Definition: BioGears.hxx:197
::xsd::cxx::tree::traits< Carbohydrate_type, char > Carbohydrate_traits
Element traits type.
Definition: PatientNutrition.hxx:782
::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
::mil::tatrc::physiology::datamodel::ScalarMassData Fat_type
Element type.
Definition: PatientNutrition.hxx:848
::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
::xsd::cxx::tree::traits< Water_type, char > Water_traits
Element traits type.
Definition: PatientNutrition.hxx:1162
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::optional< Sodium_type > Sodium_optional
Element optional container type.
Definition: PatientNutrition.hxx:1081
::mil::tatrc::physiology::datamodel::ScalarMassData Protein_type
Element type.
Definition: PatientNutrition.hxx:924
::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::tree::traits< Protein_type, char > Protein_traits
Element traits type.
Definition: PatientNutrition.hxx:934
::xsd::cxx::xml::dom::namespace_info< char > namespace_info
Namespace serialization information.
Definition: BioGears.hxx:471
::xsd::cxx::tree::traits< Sodium_type, char > Sodium_traits
Element traits type.
Definition: PatientNutrition.hxx:1086
::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::xml::error_handler< char > error_handler
Error handler callback interface.
Definition: BioGears.hxx:610
::xsd::cxx::tree::optional< Fat_type > Fat_optional
Element optional container type.
Definition: PatientNutrition.hxx:853
::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
::mil::tatrc::physiology::datamodel::ScalarMassData Carbohydrate_type
Element type.
Definition: PatientNutrition.hxx:772
::xsd::cxx::tree::traits< Calcium_type, char > Calcium_traits
Element traits type.
Definition: PatientNutrition.hxx:1010
::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
Class corresponding to the ObjectData schema type.
Definition: Properties.hxx:859
::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
Class corresponding to the NutritionData schema type.
Definition: PatientNutrition.hxx:682
::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::optional< Carbohydrate_type > Carbohydrate_optional
Element optional container type.
Definition: PatientNutrition.hxx:777
::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
::xml_schema::string Name_type
Element type.
Definition: PatientNutrition.hxx:696
::xsd::cxx::tree::traits< Fat_type, char > Fat_traits
Element traits type.
Definition: PatientNutrition.hxx:858
::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
unsigned short unsigned_short
C++ type corresponding to the unsignedShort XML Schema built-in type.
Definition: BioGears.hxx:165
::mil::tatrc::physiology::datamodel::ScalarMassData Calcium_type
Element type.
Definition: PatientNutrition.hxx:1000
double decimal
C++ type corresponding to the decimal XML Schema built-in type.
Definition: BioGears.hxx:263