OS-IoT
CDT-subscription.hxx
Go to the documentation of this file.
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 XSD_V3_2_0_ED_CDT_SUBSCRIPTION_HXX
40 #define XSD_V3_2_0_ED_CDT_SUBSCRIPTION_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 //
57 // End prologue.
58 
59 #include <xsd/cxx/config.hxx>
60 
61 #if (XSD_INT_VERSION != 4000000L)
62 #error XSD runtime version mismatch
63 #endif
64 
65 #include <xsd/cxx/pre.hxx>
66 
67 #include <xsd/cxx/xml/char-utf8.hxx>
68 
69 #include <xsd/cxx/tree/exceptions.hxx>
70 #include <xsd/cxx/tree/elements.hxx>
71 #include <xsd/cxx/tree/types.hxx>
72 
73 #include <xsd/cxx/xml/error-handler.hxx>
74 
75 #include <xsd/cxx/xml/dom/auto-ptr.hxx>
76 
77 #include <xsd/cxx/tree/parsing.hxx>
78 #include <xsd/cxx/tree/parsing/byte.hxx>
79 #include <xsd/cxx/tree/parsing/unsigned-byte.hxx>
80 #include <xsd/cxx/tree/parsing/short.hxx>
81 #include <xsd/cxx/tree/parsing/unsigned-short.hxx>
82 #include <xsd/cxx/tree/parsing/int.hxx>
83 #include <xsd/cxx/tree/parsing/unsigned-int.hxx>
84 #include <xsd/cxx/tree/parsing/long.hxx>
85 #include <xsd/cxx/tree/parsing/unsigned-long.hxx>
86 #include <xsd/cxx/tree/parsing/boolean.hxx>
87 #include <xsd/cxx/tree/parsing/float.hxx>
88 #include <xsd/cxx/tree/parsing/double.hxx>
89 #include <xsd/cxx/tree/parsing/decimal.hxx>
90 
91 #include <xsd/cxx/xml/dom/serialization-header.hxx>
92 #include <xsd/cxx/tree/serialization.hxx>
93 #include <xsd/cxx/tree/serialization/byte.hxx>
94 #include <xsd/cxx/tree/serialization/unsigned-byte.hxx>
95 #include <xsd/cxx/tree/serialization/short.hxx>
96 #include <xsd/cxx/tree/serialization/unsigned-short.hxx>
97 #include <xsd/cxx/tree/serialization/int.hxx>
98 #include <xsd/cxx/tree/serialization/unsigned-int.hxx>
99 #include <xsd/cxx/tree/serialization/long.hxx>
100 #include <xsd/cxx/tree/serialization/unsigned-long.hxx>
101 #include <xsd/cxx/tree/serialization/boolean.hxx>
102 #include <xsd/cxx/tree/serialization/float.hxx>
103 #include <xsd/cxx/tree/serialization/double.hxx>
104 #include <xsd/cxx/tree/serialization/decimal.hxx>
105 
106 #include <xsd/cxx/tree/std-ostream-operators.hxx>
107 
112 namespace xml_schema
113 {
114  // anyType and anySimpleType.
115  //
116 
122 
127  typedef ::xsd::cxx::tree::simple_type< char, type > simple_type;
128 
133 
134 
135  // 8-bit
136  //
137 
142  typedef signed char byte;
143 
148  typedef unsigned char unsigned_byte;
149 
150 
151  // 16-bit
152  //
153 
158  typedef short short_;
159 
164  typedef unsigned short unsigned_short;
165 
166 
167  // 32-bit
168  //
169 
174  typedef int int_;
175 
180  typedef unsigned int unsigned_int;
181 
182 
183  // 64-bit
184  //
185 
190  typedef long long long_;
191 
196  typedef unsigned long long unsigned_long;
197 
198 
199  // Supposed to be arbitrary-length integral types.
200  //
201 
206  typedef long long integer;
207 
212  typedef long long non_positive_integer;
213 
218  typedef unsigned long long non_negative_integer;
219 
224  typedef unsigned long long positive_integer;
225 
230  typedef long long negative_integer;
231 
232 
233  // Boolean.
234  //
235 
240  typedef bool boolean;
241 
242 
243  // Floating-point types.
244  //
245 
250  typedef float float_;
251 
256  typedef double double_;
257 
262  typedef double decimal;
263 
264 
265  // String types.
266  //
267 
272  typedef ::xsd::cxx::tree::string< char, simple_type > string;
273 
278  typedef ::xsd::cxx::tree::normalized_string< char, string > normalized_string;
279 
284  typedef ::xsd::cxx::tree::token< char, normalized_string > token;
285 
290  typedef ::xsd::cxx::tree::name< char, token > name;
291 
296  typedef ::xsd::cxx::tree::nmtoken< char, token > nmtoken;
297 
302  typedef ::xsd::cxx::tree::nmtokens< char, simple_type, nmtoken > nmtokens;
303 
308  typedef ::xsd::cxx::tree::ncname< char, name > ncname;
309 
314  typedef ::xsd::cxx::tree::language< char, token > language;
315 
316 
317  // ID/IDREF.
318  //
319 
324  typedef ::xsd::cxx::tree::id< char, ncname > id;
325 
330  typedef ::xsd::cxx::tree::idref< char, ncname, type > idref;
331 
336  typedef ::xsd::cxx::tree::idrefs< char, simple_type, idref > idrefs;
337 
338 
339  // URI.
340  //
341 
346  typedef ::xsd::cxx::tree::uri< char, simple_type > uri;
347 
348 
349  // Qualified name.
350  //
351 
356  typedef ::xsd::cxx::tree::qname< char, simple_type, uri, ncname > qname;
357 
358 
359  // Binary.
360  //
361 
365  typedef ::xsd::cxx::tree::buffer< char > buffer;
366 
371  typedef ::xsd::cxx::tree::base64_binary< char, simple_type > base64_binary;
372 
377  typedef ::xsd::cxx::tree::hex_binary< char, simple_type > hex_binary;
378 
379 
380  // Date/time.
381  //
382 
387 
392  typedef ::xsd::cxx::tree::date< char, simple_type > date;
393 
398  typedef ::xsd::cxx::tree::date_time< char, simple_type > date_time;
399 
404  typedef ::xsd::cxx::tree::duration< char, simple_type > duration;
405 
410  typedef ::xsd::cxx::tree::gday< char, simple_type > gday;
411 
416  typedef ::xsd::cxx::tree::gmonth< char, simple_type > gmonth;
417 
422  typedef ::xsd::cxx::tree::gmonth_day< char, simple_type > gmonth_day;
423 
428  typedef ::xsd::cxx::tree::gyear< char, simple_type > gyear;
429 
434  typedef ::xsd::cxx::tree::gyear_month< char, simple_type > gyear_month;
435 
440  typedef ::xsd::cxx::tree::time< char, simple_type > time;
441 
442 
443  // Entity.
444  //
445 
450  typedef ::xsd::cxx::tree::entity< char, ncname > entity;
451 
456  typedef ::xsd::cxx::tree::entities< char, simple_type, entity > entities;
457 
458 
459 
464  // Namespace information and list stream. Used in
465  // serialization functions.
466  //
470  typedef ::xsd::cxx::xml::dom::namespace_info< char > namespace_info;
471 
475  typedef ::xsd::cxx::xml::dom::namespace_infomap< char > namespace_infomap;
476 
480  typedef ::xsd::cxx::tree::list_stream< char > list_stream;
481 
485  typedef ::xsd::cxx::tree::as_double< double_ > as_double;
486 
490  typedef ::xsd::cxx::tree::as_decimal< decimal > as_decimal;
491 
496 
497  // Flags and properties.
498  //
499 
504 
508  typedef ::xsd::cxx::tree::properties< char > properties;
509 
510  // Parsing/serialization diagnostics.
511  //
512 
517 
521  typedef ::xsd::cxx::tree::error< char > error;
522 
526  typedef ::xsd::cxx::tree::diagnostics< char > diagnostics;
527 
528  // Exceptions.
529  //
530 
534  typedef ::xsd::cxx::tree::exception< char > exception;
535 
540  typedef ::xsd::cxx::tree::bounds< char > bounds;
541 
546  typedef ::xsd::cxx::tree::duplicate_id< char > duplicate_id;
547 
551  typedef ::xsd::cxx::tree::parsing< char > parsing;
552 
557  typedef ::xsd::cxx::tree::expected_element< char > expected_element;
558 
563  typedef ::xsd::cxx::tree::unexpected_element< char > unexpected_element;
564 
569  typedef ::xsd::cxx::tree::expected_attribute< char > expected_attribute;
570 
575  typedef ::xsd::cxx::tree::unexpected_enumerator< char > unexpected_enumerator;
576 
581  typedef ::xsd::cxx::tree::expected_text_content< char > expected_text_content;
582 
587  typedef ::xsd::cxx::tree::no_prefix_mapping< char > no_prefix_mapping;
588 
592  typedef ::xsd::cxx::tree::serialization< char > serialization;
593 
597  typedef ::xsd::cxx::xml::error_handler< char > error_handler;
598 
602  namespace dom
603  {
607  using ::xsd::cxx::xml::dom::unique_ptr;
608 
609 #ifndef XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA
610 #define XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA
611 
614  const XMLCh* const tree_node_key = ::xsd::cxx::tree::user_data_keys::node;
615 #endif
616  }
617 }
618 
619 // Forward declarations.
620 //
621 namespace onem2m
622 {
623  class eventNotificationCriteria;
624  class subscription;
625 }
626 
627 
628 #include <memory> // ::std::unique_ptr
629 #include <limits> // std::numeric_limits
630 #include <algorithm> // std::binary_search
631 #include <utility> // std::move
632 
633 #include <xsd/cxx/xml/char-utf8.hxx>
634 
635 #include <xsd/cxx/tree/exceptions.hxx>
636 #include <xsd/cxx/tree/elements.hxx>
637 #include <xsd/cxx/tree/containers.hxx>
638 #include <xsd/cxx/tree/list.hxx>
639 
640 #include <xsd/cxx/xml/dom/parsing-header.hxx>
641 
642 #include <xsd/cxx/tree/containers-wildcard.hxx>
643 
644 #include "CDT-commonTypes.hxx"
645 
650 namespace onem2m
651 {
658  {
659  public:
667 
671  typedef ::onem2m::notificationEventType notificationEventType_type;
672 
676  typedef ::xsd::cxx::tree::sequence< notificationEventType_type > notificationEventType_sequence;
677 
681  typedef notificationEventType_sequence::iterator notificationEventType_iterator;
682 
686  typedef notificationEventType_sequence::const_iterator notificationEventType_const_iterator;
687 
691  typedef ::xsd::cxx::tree::traits< notificationEventType_type, char > notificationEventType_traits;
692 
699  const notificationEventType_sequence&
700  notificationEventType () const;
701 
707  notificationEventType_sequence&
709 
719  void
720  notificationEventType (const notificationEventType_sequence& s);
721 
723 
728 
734 
743  eventNotificationCriteria (const ::xercesc::DOMElement& e,
744  ::xml_schema::flags f = 0,
745  ::xml_schema::container* c = 0);
746 
757  ::xml_schema::flags f = 0,
758  ::xml_schema::container* c = 0);
759 
772  _clone (::xml_schema::flags f = 0,
773  ::xml_schema::container* c = 0) const;
774 
784  operator= (const eventNotificationCriteria& x);
785 
787 
791  virtual
793 
794  // Implementation.
795  //
796 
797  //@cond
798 
799  protected:
800  void
801  parse (::xsd::cxx::xml::dom::parser< char >&,
803 
804  protected:
805  notificationEventType_sequence notificationEventType_;
806 
807  //@endcond
808  };
809 
816  {
817  public:
825 
829  typedef ::onem2m::ID creator_type;
830 
834  typedef ::xsd::cxx::tree::optional< creator_type > creator_optional;
835 
839  typedef ::xsd::cxx::tree::traits< creator_type, char > creator_traits;
840 
847  const creator_optional&
848  creator () const;
849 
855  creator_optional&
856  creator ();
857 
866  void
867  creator (const creator_type& x);
868 
878  void
879  creator (const creator_optional& x);
880 
889  void
890  creator (::std::unique_ptr< creator_type > p);
891 
893 
901 
905  typedef ::onem2m::eventNotificationCriteria eventNotificationCriteria_type;
906 
910  typedef ::xsd::cxx::tree::optional< eventNotificationCriteria_type > eventNotificationCriteria_optional;
911 
915  typedef ::xsd::cxx::tree::traits< eventNotificationCriteria_type, char > eventNotificationCriteria_traits;
916 
923  const eventNotificationCriteria_optional&
924  eventNotificationCriteria () const;
925 
931  eventNotificationCriteria_optional&
933 
942  void
943  eventNotificationCriteria (const eventNotificationCriteria_type& x);
944 
954  void
955  eventNotificationCriteria (const eventNotificationCriteria_optional& x);
956 
965  void
966  eventNotificationCriteria (::std::unique_ptr< eventNotificationCriteria_type > p);
967 
969 
977 
982 
986  typedef ::xsd::cxx::tree::optional< expirationCounter_type > expirationCounter_optional;
987 
991  typedef ::xsd::cxx::tree::traits< expirationCounter_type, char > expirationCounter_traits;
992 
999  const expirationCounter_optional&
1000  expirationCounter () const;
1001 
1007  expirationCounter_optional&
1008  expirationCounter ();
1009 
1018  void
1019  expirationCounter (const expirationCounter_type& x);
1020 
1030  void
1031  expirationCounter (const expirationCounter_optional& x);
1032 
1034 
1042 
1046  typedef ::onem2m::listOfURIs notificationURI_type;
1047 
1051  typedef ::xsd::cxx::tree::optional< notificationURI_type > notificationURI_optional;
1052 
1056  typedef ::xsd::cxx::tree::traits< notificationURI_type, char > notificationURI_traits;
1057 
1064  const notificationURI_optional&
1065  notificationURI () const;
1066 
1072  notificationURI_optional&
1073  notificationURI ();
1074 
1083  void
1084  notificationURI (const notificationURI_type& x);
1085 
1095  void
1096  notificationURI (const notificationURI_optional& x);
1097 
1106  void
1107  notificationURI (::std::unique_ptr< notificationURI_type > p);
1108 
1110 
1118 
1123 
1127  typedef ::xsd::cxx::tree::optional< groupID_type > groupID_optional;
1128 
1132  typedef ::xsd::cxx::tree::traits< groupID_type, char > groupID_traits;
1133 
1140  const groupID_optional&
1141  groupID () const;
1142 
1148  groupID_optional&
1149  groupID ();
1150 
1159  void
1160  groupID (const groupID_type& x);
1161 
1171  void
1172  groupID (const groupID_optional& x);
1173 
1182  void
1183  groupID (::std::unique_ptr< groupID_type > p);
1184 
1186 
1194 
1199 
1203  typedef ::xsd::cxx::tree::optional< notificationForwardingURI_type > notificationForwardingURI_optional;
1204 
1208  typedef ::xsd::cxx::tree::traits< notificationForwardingURI_type, char > notificationForwardingURI_traits;
1209 
1216  const notificationForwardingURI_optional&
1217  notificationForwardingURI () const;
1218 
1224  notificationForwardingURI_optional&
1225  notificationForwardingURI ();
1226 
1235  void
1236  notificationForwardingURI (const notificationForwardingURI_type& x);
1237 
1247  void
1248  notificationForwardingURI (const notificationForwardingURI_optional& x);
1249 
1258  void
1259  notificationForwardingURI (::std::unique_ptr< notificationForwardingURI_type > p);
1260 
1262 
1270 
1275 
1279  typedef ::xsd::cxx::tree::optional< latestNotify_type > latestNotify_optional;
1280 
1284  typedef ::xsd::cxx::tree::traits< latestNotify_type, char > latestNotify_traits;
1285 
1292  const latestNotify_optional&
1293  latestNotify () const;
1294 
1300  latestNotify_optional&
1301  latestNotify ();
1302 
1311  void
1312  latestNotify (const latestNotify_type& x);
1313 
1323  void
1324  latestNotify (const latestNotify_optional& x);
1325 
1327 
1335 
1339  typedef ::onem2m::notificationContentType notificationContentType_type;
1340 
1344  typedef ::xsd::cxx::tree::optional< notificationContentType_type > notificationContentType_optional;
1345 
1349  typedef ::xsd::cxx::tree::traits< notificationContentType_type, char > notificationContentType_traits;
1350 
1357  const notificationContentType_optional&
1358  notificationContentType () const;
1359 
1365  notificationContentType_optional&
1367 
1376  void
1377  notificationContentType (const notificationContentType_type& x);
1378 
1388  void
1389  notificationContentType (const notificationContentType_optional& x);
1390 
1399  void
1400  notificationContentType (::std::unique_ptr< notificationContentType_type > p);
1401 
1403 
1408 
1413  subscription ();
1414 
1423  subscription (const ::xercesc::DOMElement& e,
1424  ::xml_schema::flags f = 0,
1425  ::xml_schema::container* c = 0);
1426 
1436  subscription (const subscription& x,
1437  ::xml_schema::flags f = 0,
1438  ::xml_schema::container* c = 0);
1439 
1451  virtual subscription*
1452  _clone (::xml_schema::flags f = 0,
1453  ::xml_schema::container* c = 0) const;
1454 
1463  subscription&
1464  operator= (const subscription& x);
1465 
1467 
1471  virtual
1472  ~subscription ();
1473 
1474  // Implementation.
1475  //
1476 
1477  //@cond
1478 
1479  protected:
1480  void
1481  parse (::xsd::cxx::xml::dom::parser< char >&,
1482  ::xml_schema::flags);
1483 
1484  protected:
1485  creator_optional creator_;
1486  eventNotificationCriteria_optional eventNotificationCriteria_;
1487  expirationCounter_optional expirationCounter_;
1488  notificationURI_optional notificationURI_;
1489  groupID_optional groupID_;
1490  notificationForwardingURI_optional notificationForwardingURI_;
1491  latestNotify_optional latestNotify_;
1492  notificationContentType_optional notificationContentType_;
1493 
1494  //@endcond
1495  };
1496 }
1497 
1498 #include <iosfwd>
1499 
1500 namespace onem2m
1501 {
1502  ::std::ostream&
1503  operator<< (::std::ostream&, const eventNotificationCriteria&);
1504 
1505  ::std::ostream&
1506  operator<< (::std::ostream&, const subscription&);
1507 }
1508 
1509 #include <iosfwd>
1510 
1511 #include <xercesc/sax/InputSource.hpp>
1512 #include <xercesc/dom/DOMDocument.hpp>
1513 #include <xercesc/dom/DOMErrorHandler.hpp>
1514 
1515 namespace onem2m
1516 {
1521 
1532  ::std::unique_ptr< ::onem2m::subscription >
1533  subscription_ (const ::std::string& uri,
1534  ::xml_schema::flags f = 0,
1536 
1548  ::std::unique_ptr< ::onem2m::subscription >
1549  subscription_ (const ::std::string& uri,
1551  ::xml_schema::flags f = 0,
1553 
1566  ::std::unique_ptr< ::onem2m::subscription >
1567  subscription_ (const ::std::string& uri,
1568  ::xercesc::DOMErrorHandler& eh,
1569  ::xml_schema::flags f = 0,
1571 
1582  ::std::unique_ptr< ::onem2m::subscription >
1583  subscription_ (::std::istream& is,
1584  ::xml_schema::flags f = 0,
1586 
1598  ::std::unique_ptr< ::onem2m::subscription >
1599  subscription_ (::std::istream& is,
1601  ::xml_schema::flags f = 0,
1603 
1616  ::std::unique_ptr< ::onem2m::subscription >
1617  subscription_ (::std::istream& is,
1618  ::xercesc::DOMErrorHandler& eh,
1619  ::xml_schema::flags f = 0,
1621 
1636  ::std::unique_ptr< ::onem2m::subscription >
1637  subscription_ (::std::istream& is,
1638  const ::std::string& id,
1639  ::xml_schema::flags f = 0,
1641 
1658  ::std::unique_ptr< ::onem2m::subscription >
1659  subscription_ (::std::istream& is,
1660  const ::std::string& id,
1662  ::xml_schema::flags f = 0,
1664 
1681  ::std::unique_ptr< ::onem2m::subscription >
1682  subscription_ (::std::istream& is,
1683  const ::std::string& id,
1684  ::xercesc::DOMErrorHandler& eh,
1685  ::xml_schema::flags f = 0,
1687 
1698  ::std::unique_ptr< ::onem2m::subscription >
1699  subscription_ (::xercesc::InputSource& is,
1700  ::xml_schema::flags f = 0,
1702 
1714  ::std::unique_ptr< ::onem2m::subscription >
1715  subscription_ (::xercesc::InputSource& is,
1717  ::xml_schema::flags f = 0,
1719 
1732  ::std::unique_ptr< ::onem2m::subscription >
1733  subscription_ (::xercesc::InputSource& is,
1734  ::xercesc::DOMErrorHandler& eh,
1735  ::xml_schema::flags f = 0,
1737 
1746  ::std::unique_ptr< ::onem2m::subscription >
1747  subscription_ (const ::xercesc::DOMDocument& d,
1748  ::xml_schema::flags f = 0,
1750 
1763  ::std::unique_ptr< ::onem2m::subscription >
1764  subscription_ (::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d,
1765  ::xml_schema::flags f = 0,
1767 
1769 }
1770 
1771 #include <iosfwd>
1772 
1773 #include <xercesc/dom/DOMDocument.hpp>
1774 #include <xercesc/dom/DOMErrorHandler.hpp>
1775 #include <xercesc/framework/XMLFormatter.hpp>
1776 
1777 #include <xsd/cxx/xml/dom/auto-ptr.hxx>
1778 
1779 namespace onem2m
1780 {
1785 
1797  void
1798  subscription_ (::std::ostream& os,
1799  const ::onem2m::subscription& x,
1801  const ::std::string& e = "UTF-8",
1802  ::xml_schema::flags f = 0);
1803 
1817  void
1818  subscription_ (::std::ostream& os,
1819  const ::onem2m::subscription& x,
1822  const ::std::string& e = "UTF-8",
1823  ::xml_schema::flags f = 0);
1824 
1839  void
1840  subscription_ (::std::ostream& os,
1841  const ::onem2m::subscription& x,
1842  ::xercesc::DOMErrorHandler& eh,
1844  const ::std::string& e = "UTF-8",
1845  ::xml_schema::flags f = 0);
1846 
1858  void
1859  subscription_ (::xercesc::XMLFormatTarget& ft,
1860  const ::onem2m::subscription& x,
1862  const ::std::string& e = "UTF-8",
1863  ::xml_schema::flags f = 0);
1864 
1879  void
1880  subscription_ (::xercesc::XMLFormatTarget& ft,
1881  const ::onem2m::subscription& x,
1884  const ::std::string& e = "UTF-8",
1885  ::xml_schema::flags f = 0);
1886 
1901  void
1902  subscription_ (::xercesc::XMLFormatTarget& ft,
1903  const ::onem2m::subscription& x,
1904  ::xercesc::DOMErrorHandler& eh,
1906  const ::std::string& e = "UTF-8",
1907  ::xml_schema::flags f = 0);
1908 
1920  void
1921  subscription_ (::xercesc::DOMDocument& d,
1922  const ::onem2m::subscription& x,
1923  ::xml_schema::flags f = 0);
1924 
1933  ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument >
1934  subscription_ (const ::onem2m::subscription& x,
1936  ::xml_schema::flags f = 0);
1937 
1939 
1940  void
1941  operator<< (::xercesc::DOMElement&, const eventNotificationCriteria&);
1942 
1943  void
1944  operator<< (::xercesc::DOMElement&, const subscription&);
1945 }
1946 
1947 #include <xsd/cxx/post.hxx>
1948 
1949 // Begin epilogue.
1950 //
1951 //
1952 // End epilogue.
1953 
1954 #endif // XSD_V3_2_0_ED_CDT_SUBSCRIPTION_HXX
::xsd::cxx::tree::id< char, ncname > id
C++ type corresponding to the ID XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:324
long long negative_integer
C++ type corresponding to the negativeInteger XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:230
Class corresponding to the subscription schema type.
Definition: CDT-subscription.hxx:815
::xsd::cxx::tree::simple_type< char, type > simple_type
C++ type corresponding to the anySimpleType XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:127
::xsd::cxx::tree::parsing< char > parsing
Exception indicating a parsing failure.
Definition: CDT-accessControlPolicy.hxx:551
::xsd::cxx::tree::date< char, simple_type > date
C++ type corresponding to the date XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:392
::xsd::cxx::tree::bounds< char > bounds
Exception indicating that the size argument exceeds the capacity argument.
Definition: CDT-accessControlPolicy.hxx:540
::xsd::cxx::tree::optional< notificationContentType_type > notificationContentType_optional
Element optional container type.
Definition: CDT-subscription.hxx:1344
::xsd::cxx::tree::no_prefix_mapping< char > no_prefix_mapping
Exception indicating that a prefix-namespace mapping was not provided.
Definition: CDT-accessControlPolicy.hxx:587
::xsd::cxx::tree::traits< notificationEventType_type, char > notificationEventType_traits
Element traits type.
Definition: CDT-subscription.hxx:691
::onem2m::ID creator_type
Element type.
Definition: CDT-subscription.hxx:829
::xsd::cxx::tree::duplicate_id< char > duplicate_id
Exception indicating that a duplicate ID value was encountered in the object model.
Definition: CDT-accessControlPolicy.hxx:546
::xsd::cxx::tree::expected_element< char > expected_element
Exception indicating that an expected element was not encountered.
Definition: CDT-accessControlPolicy.hxx:557
::xsd::cxx::tree::flags flags
Parsing and serialization flags.
Definition: CDT-accessControlPolicy.hxx:503
::xsd::cxx::tree::language< char, token > language
C++ type corresponding to the language XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:314
::xsd::cxx::tree::normalized_string< char, string > normalized_string
C++ type corresponding to the normalizedString XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:278
bool boolean
C++ type corresponding to the boolean XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:240
::xsd::cxx::tree::uri< char, simple_type > uri
C++ type corresponding to the anyURI XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:346
notificationEventType_sequence::const_iterator notificationEventType_const_iterator
Element constant iterator type.
Definition: CDT-subscription.hxx:686
::xsd::cxx::tree::diagnostics< char > diagnostics
List of error conditions.
Definition: CDT-accessControlPolicy.hxx:526
::xsd::cxx::tree::time_zone time_zone
Time zone type.
Definition: CDT-accessControlPolicy.hxx:386
unsigned long long non_negative_integer
C++ type corresponding to the nonNegativeInteger XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:218
::xsd::cxx::tree::unexpected_enumerator< char > unexpected_enumerator
Exception indicating that an unexpected enumerator was encountered.
Definition: CDT-accessControlPolicy.hxx:575
Enumeration class corresponding to the notificationContentType schema type.
Definition: CDT-enumerationTypes.hxx:1250
unsigned long long positive_integer
C++ type corresponding to the positiveInteger XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:224
::xsd::cxx::tree::exception< char > exception
Root of the C++/Tree exception hierarchy.
Definition: CDT-accessControlPolicy.hxx:534
::xsd::cxx::tree::facet facet
Simple type facet.
Definition: CDT-accessControlPolicy.hxx:495
::xml_schema::uri groupID_type
Element type.
Definition: CDT-subscription.hxx:1122
::xsd::cxx::tree::as_decimal< decimal > as_decimal
Serialization wrapper for the decimal type.
Definition: CDT-accessControlPolicy.hxx:490
::xsd::cxx::tree::optional< expirationCounter_type > expirationCounter_optional
Element optional container type.
Definition: CDT-subscription.hxx:986
::xsd::cxx::tree::traits< notificationContentType_type, char > notificationContentType_traits
Element traits type.
Definition: CDT-subscription.hxx:1349
::xsd::cxx::tree::expected_text_content< char > expected_text_content
Exception indicating that the text content was expected for an element.
Definition: CDT-accessControlPolicy.hxx:581
::xsd::cxx::tree::traits< latestNotify_type, char > latestNotify_traits
Element traits type.
Definition: CDT-subscription.hxx:1284
::xsd::cxx::tree::unexpected_element< char > unexpected_element
Exception indicating that an unexpected element was encountered.
Definition: CDT-accessControlPolicy.hxx:563
::xsd::cxx::tree::optional< eventNotificationCriteria_type > eventNotificationCriteria_optional
Element optional container type.
Definition: CDT-subscription.hxx:910
unsigned long long unsigned_long
C++ type corresponding to the unsignedLong XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:196
::xsd::cxx::tree::time< char, simple_type > time
C++ type corresponding to the time XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:440
::xml_schema::uri notificationForwardingURI_type
Element type.
Definition: CDT-subscription.hxx:1198
::xsd::cxx::tree::gmonth_day< char, simple_type > gmonth_day
C++ type corresponding to the gMonthDay XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:422
Class corresponding to the eventNotificationCriteria schema type.
Definition: CDT-subscription.hxx:657
::xsd::cxx::tree::sequence< notificationEventType_type > notificationEventType_sequence
Element sequence container type.
Definition: CDT-subscription.hxx:676
::xsd::cxx::tree::buffer< char > buffer
Binary buffer type.
Definition: CDT-accessControlPolicy.hxx:365
::xsd::cxx::tree::type type
C++ type corresponding to the anyType XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:121
::xsd::cxx::tree::optional< latestNotify_type > latestNotify_optional
Element optional container type.
Definition: CDT-subscription.hxx:1279
::xsd::cxx::tree::base64_binary< char, simple_type > base64_binary
C++ type corresponding to the base64Binary XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:371
::onem2m::notificationEventType notificationEventType_type
Element type.
Definition: CDT-subscription.hxx:671
::xsd::cxx::tree::expected_attribute< char > expected_attribute
Exception indicating that an expected attribute was not encountered.
Definition: CDT-accessControlPolicy.hxx:569
::xsd::cxx::tree::duration< char, simple_type > duration
C++ type corresponding to the duration XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:404
::xsd::cxx::tree::gmonth< char, simple_type > gmonth
C++ type corresponding to the gMonth XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:416
::xsd::cxx::xml::dom::namespace_info< char > namespace_info
Namespace serialization information.
Definition: CDT-accessControlPolicy.hxx:470
::xsd::cxx::tree::optional< creator_type > creator_optional
Element optional container type.
Definition: CDT-subscription.hxx:834
notificationEventType_sequence::iterator notificationEventType_iterator
Element iterator type.
Definition: CDT-subscription.hxx:681
::xsd::cxx::tree::ncname< char, name > ncname
C++ type corresponding to the NCName XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:308
::xsd::cxx::tree::traits< expirationCounter_type, char > expirationCounter_traits
Element traits type.
Definition: CDT-subscription.hxx:991
::xsd::cxx::tree::name< char, token > name
C++ type corresponding to the Name XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:290
::xsd::cxx::tree::hex_binary< char, simple_type > hex_binary
C++ type corresponding to the hexBinary XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:377
::xsd::cxx::xml::dom::namespace_infomap< char > namespace_infomap
Namespace serialization information map.
Definition: CDT-accessControlPolicy.hxx:475
::xsd::cxx::tree::nmtokens< char, simple_type, nmtoken > nmtokens
C++ type corresponding to the NMTOKENS XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:302
::xsd::cxx::tree::traits< notificationForwardingURI_type, char > notificationForwardingURI_traits
Element traits type.
Definition: CDT-subscription.hxx:1208
::onem2m::notificationContentType notificationContentType_type
Element type.
Definition: CDT-subscription.hxx:1339
::xsd::cxx::tree::gyear< char, simple_type > gyear
C++ type corresponding to the gYear XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:428
::xsd::cxx::xml::error_handler< char > error_handler
Error handler callback interface.
Definition: CDT-accessControlPolicy.hxx:597
::xsd::cxx::tree::serialization< char > serialization
Exception indicating a serialization failure.
Definition: CDT-accessControlPolicy.hxx:592
const XMLCh *const tree_node_key
DOM user data key for back pointers to tree nodes.
Definition: CDT-accessControlPolicy.hxx:614
::xsd::cxx::tree::properties< char > properties
Parsing properties.
Definition: CDT-accessControlPolicy.hxx:508
Public interface for functions and classes in the OS-IoT library.
Definition: onem2m.hxx:237
::xml_schema::boolean latestNotify_type
Element type.
Definition: CDT-subscription.hxx:1274
long long non_positive_integer
C++ type corresponding to the nonPositiveInteger XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:212
::xsd::cxx::tree::entity< char, ncname > entity
C++ type corresponding to the ENTITY XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:450
signed char byte
C++ type corresponding to the byte XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:142
::onem2m::eventNotificationCriteria eventNotificationCriteria_type
Element type.
Definition: CDT-subscription.hxx:905
::xsd::cxx::tree::severity severity
Error severity.
Definition: CDT-accessControlPolicy.hxx:516
::xml_schema::positive_integer expirationCounter_type
Element type.
Definition: CDT-subscription.hxx:981
Generated from CDT-commonTypes-v3_2_0.xsd.
::xsd::cxx::tree::content_order content_order
Content order sequence entry.
Definition: CDT-accessControlPolicy.hxx:463
C++ namespace for the http://www.w3.org/2001/XMLSchema schema namespace.
Definition: CDT-accessControlPolicy.hxx:112
::xsd::cxx::tree::string< char, simple_type > string
C++ type corresponding to the string XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:272
Class corresponding to the regularResource schema type.
Definition: CDT-commonTypes.hxx:7307
::xsd::cxx::tree::list_stream< char > list_stream
List serialization stream.
Definition: CDT-accessControlPolicy.hxx:480
unsigned int unsigned_int
C++ type corresponding to the unsignedInt XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:180
::xsd::cxx::tree::gday< char, simple_type > gday
C++ type corresponding to the gDay XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:410
::xsd::cxx::tree::entities< char, simple_type, entity > entities
C++ type corresponding to the ENTITIES XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:456
unsigned char unsigned_byte
C++ type corresponding to the unsignedByte XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:148
::xsd::cxx::tree::traits< eventNotificationCriteria_type, char > eventNotificationCriteria_traits
Element traits type.
Definition: CDT-subscription.hxx:915
Class corresponding to the notificationURI schema type.
Definition: CDT-commonTypes.hxx:11184
::xsd::cxx::tree::date_time< char, simple_type > date_time
C++ type corresponding to the dateTime XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:398
Enumeration class corresponding to the notificationEventType schema type.
Definition: CDT-enumerationTypes.hxx:1335
::xsd::cxx::tree::gyear_month< char, simple_type > gyear_month
C++ type corresponding to the gYearMonth XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:434
::xsd::cxx::tree::type container
Alias for the anyType type.
Definition: CDT-accessControlPolicy.hxx:132
::xsd::cxx::tree::idref< char, ncname, type > idref
C++ type corresponding to the IDREF XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:330
::xsd::cxx::tree::error< char > error
Error condition.
Definition: CDT-accessControlPolicy.hxx:521
::xsd::cxx::tree::nmtoken< char, token > nmtoken
C++ type corresponding to the NMTOKEN XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:296
::xsd::cxx::tree::idrefs< char, simple_type, idref > idrefs
C++ type corresponding to the IDREFS XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:336
::xsd::cxx::tree::qname< char, simple_type, uri, ncname > qname
C++ type corresponding to the QName XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:356
::xsd::cxx::tree::traits< groupID_type, char > groupID_traits
Element traits type.
Definition: CDT-subscription.hxx:1132
Class corresponding to the listOfURIs schema type.
Definition: CDT-commonTypes.hxx:3794
long long integer
C++ type corresponding to the integer XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:206
::xsd::cxx::tree::token< char, normalized_string > token
C++ type corresponding to the token XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:284
::xsd::cxx::tree::as_double< double_ > as_double
Serialization wrapper for the double type.
Definition: CDT-accessControlPolicy.hxx:485
::xsd::cxx::tree::optional< notificationForwardingURI_type > notificationForwardingURI_optional
Element optional container type.
Definition: CDT-subscription.hxx:1203
::xsd::cxx::tree::traits< creator_type, char > creator_traits
Element traits type.
Definition: CDT-subscription.hxx:839
unsigned short unsigned_short
C++ type corresponding to the unsignedShort XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:164
double decimal
C++ type corresponding to the decimal XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:262
::xsd::cxx::tree::optional< groupID_type > groupID_optional
Element optional container type.
Definition: CDT-subscription.hxx:1127