OS-IoT
CDT-notification.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_NOTIFICATION_HXX
40 #define XSD_V3_2_0_ED_CDT_NOTIFICATION_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 notificationBase;
624  class notification;
625  class notificationEvent;
626  class operationMonitor;
627 }
628 
629 
630 #include <memory> // ::std::unique_ptr
631 #include <limits> // std::numeric_limits
632 #include <algorithm> // std::binary_search
633 #include <utility> // std::move
634 
635 #include <xsd/cxx/xml/char-utf8.hxx>
636 
637 #include <xsd/cxx/tree/exceptions.hxx>
638 #include <xsd/cxx/tree/elements.hxx>
639 #include <xsd/cxx/tree/containers.hxx>
640 #include <xsd/cxx/tree/list.hxx>
641 
642 #include <xsd/cxx/xml/dom/parsing-header.hxx>
643 
644 #include <xsd/cxx/tree/containers-wildcard.hxx>
645 
646 #include "CDT-commonTypes.hxx"
647 
652 namespace onem2m
653 {
660  {
661  public:
669 
673  typedef ::onem2m::notificationEvent notificationEvent_type;
674 
678  typedef ::xsd::cxx::tree::optional< notificationEvent_type > notificationEvent_optional;
679 
683  typedef ::xsd::cxx::tree::traits< notificationEvent_type, char > notificationEvent_traits;
684 
691  const notificationEvent_optional&
692  notificationEvent () const;
693 
699  notificationEvent_optional&
701 
710  void
711  notificationEvent (const notificationEvent_type& x);
712 
722  void
723  notificationEvent (const notificationEvent_optional& x);
724 
733  void
734  notificationEvent (::std::unique_ptr< notificationEvent_type > p);
735 
737 
745 
750 
754  typedef ::xsd::cxx::tree::optional< verificationRequest_type > verificationRequest_optional;
755 
759  typedef ::xsd::cxx::tree::traits< verificationRequest_type, char > verificationRequest_traits;
760 
767  const verificationRequest_optional&
768  verificationRequest () const;
769 
775  verificationRequest_optional&
776  verificationRequest ();
777 
786  void
787  verificationRequest (const verificationRequest_type& x);
788 
798  void
799  verificationRequest (const verificationRequest_optional& x);
800 
802 
810 
815 
819  typedef ::xsd::cxx::tree::optional< subscriptionDeletion_type > subscriptionDeletion_optional;
820 
824  typedef ::xsd::cxx::tree::traits< subscriptionDeletion_type, char > subscriptionDeletion_traits;
825 
832  const subscriptionDeletion_optional&
833  subscriptionDeletion () const;
834 
840  subscriptionDeletion_optional&
841  subscriptionDeletion ();
842 
851  void
852  subscriptionDeletion (const subscriptionDeletion_type& x);
853 
863  void
864  subscriptionDeletion (const subscriptionDeletion_optional& x);
865 
867 
875 
880 
884  typedef ::xsd::cxx::tree::optional< subscriptionReference_type > subscriptionReference_optional;
885 
889  typedef ::xsd::cxx::tree::traits< subscriptionReference_type, char > subscriptionReference_traits;
890 
897  const subscriptionReference_optional&
898  subscriptionReference () const;
899 
905  subscriptionReference_optional&
906  subscriptionReference ();
907 
916  void
917  subscriptionReference (const subscriptionReference_type& x);
918 
928  void
929  subscriptionReference (const subscriptionReference_optional& x);
930 
939  void
940  subscriptionReference (::std::unique_ptr< subscriptionReference_type > p);
941 
943 
951 
955  typedef ::onem2m::ID creator_type;
956 
960  typedef ::xsd::cxx::tree::optional< creator_type > creator_optional;
961 
965  typedef ::xsd::cxx::tree::traits< creator_type, char > creator_traits;
966 
973  const creator_optional&
974  creator () const;
975 
981  creator_optional&
982  creator ();
983 
992  void
993  creator (const creator_type& x);
994 
1004  void
1005  creator (const creator_optional& x);
1006 
1015  void
1016  creator (::std::unique_ptr< creator_type > p);
1017 
1019 
1027 
1032 
1036  typedef ::xsd::cxx::tree::optional< notificationForwardingURI_type > notificationForwardingURI_optional;
1037 
1041  typedef ::xsd::cxx::tree::traits< notificationForwardingURI_type, char > notificationForwardingURI_traits;
1042 
1049  const notificationForwardingURI_optional&
1050  notificationForwardingURI () const;
1051 
1057  notificationForwardingURI_optional&
1058  notificationForwardingURI ();
1059 
1068  void
1069  notificationForwardingURI (const notificationForwardingURI_type& x);
1070 
1080  void
1081  notificationForwardingURI (const notificationForwardingURI_optional& x);
1082 
1091  void
1092  notificationForwardingURI (::std::unique_ptr< notificationForwardingURI_type > p);
1093 
1095 
1100 
1105  notificationBase ();
1106 
1115  notificationBase (const ::xercesc::DOMElement& e,
1116  ::xml_schema::flags f = 0,
1117  ::xml_schema::container* c = 0);
1118 
1129  ::xml_schema::flags f = 0,
1130  ::xml_schema::container* c = 0);
1131 
1143  virtual notificationBase*
1144  _clone (::xml_schema::flags f = 0,
1145  ::xml_schema::container* c = 0) const;
1146 
1156  operator= (const notificationBase& x);
1157 
1159 
1163  virtual
1164  ~notificationBase ();
1165 
1166  // Implementation.
1167  //
1168 
1169  //@cond
1170 
1171  protected:
1172  void
1173  parse (::xsd::cxx::xml::dom::parser< char >&,
1174  ::xml_schema::flags);
1175 
1176  protected:
1177  notificationEvent_optional notificationEvent_;
1178  verificationRequest_optional verificationRequest_;
1179  subscriptionDeletion_optional subscriptionDeletion_;
1180  subscriptionReference_optional subscriptionReference_;
1181  creator_optional creator_;
1182  notificationForwardingURI_optional notificationForwardingURI_;
1183 
1184  //@endcond
1185  };
1186 
1193  {
1194  public:
1202 
1207 
1211  typedef ::xsd::cxx::tree::optional< representation_type > representation_optional;
1212 
1216  typedef ::xsd::cxx::tree::traits< representation_type, char > representation_traits;
1217 
1224  const representation_optional&
1225  representation () const;
1226 
1232  representation_optional&
1233  representation ();
1234 
1243  void
1244  representation (const representation_type& x);
1245 
1255  void
1256  representation (const representation_optional& x);
1257 
1266  void
1267  representation (::std::unique_ptr< representation_type > p);
1268 
1270 
1278 
1282  typedef ::onem2m::operationMonitor operationMonitor_type;
1283 
1287  typedef ::xsd::cxx::tree::optional< operationMonitor_type > operationMonitor_optional;
1288 
1292  typedef ::xsd::cxx::tree::traits< operationMonitor_type, char > operationMonitor_traits;
1293 
1300  const operationMonitor_optional&
1301  operationMonitor () const;
1302 
1308  operationMonitor_optional&
1309  operationMonitor ();
1310 
1319  void
1320  operationMonitor (const operationMonitor_type& x);
1321 
1331  void
1332  operationMonitor (const operationMonitor_optional& x);
1333 
1342  void
1343  operationMonitor (::std::unique_ptr< operationMonitor_type > p);
1344 
1346 
1354 
1358  typedef ::onem2m::notificationEventType notificationEventType_type;
1359 
1363  typedef ::xsd::cxx::tree::optional< notificationEventType_type > notificationEventType_optional;
1364 
1368  typedef ::xsd::cxx::tree::traits< notificationEventType_type, char > notificationEventType_traits;
1369 
1376  const notificationEventType_optional&
1377  notificationEventType () const;
1378 
1384  notificationEventType_optional&
1386 
1395  void
1396  notificationEventType (const notificationEventType_type& x);
1397 
1407  void
1408  notificationEventType (const notificationEventType_optional& x);
1409 
1418  void
1419  notificationEventType (::std::unique_ptr< notificationEventType_type > p);
1420 
1422 
1427 
1432  notificationEvent ();
1433 
1442  notificationEvent (const ::xercesc::DOMElement& e,
1443  ::xml_schema::flags f = 0,
1444  ::xml_schema::container* c = 0);
1445 
1456  ::xml_schema::flags f = 0,
1457  ::xml_schema::container* c = 0);
1458 
1470  virtual notificationEvent*
1471  _clone (::xml_schema::flags f = 0,
1472  ::xml_schema::container* c = 0) const;
1473 
1483  operator= (const notificationEvent& x);
1484 
1486 
1490  virtual
1491  ~notificationEvent ();
1492 
1493  // Implementation.
1494  //
1495 
1496  //@cond
1497 
1498  protected:
1499  void
1500  parse (::xsd::cxx::xml::dom::parser< char >&,
1501  ::xml_schema::flags);
1502 
1503  protected:
1504  representation_optional representation_;
1505  operationMonitor_optional operationMonitor_;
1506  notificationEventType_optional notificationEventType_;
1507 
1508  //@endcond
1509  };
1510 
1517  {
1518  public:
1526 
1530  typedef ::onem2m::operation operation_type;
1531 
1535  typedef ::xsd::cxx::tree::optional< operation_type > operation_optional;
1536 
1540  typedef ::xsd::cxx::tree::traits< operation_type, char > operation_traits;
1541 
1548  const operation_optional&
1549  operation () const;
1550 
1556  operation_optional&
1557  operation ();
1558 
1567  void
1568  operation (const operation_type& x);
1569 
1579  void
1580  operation (const operation_optional& x);
1581 
1590  void
1591  operation (::std::unique_ptr< operation_type > p);
1592 
1594 
1602 
1606  typedef ::onem2m::ID originator_type;
1607 
1611  typedef ::xsd::cxx::tree::optional< originator_type > originator_optional;
1612 
1616  typedef ::xsd::cxx::tree::traits< originator_type, char > originator_traits;
1617 
1624  const originator_optional&
1625  originator () const;
1626 
1632  originator_optional&
1633  originator ();
1634 
1643  void
1644  originator (const originator_type& x);
1645 
1655  void
1656  originator (const originator_optional& x);
1657 
1666  void
1667  originator (::std::unique_ptr< originator_type > p);
1668 
1670 
1675 
1680  operationMonitor ();
1681 
1690  operationMonitor (const ::xercesc::DOMElement& e,
1691  ::xml_schema::flags f = 0,
1692  ::xml_schema::container* c = 0);
1693 
1704  ::xml_schema::flags f = 0,
1705  ::xml_schema::container* c = 0);
1706 
1718  virtual operationMonitor*
1719  _clone (::xml_schema::flags f = 0,
1720  ::xml_schema::container* c = 0) const;
1721 
1731  operator= (const operationMonitor& x);
1732 
1734 
1738  virtual
1739  ~operationMonitor ();
1740 
1741  // Implementation.
1742  //
1743 
1744  //@cond
1745 
1746  protected:
1747  void
1748  parse (::xsd::cxx::xml::dom::parser< char >&,
1749  ::xml_schema::flags);
1750 
1751  protected:
1752  operation_optional operation_;
1753  originator_optional originator_;
1754 
1755  //@endcond
1756  };
1757 }
1758 
1759 #include <iosfwd>
1760 
1761 namespace onem2m
1762 {
1763  ::std::ostream&
1764  operator<< (::std::ostream&, const notificationBase&);
1765 
1766  ::std::ostream&
1767  operator<< (::std::ostream&, const notificationEvent&);
1768 
1769  ::std::ostream&
1770  operator<< (::std::ostream&, const operationMonitor&);
1771 }
1772 
1773 #include <iosfwd>
1774 
1775 #include <xercesc/sax/InputSource.hpp>
1776 #include <xercesc/dom/DOMDocument.hpp>
1777 #include <xercesc/dom/DOMErrorHandler.hpp>
1778 
1779 namespace onem2m
1780 {
1785 
1796  ::std::unique_ptr< ::onem2m::notification >
1797  notification_ (const ::std::string& uri,
1798  ::xml_schema::flags f = 0,
1800 
1812  ::std::unique_ptr< ::onem2m::notification >
1813  notification_ (const ::std::string& uri,
1815  ::xml_schema::flags f = 0,
1817 
1830  ::std::unique_ptr< ::onem2m::notification >
1831  notification_ (const ::std::string& uri,
1832  ::xercesc::DOMErrorHandler& eh,
1833  ::xml_schema::flags f = 0,
1835 
1846  ::std::unique_ptr< ::onem2m::notification >
1847  notification_ (::std::istream& is,
1848  ::xml_schema::flags f = 0,
1850 
1862  ::std::unique_ptr< ::onem2m::notification >
1863  notification_ (::std::istream& is,
1865  ::xml_schema::flags f = 0,
1867 
1880  ::std::unique_ptr< ::onem2m::notification >
1881  notification_ (::std::istream& is,
1882  ::xercesc::DOMErrorHandler& eh,
1883  ::xml_schema::flags f = 0,
1885 
1900  ::std::unique_ptr< ::onem2m::notification >
1901  notification_ (::std::istream& is,
1902  const ::std::string& id,
1903  ::xml_schema::flags f = 0,
1905 
1922  ::std::unique_ptr< ::onem2m::notification >
1923  notification_ (::std::istream& is,
1924  const ::std::string& id,
1926  ::xml_schema::flags f = 0,
1928 
1945  ::std::unique_ptr< ::onem2m::notification >
1946  notification_ (::std::istream& is,
1947  const ::std::string& id,
1948  ::xercesc::DOMErrorHandler& eh,
1949  ::xml_schema::flags f = 0,
1951 
1962  ::std::unique_ptr< ::onem2m::notification >
1963  notification_ (::xercesc::InputSource& is,
1964  ::xml_schema::flags f = 0,
1966 
1978  ::std::unique_ptr< ::onem2m::notification >
1979  notification_ (::xercesc::InputSource& is,
1981  ::xml_schema::flags f = 0,
1983 
1996  ::std::unique_ptr< ::onem2m::notification >
1997  notification_ (::xercesc::InputSource& is,
1998  ::xercesc::DOMErrorHandler& eh,
1999  ::xml_schema::flags f = 0,
2001 
2010  ::std::unique_ptr< ::onem2m::notification >
2011  notification_ (const ::xercesc::DOMDocument& d,
2012  ::xml_schema::flags f = 0,
2014 
2027  ::std::unique_ptr< ::onem2m::notification >
2028  notification_ (::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d,
2029  ::xml_schema::flags f = 0,
2031 
2033 }
2034 
2035 #include <iosfwd>
2036 
2037 #include <xercesc/dom/DOMDocument.hpp>
2038 #include <xercesc/dom/DOMErrorHandler.hpp>
2039 #include <xercesc/framework/XMLFormatter.hpp>
2040 
2041 #include <xsd/cxx/xml/dom/auto-ptr.hxx>
2042 
2043 namespace onem2m
2044 {
2049 
2061  void
2062  notification_ (::std::ostream& os,
2063  const ::onem2m::notification& x,
2065  const ::std::string& e = "UTF-8",
2066  ::xml_schema::flags f = 0);
2067 
2081  void
2082  notification_ (::std::ostream& os,
2083  const ::onem2m::notification& x,
2086  const ::std::string& e = "UTF-8",
2087  ::xml_schema::flags f = 0);
2088 
2103  void
2104  notification_ (::std::ostream& os,
2105  const ::onem2m::notification& x,
2106  ::xercesc::DOMErrorHandler& eh,
2108  const ::std::string& e = "UTF-8",
2109  ::xml_schema::flags f = 0);
2110 
2122  void
2123  notification_ (::xercesc::XMLFormatTarget& ft,
2124  const ::onem2m::notification& x,
2126  const ::std::string& e = "UTF-8",
2127  ::xml_schema::flags f = 0);
2128 
2143  void
2144  notification_ (::xercesc::XMLFormatTarget& ft,
2145  const ::onem2m::notification& x,
2148  const ::std::string& e = "UTF-8",
2149  ::xml_schema::flags f = 0);
2150 
2165  void
2166  notification_ (::xercesc::XMLFormatTarget& ft,
2167  const ::onem2m::notification& x,
2168  ::xercesc::DOMErrorHandler& eh,
2170  const ::std::string& e = "UTF-8",
2171  ::xml_schema::flags f = 0);
2172 
2184  void
2185  notification_ (::xercesc::DOMDocument& d,
2186  const ::onem2m::notification& x,
2187  ::xml_schema::flags f = 0);
2188 
2197  ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument >
2198  notification_ (const ::onem2m::notification& x,
2200  ::xml_schema::flags f = 0);
2201 
2203 
2204  void
2205  operator<< (::xercesc::DOMElement&, const notificationBase&);
2206 
2207  void
2208  operator<< (::xercesc::DOMElement&, const notificationEvent&);
2209 
2210  void
2211  operator<< (::xercesc::DOMElement&, const operationMonitor&);
2212 }
2213 
2214 #include <xsd/cxx/post.hxx>
2215 
2216 // Begin epilogue.
2217 //
2218 #include "../CDT-notification-custom.hxx"
2219 //
2220 // End epilogue.
2221 
2222 #endif // XSD_V3_2_0_ED_CDT_NOTIFICATION_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
::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
::xml_schema::uri notificationForwardingURI_type
Element type.
Definition: CDT-notification.hxx:1031
::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::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::optional< notificationEvent_type > notificationEvent_optional
Element optional container type.
Definition: CDT-notification.hxx:678
::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
::onem2m::ID originator_type
Element type.
Definition: CDT-notification.hxx:1606
::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
Class corresponding to the notification schema type.
Definition: CDT-notification.hxx:659
::xsd::cxx::tree::traits< notificationEvent_type, char > notificationEvent_traits
Element traits type.
Definition: CDT-notification.hxx:683
::xsd::cxx::tree::optional< operationMonitor_type > operationMonitor_optional
Element optional container type.
Definition: CDT-notification.hxx:1287
::xsd::cxx::tree::traits< operation_type, char > operation_traits
Element traits type.
Definition: CDT-notification.hxx:1540
::xsd::cxx::tree::traits< operationMonitor_type, char > operationMonitor_traits
Element traits type.
Definition: CDT-notification.hxx:1292
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
::xsd::cxx::tree::optional< subscriptionDeletion_type > subscriptionDeletion_optional
Element optional container type.
Definition: CDT-notification.hxx:819
Class corresponding to the operationMonitor schema type.
Definition: CDT-notification.hxx:1516
::xsd::cxx::tree::diagnostics< char > diagnostics
List of error conditions.
Definition: CDT-accessControlPolicy.hxx:526
::xsd::cxx::tree::traits< notificationEventType_type, char > notificationEventType_traits
Element traits type.
Definition: CDT-notification.hxx:1368
::xsd::cxx::tree::time_zone time_zone
Time zone type.
Definition: CDT-accessControlPolicy.hxx:386
::onem2m::operation operation_type
Element type.
Definition: CDT-notification.hxx:1530
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
unsigned long long positive_integer
C++ type corresponding to the positiveInteger XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:224
::xml_schema::type representation_type
Element type.
Definition: CDT-notification.hxx:1206
::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::boolean subscriptionDeletion_type
Element type.
Definition: CDT-notification.hxx:814
::xsd::cxx::tree::as_decimal< decimal > as_decimal
Serialization wrapper for the decimal type.
Definition: CDT-accessControlPolicy.hxx:490
::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::unexpected_element< char > unexpected_element
Exception indicating that an unexpected element was encountered.
Definition: CDT-accessControlPolicy.hxx:563
::xsd::cxx::tree::optional< operation_type > operation_optional
Element optional container type.
Definition: CDT-notification.hxx:1535
::onem2m::operationMonitor operationMonitor_type
Element type.
Definition: CDT-notification.hxx:1282
::onem2m::notificationEvent notificationEvent_type
Element type.
Definition: CDT-notification.hxx:673
unsigned long long unsigned_long
C++ type corresponding to the unsignedLong XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:196
::xsd::cxx::tree::traits< creator_type, char > creator_traits
Element traits type.
Definition: CDT-notification.hxx:965
::xsd::cxx::tree::time< char, simple_type > time
C++ type corresponding to the time XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:440
::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
::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::base64_binary< char, simple_type > base64_binary
C++ type corresponding to the base64Binary XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:371
::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::ncname< char, name > ncname
C++ type corresponding to the NCName XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:308
::xsd::cxx::tree::traits< originator_type, char > originator_traits
Element traits type.
Definition: CDT-notification.hxx:1616
::xsd::cxx::tree::optional< creator_type > creator_optional
Element optional container type.
Definition: CDT-notification.hxx:960
::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< verificationRequest_type, char > verificationRequest_traits
Element traits type.
Definition: CDT-notification.hxx:759
::xsd::cxx::tree::gyear< char, simple_type > gyear
C++ type corresponding to the gYear XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:428
::xml_schema::uri subscriptionReference_type
Element type.
Definition: CDT-notification.hxx:879
Class corresponding to the notificationEvent schema type.
Definition: CDT-notification.hxx:1192
::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
::xsd::cxx::tree::traits< subscriptionReference_type, char > subscriptionReference_traits
Element traits type.
Definition: CDT-notification.hxx:889
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
::xsd::cxx::tree::traits< notificationForwardingURI_type, char > notificationForwardingURI_traits
Element traits type.
Definition: CDT-notification.hxx:1041
::xsd::cxx::tree::optional< notificationEventType_type > notificationEventType_optional
Element optional container type.
Definition: CDT-notification.hxx:1363
::onem2m::notificationEventType notificationEventType_type
Element type.
Definition: CDT-notification.hxx:1358
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
::xsd::cxx::tree::severity severity
Error severity.
Definition: CDT-accessControlPolicy.hxx:516
::xsd::cxx::tree::optional< originator_type > originator_optional
Element optional container type.
Definition: CDT-notification.hxx:1611
::xsd::cxx::tree::traits< representation_type, char > representation_traits
Element traits type.
Definition: CDT-notification.hxx:1216
Generated from CDT-commonTypes-v3_2_0.xsd.
::xsd::cxx::tree::content_order content_order
Content order sequence entry.
Definition: CDT-accessControlPolicy.hxx:463
::xsd::cxx::tree::traits< subscriptionDeletion_type, char > subscriptionDeletion_traits
Element traits type.
Definition: CDT-notification.hxx:824
C++ namespace for the http://www.w3.org/2001/XMLSchema schema namespace.
Definition: CDT-accessControlPolicy.hxx:112
::xsd::cxx::tree::optional< verificationRequest_type > verificationRequest_optional
Element optional container type.
Definition: CDT-notification.hxx:754
::xsd::cxx::tree::string< char, simple_type > string
C++ type corresponding to the string XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:272
::xsd::cxx::tree::optional< subscriptionReference_type > subscriptionReference_optional
Element optional container type.
Definition: CDT-notification.hxx:884
::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::date_time< char, simple_type > date_time
C++ type corresponding to the dateTime XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:398
::xml_schema::boolean verificationRequest_type
Element type.
Definition: CDT-notification.hxx:749
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
Enumeration class corresponding to the operation schema type.
Definition: CDT-enumerationTypes.hxx:1000
::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
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-notification.hxx:1036
::onem2m::ID creator_type
Element type.
Definition: CDT-notification.hxx:955
unsigned short unsigned_short
C++ type corresponding to the unsignedShort XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:164
::xsd::cxx::tree::optional< representation_type > representation_optional
Element optional container type.
Definition: CDT-notification.hxx:1211
double decimal
C++ type corresponding to the decimal XML Schema built-in type.
Definition: CDT-accessControlPolicy.hxx:262