|
C++/Tree Mapping Hello World Example
|
Generated from hello.xsd. More...
Go to the source code of this file.
Classes | |
| class | hello_t |
| Class corresponding to the hello_t schema type. More... | |
Namespaces | |
| namespace | xml_schema |
| C++ namespace for the http://www.w3.org/2001/XMLSchema schema namespace. | |
| namespace | xml_schema::dom |
| DOM interaction. | |
Typedefs | |
| typedef ::xsd::cxx::tree::type | xml_schema::type |
| C++ type corresponding to the anyType XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::simple_type< char, type > | xml_schema::simple_type |
| C++ type corresponding to the anySimpleType XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::type | xml_schema::container |
| Alias for the anyType type. | |
| typedef signed char | xml_schema::byte |
| C++ type corresponding to the byte XML Schema built-in type. | |
| typedef unsigned char | xml_schema::unsigned_byte |
| C++ type corresponding to the unsignedByte XML Schema built-in type. | |
| typedef short | xml_schema::short_ |
| C++ type corresponding to the short XML Schema built-in type. | |
| typedef unsigned short | xml_schema::unsigned_short |
| C++ type corresponding to the unsignedShort XML Schema built-in type. | |
| typedef int | xml_schema::int_ |
| C++ type corresponding to the int XML Schema built-in type. | |
| typedef unsigned int | xml_schema::unsigned_int |
| C++ type corresponding to the unsignedInt XML Schema built-in type. | |
| typedef long long | xml_schema::long_ |
| C++ type corresponding to the long XML Schema built-in type. | |
| typedef unsigned long long | xml_schema::unsigned_long |
| C++ type corresponding to the unsignedLong XML Schema built-in type. | |
| typedef long long | xml_schema::integer |
| C++ type corresponding to the integer XML Schema built-in type. | |
| typedef long long | xml_schema::non_positive_integer |
| C++ type corresponding to the nonPositiveInteger XML Schema built-in type. | |
| typedef unsigned long long | xml_schema::non_negative_integer |
| C++ type corresponding to the nonNegativeInteger XML Schema built-in type. | |
| typedef unsigned long long | xml_schema::positive_integer |
| C++ type corresponding to the positiveInteger XML Schema built-in type. | |
| typedef long long | xml_schema::negative_integer |
| C++ type corresponding to the negativeInteger XML Schema built-in type. | |
| typedef bool | xml_schema::boolean |
| C++ type corresponding to the boolean XML Schema built-in type. | |
| typedef float | xml_schema::float_ |
| C++ type corresponding to the float XML Schema built-in type. | |
| typedef double | xml_schema::double_ |
| C++ type corresponding to the double XML Schema built-in type. | |
| typedef double | xml_schema::decimal |
| C++ type corresponding to the decimal XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::string< char, simple_type > | xml_schema::string |
| C++ type corresponding to the string XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::normalized_string< char, string > | xml_schema::normalized_string |
| C++ type corresponding to the normalizedString XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::token< char, normalized_string > | xml_schema::token |
| C++ type corresponding to the token XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::name< char, token > | xml_schema::name |
| C++ type corresponding to the Name XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::nmtoken< char, token > | xml_schema::nmtoken |
| C++ type corresponding to the NMTOKEN XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::nmtokens< char, simple_type, nmtoken > | xml_schema::nmtokens |
| C++ type corresponding to the NMTOKENS XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::ncname< char, name > | xml_schema::ncname |
| C++ type corresponding to the NCName XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::language< char, token > | xml_schema::language |
| C++ type corresponding to the language XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::id< char, ncname > | xml_schema::id |
| C++ type corresponding to the ID XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::idref< char, ncname, type > | xml_schema::idref |
| C++ type corresponding to the IDREF XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::idrefs< char, simple_type, idref > | xml_schema::idrefs |
| C++ type corresponding to the IDREFS XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::uri< char, simple_type > | xml_schema::uri |
| C++ type corresponding to the anyURI XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::qname< char, simple_type, uri, ncname > | xml_schema::qname |
| C++ type corresponding to the QName XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::buffer< char > | xml_schema::buffer |
| Binary buffer type. | |
| typedef ::xsd::cxx::tree::base64_binary< char, simple_type > | xml_schema::base64_binary |
| C++ type corresponding to the base64Binary XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::hex_binary< char, simple_type > | xml_schema::hex_binary |
| C++ type corresponding to the hexBinary XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::time_zone | xml_schema::time_zone |
| Time zone type. | |
| typedef ::xsd::cxx::tree::date< char, simple_type > | xml_schema::date |
| C++ type corresponding to the date XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::date_time< char, simple_type > | xml_schema::date_time |
| C++ type corresponding to the dateTime XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::duration< char, simple_type > | xml_schema::duration |
| C++ type corresponding to the duration XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::gday< char, simple_type > | xml_schema::gday |
| C++ type corresponding to the gDay XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::gmonth< char, simple_type > | xml_schema::gmonth |
| C++ type corresponding to the gMonth XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::gmonth_day< char, simple_type > | xml_schema::gmonth_day |
| C++ type corresponding to the gMonthDay XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::gyear< char, simple_type > | xml_schema::gyear |
| C++ type corresponding to the gYear XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::gyear_month< char, simple_type > | xml_schema::gyear_month |
| C++ type corresponding to the gYearMonth XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::time< char, simple_type > | xml_schema::time |
| C++ type corresponding to the time XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::entity< char, ncname > | xml_schema::entity |
| C++ type corresponding to the ENTITY XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::entities< char, simple_type, entity > | xml_schema::entities |
| C++ type corresponding to the ENTITIES XML Schema built-in type. | |
| typedef ::xsd::cxx::tree::content_order | xml_schema::content_order |
| Content order sequence entry. | |
| typedef ::xsd::cxx::tree::flags | xml_schema::flags |
| Parsing and serialization flags. | |
| typedef ::xsd::cxx::tree::properties< char > | xml_schema::properties |
| Parsing properties. | |
| typedef ::xsd::cxx::tree::severity | xml_schema::severity |
| Error severity. | |
| typedef ::xsd::cxx::tree::error< char > | xml_schema::error |
| Error condition. | |
| typedef ::xsd::cxx::tree::diagnostics< char > | xml_schema::diagnostics |
| List of error conditions. | |
| typedef ::xsd::cxx::tree::exception< char > | xml_schema::exception |
| Root of the C++/Tree exception hierarchy. | |
| typedef ::xsd::cxx::tree::bounds< char > | xml_schema::bounds |
| Exception indicating that the size argument exceeds the capacity argument. | |
| typedef ::xsd::cxx::tree::duplicate_id< char > | xml_schema::duplicate_id |
| Exception indicating that a duplicate ID value was encountered in the object model. | |
| typedef ::xsd::cxx::tree::parsing< char > | xml_schema::parsing |
| Exception indicating a parsing failure. | |
| typedef ::xsd::cxx::tree::expected_element< char > | xml_schema::expected_element |
| Exception indicating that an expected element was not encountered. | |
| typedef ::xsd::cxx::tree::unexpected_element< char > | xml_schema::unexpected_element |
| Exception indicating that an unexpected element was encountered. | |
| typedef ::xsd::cxx::tree::expected_attribute< char > | xml_schema::expected_attribute |
| Exception indicating that an expected attribute was not encountered. | |
| typedef ::xsd::cxx::tree::unexpected_enumerator< char > | xml_schema::unexpected_enumerator |
| Exception indicating that an unexpected enumerator was encountered. | |
| typedef ::xsd::cxx::tree::expected_text_content< char > | xml_schema::expected_text_content |
| Exception indicating that the text content was expected for an element. | |
| typedef ::xsd::cxx::tree::no_prefix_mapping< char > | xml_schema::no_prefix_mapping |
| Exception indicating that a prefix-namespace mapping was not provided. | |
| typedef ::xsd::cxx::xml::error_handler< char > | xml_schema::error_handler |
| Error handler callback interface. | |
Functions | |
Parsing functions for the hello document root. | |
The hello element is a root of the Hello XML vocabulary. Every conforming document should start with this element. | |
| ::std::unique_ptr< ::hello_t > | hello (const ::std::string &uri, ::xml_schema::flags f=0, const ::xml_schema::properties &p=::xml_schema::properties()) |
| Parse a URI or a local file. | |
| ::std::unique_ptr< ::hello_t > | hello (const ::std::string &uri, ::xml_schema::error_handler &eh, ::xml_schema::flags f=0, const ::xml_schema::properties &p=::xml_schema::properties()) |
| Parse a URI or a local file with an error handler. | |
| ::std::unique_ptr< ::hello_t > | hello (const ::std::string &uri, ::xercesc::DOMErrorHandler &eh, ::xml_schema::flags f=0, const ::xml_schema::properties &p=::xml_schema::properties()) |
| Parse a URI or a local file with a Xerces-C++ DOM error handler. | |
| ::std::unique_ptr< ::hello_t > | hello (::std::istream &is, ::xml_schema::flags f=0, const ::xml_schema::properties &p=::xml_schema::properties()) |
| Parse a standard input stream. | |
| ::std::unique_ptr< ::hello_t > | hello (::std::istream &is, ::xml_schema::error_handler &eh, ::xml_schema::flags f=0, const ::xml_schema::properties &p=::xml_schema::properties()) |
| Parse a standard input stream with an error handler. | |
| ::std::unique_ptr< ::hello_t > | hello (::std::istream &is, ::xercesc::DOMErrorHandler &eh, ::xml_schema::flags f=0, const ::xml_schema::properties &p=::xml_schema::properties()) |
| Parse a standard input stream with a Xerces-C++ DOM error handler. | |
| ::std::unique_ptr< ::hello_t > | hello (::std::istream &is, const ::std::string &id, ::xml_schema::flags f=0, const ::xml_schema::properties &p=::xml_schema::properties()) |
| Parse a standard input stream with a resource id. | |
| ::std::unique_ptr< ::hello_t > | hello (::std::istream &is, const ::std::string &id, ::xml_schema::error_handler &eh, ::xml_schema::flags f=0, const ::xml_schema::properties &p=::xml_schema::properties()) |
| Parse a standard input stream with a resource id and an error handler. | |
| ::std::unique_ptr< ::hello_t > | hello (::std::istream &is, const ::std::string &id, ::xercesc::DOMErrorHandler &eh, ::xml_schema::flags f=0, const ::xml_schema::properties &p=::xml_schema::properties()) |
| Parse a standard input stream with a resource id and a Xerces-C++ DOM error handler. | |
| ::std::unique_ptr< ::hello_t > | hello (::xercesc::InputSource &is, ::xml_schema::flags f=0, const ::xml_schema::properties &p=::xml_schema::properties()) |
| Parse a Xerces-C++ input source. | |
| ::std::unique_ptr< ::hello_t > | hello (::xercesc::InputSource &is, ::xml_schema::error_handler &eh, ::xml_schema::flags f=0, const ::xml_schema::properties &p=::xml_schema::properties()) |
| Parse a Xerces-C++ input source with an error handler. | |
| ::std::unique_ptr< ::hello_t > | hello (::xercesc::InputSource &is, ::xercesc::DOMErrorHandler &eh, ::xml_schema::flags f=0, const ::xml_schema::properties &p=::xml_schema::properties()) |
| Parse a Xerces-C++ input source with a Xerces-C++ DOM error handler. | |
| ::std::unique_ptr< ::hello_t > | hello (const ::xercesc::DOMDocument &d, ::xml_schema::flags f=0, const ::xml_schema::properties &p=::xml_schema::properties()) |
| Parse a Xerces-C++ DOM document. | |
| ::std::unique_ptr< ::hello_t > | hello (::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f=0, const ::xml_schema::properties &p=::xml_schema::properties()) |
| Parse a Xerces-C++ DOM document. | |
Variables | |
| const XMLCh *const | xml_schema::dom::tree_node_key = ::xsd::cxx::tree::user_data_keys::node |
| DOM user data key for back pointers to tree nodes. | |
Generated from hello.xsd.
| ::std::unique_ptr< ::hello_t > hello | ( | ::std::istream & | is, |
| ::xercesc::DOMErrorHandler & | eh, | ||
| ::xml_schema::flags | f = 0, |
||
| const ::xml_schema::properties & | p = ::xml_schema::properties() |
||
| ) |
Parse a standard input stream with a Xerces-C++ DOM error handler.
| is | A standrad input stream. |
| eh | A Xerces-C++ DOM error handler. |
| f | Parsing flags. |
| p | Parsing properties. |
This function reports parsing errors by calling the error handler.
| ::std::unique_ptr< ::hello_t > hello | ( | ::std::istream & | is, |
| ::xml_schema::error_handler & | eh, | ||
| ::xml_schema::flags | f = 0, |
||
| const ::xml_schema::properties & | p = ::xml_schema::properties() |
||
| ) |
Parse a standard input stream with an error handler.
| is | A standrad input stream. |
| eh | An error handler. |
| f | Parsing flags. |
| p | Parsing properties. |
This function reports parsing errors by calling the error handler.
| ::std::unique_ptr< ::hello_t > hello | ( | ::std::istream & | is, |
| ::xml_schema::flags | f = 0, |
||
| const ::xml_schema::properties & | p = ::xml_schema::properties() |
||
| ) |
Parse a standard input stream.
| is | A standrad input stream. |
| f | Parsing flags. |
| p | Parsing properties. |
This function uses exceptions to report parsing errors.
| ::std::unique_ptr< ::hello_t > hello | ( | ::std::istream & | is, |
| const ::std::string & | id, | ||
| ::xercesc::DOMErrorHandler & | eh, | ||
| ::xml_schema::flags | f = 0, |
||
| const ::xml_schema::properties & | p = ::xml_schema::properties() |
||
| ) |
Parse a standard input stream with a resource id and a Xerces-C++ DOM error handler.
| is | A standrad input stream. |
| id | A resource id. |
| eh | A Xerces-C++ DOM error handler. |
| f | Parsing flags. |
| p | Parsing properties. |
The resource id is used to identify the document being parsed in diagnostics as well as to resolve relative paths.
This function reports parsing errors by calling the error handler.
| ::std::unique_ptr< ::hello_t > hello | ( | ::std::istream & | is, |
| const ::std::string & | id, | ||
| ::xml_schema::error_handler & | eh, | ||
| ::xml_schema::flags | f = 0, |
||
| const ::xml_schema::properties & | p = ::xml_schema::properties() |
||
| ) |
Parse a standard input stream with a resource id and an error handler.
| is | A standrad input stream. |
| id | A resource id. |
| eh | An error handler. |
| f | Parsing flags. |
| p | Parsing properties. |
The resource id is used to identify the document being parsed in diagnostics as well as to resolve relative paths.
This function reports parsing errors by calling the error handler.
| ::std::unique_ptr< ::hello_t > hello | ( | ::std::istream & | is, |
| const ::std::string & | id, | ||
| ::xml_schema::flags | f = 0, |
||
| const ::xml_schema::properties & | p = ::xml_schema::properties() |
||
| ) |
Parse a standard input stream with a resource id.
| is | A standrad input stream. |
| id | A resource id. |
| f | Parsing flags. |
| p | Parsing properties. |
The resource id is used to identify the document being parsed in diagnostics as well as to resolve relative paths.
This function uses exceptions to report parsing errors.
| ::std::unique_ptr< ::hello_t > hello | ( | ::xercesc::InputSource & | is, |
| ::xercesc::DOMErrorHandler & | eh, | ||
| ::xml_schema::flags | f = 0, |
||
| const ::xml_schema::properties & | p = ::xml_schema::properties() |
||
| ) |
Parse a Xerces-C++ input source with a Xerces-C++ DOM error handler.
| is | A Xerces-C++ input source. |
| eh | A Xerces-C++ DOM error handler. |
| f | Parsing flags. |
| p | Parsing properties. |
This function reports parsing errors by calling the error handler.
| ::std::unique_ptr< ::hello_t > hello | ( | ::xercesc::InputSource & | is, |
| ::xml_schema::error_handler & | eh, | ||
| ::xml_schema::flags | f = 0, |
||
| const ::xml_schema::properties & | p = ::xml_schema::properties() |
||
| ) |
Parse a Xerces-C++ input source with an error handler.
| is | A Xerces-C++ input source. |
| eh | An error handler. |
| f | Parsing flags. |
| p | Parsing properties. |
This function reports parsing errors by calling the error handler.
| ::std::unique_ptr< ::hello_t > hello | ( | ::xercesc::InputSource & | is, |
| ::xml_schema::flags | f = 0, |
||
| const ::xml_schema::properties & | p = ::xml_schema::properties() |
||
| ) |
Parse a Xerces-C++ input source.
| is | A Xerces-C++ input source. |
| f | Parsing flags. |
| p | Parsing properties. |
This function uses exceptions to report parsing errors.
| ::std::unique_ptr< ::hello_t > hello | ( | ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > | d, |
| ::xml_schema::flags | f = 0, |
||
| const ::xml_schema::properties & | p = ::xml_schema::properties() |
||
| ) |
Parse a Xerces-C++ DOM document.
| d | A pointer to the Xerces-C++ DOM document. |
| f | Parsing flags. |
| p | Parsing properties. |
This function is normally used together with the keep_dom and own_dom parsing flags to assign ownership of the DOM document to the object model.
| ::std::unique_ptr< ::hello_t > hello | ( | const ::std::string & | uri, |
| ::xercesc::DOMErrorHandler & | eh, | ||
| ::xml_schema::flags | f = 0, |
||
| const ::xml_schema::properties & | p = ::xml_schema::properties() |
||
| ) |
Parse a URI or a local file with a Xerces-C++ DOM error handler.
| uri | A URI or a local file name. |
| eh | A Xerces-C++ DOM error handler. |
| f | Parsing flags. |
| p | Parsing properties. |
This function reports parsing errors by calling the error handler.
| ::std::unique_ptr< ::hello_t > hello | ( | const ::std::string & | uri, |
| ::xml_schema::error_handler & | eh, | ||
| ::xml_schema::flags | f = 0, |
||
| const ::xml_schema::properties & | p = ::xml_schema::properties() |
||
| ) |
Parse a URI or a local file with an error handler.
| uri | A URI or a local file name. |
| eh | An error handler. |
| f | Parsing flags. |
| p | Parsing properties. |
This function reports parsing errors by calling the error handler.
| ::std::unique_ptr< ::hello_t > hello | ( | const ::std::string & | uri, |
| ::xml_schema::flags | f = 0, |
||
| const ::xml_schema::properties & | p = ::xml_schema::properties() |
||
| ) |
Parse a URI or a local file.
| uri | A URI or a local file name. |
| f | Parsing flags. |
| p | Parsing properties. |
This function uses exceptions to report parsing errors.
| ::std::unique_ptr< ::hello_t > hello | ( | const ::xercesc::DOMDocument & | d, |
| ::xml_schema::flags | f = 0, |
||
| const ::xml_schema::properties & | p = ::xml_schema::properties() |
||
| ) |
Parse a Xerces-C++ DOM document.
| d | A Xerces-C++ DOM document. |
| f | Parsing flags. |
| p | Parsing properties. |