From 8bd249e81a6350444fff745febabd6013baea149 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Wed, 20 Sep 2017 17:33:56 +0200 Subject: [PATCH] Xsd generated now uses our own coding style. --- .../local-conference-event-handler.cpp | 59 +- .../remote-conference-event-handler.cpp | 15 +- src/xml/conference-info.cpp | 17850 ++++++++-------- src/xml/conference-info.h | 6864 +++--- src/xml/epilogue.txt | 3 + src/xml/generate.py | 53 +- src/xml/prologue.txt | 4 + src/xml/resource-lists.cpp | 4510 ++-- src/xml/resource-lists.h | 1854 +- src/xml/xml.cpp | 150 +- src/xml/xml.h | 376 +- 11 files changed, 15928 insertions(+), 15810 deletions(-) create mode 100644 src/xml/epilogue.txt create mode 100644 src/xml/prologue.txt diff --git a/src/conference/local-conference-event-handler.cpp b/src/conference/local-conference-event-handler.cpp index d06cf4d9a..2dbd1e306 100644 --- a/src/conference/local-conference-event-handler.cpp +++ b/src/conference/local-conference-event-handler.cpp @@ -20,28 +20,19 @@ #include "conference/participant.h" #include "local-conference-event-handler.h" #include "object/object-p.h" - -#if __clang__ || __GNUC__ >= 4 - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wsuggest-override" -#endif - #include "xml/conference-info.h" -#if __clang__ || __GNUC__ >= 4 - #pragma GCC diagnostic pop -#endif - /* Needs to be included after xml/conference-info.h because of _() macro definition that breaks everything */ #include "private.h" // ============================================================================= using namespace std; -using namespace conference_info; LINPHONE_BEGIN_NAMESPACE +using namespace Xsd::ConferenceInfo; + class LocalConferenceEventHandlerPrivate : public ObjectPrivate { public: void notifyFullState(string notify, LinphoneEvent *lev); @@ -94,15 +85,15 @@ LocalConferenceEventHandler::~LocalConferenceEventHandler() { string LocalConferenceEventHandler::subscribeReceived(LinphoneEvent *lev) { L_D(LocalConferenceEventHandler); string entity = d->conf->getMe()->getAddress().asStringUriOnly(); - Conference_type confInfo = Conference_type(entity); - Users_type users; + ConferenceType confInfo = ConferenceType(entity); + UsersType users; confInfo.setUsers(users); - xml_schema::NamespaceInfomap map; + Xsd::XmlSchema::NamespaceInfomap map; map[""].name = "urn:ietf:params:xml:ns:conference-info"; for (const auto &participant : d->conf->getParticipants()) { - User_type user = User_type(); - User_roles_type roles; + UserType user = UserType(); + UserRolesType roles; user.setRoles(roles); user.setEntity(participant->getAddress().asStringUriOnly()); user.getRoles()->getEntry().push_back(participant->isAdmin() ? "admin" : "participant"); @@ -111,7 +102,7 @@ string LocalConferenceEventHandler::subscribeReceived(LinphoneEvent *lev) { } stringstream notify; - serializeConference_info(notify, confInfo, map); + serializeConferenceInfo(notify, confInfo, map); //d->notifyFullState(notify.str(), lev); return notify.str(); } @@ -119,21 +110,21 @@ string LocalConferenceEventHandler::subscribeReceived(LinphoneEvent *lev) { string LocalConferenceEventHandler::notifyParticipantAdded(const Address &addr) { L_D(LocalConferenceEventHandler); string entity = d->conf->getMe()->getAddress().asStringUriOnly(); - Conference_type confInfo = Conference_type(entity); - Users_type users; + ConferenceType confInfo = ConferenceType(entity); + UsersType users; confInfo.setUsers(users); - User_type user = User_type(); - User_roles_type roles; + UserType user = UserType(); + UserRolesType roles; user.setRoles(roles); user.setEntity(addr.asStringUriOnly()); user.getRoles()->getEntry().push_back("participant"); user.setState("full"); confInfo.getUsers()->getUser().push_back(user); - xml_schema::NamespaceInfomap map; + Xsd::XmlSchema::NamespaceInfomap map; stringstream notify; - serializeConference_info(notify, confInfo, map); + serializeConferenceInfo(notify, confInfo, map); //d->notifyAllExcept(notify.str(), addr); return notify.str(); } @@ -141,18 +132,18 @@ string LocalConferenceEventHandler::notifyParticipantAdded(const Address &addr) string LocalConferenceEventHandler::notifyParticipantRemoved(const Address &addr) { L_D(LocalConferenceEventHandler); string entity = d->conf->getMe()->getAddress().asStringUriOnly(); - Conference_type confInfo = Conference_type(entity); - Users_type users; + ConferenceType confInfo = ConferenceType(entity); + UsersType users; confInfo.setUsers(users); - User_type user = User_type(); + UserType user = UserType(); user.setEntity(addr.asStringUriOnly()); user.setState("deleted"); confInfo.getUsers()->getUser().push_back(user); - xml_schema::NamespaceInfomap map; + Xsd::XmlSchema::NamespaceInfomap map; stringstream notify; - serializeConference_info(notify, confInfo, map); + serializeConferenceInfo(notify, confInfo, map); //d->notifyAllExcept(notify.str(), addr); return notify.str(); } @@ -160,21 +151,21 @@ string LocalConferenceEventHandler::notifyParticipantRemoved(const Address &addr string LocalConferenceEventHandler::notifyParticipantSetAdmin(const Address &addr, bool isAdmin) { L_D(LocalConferenceEventHandler); string entity = d->conf->getMe()->getAddress().asStringUriOnly(); - Conference_type confInfo = Conference_type(entity); - Users_type users; + ConferenceType confInfo = ConferenceType(entity); + UsersType users; confInfo.setUsers(users); - User_type user = User_type(); - User_roles_type roles; + UserType user = UserType(); + UserRolesType roles; user.setRoles(roles); user.setEntity(addr.asStringUriOnly()); user.getRoles()->getEntry().push_back(isAdmin ? "admin" : "participant"); user.setState("partial"); confInfo.getUsers()->getUser().push_back(user); - xml_schema::NamespaceInfomap map; + Xsd::XmlSchema::NamespaceInfomap map; stringstream notify; - serializeConference_info(notify, confInfo, map); + serializeConferenceInfo(notify, confInfo, map); //d->notifyAllExcept(notify.str(), addr); return notify.str(); } diff --git a/src/conference/remote-conference-event-handler.cpp b/src/conference/remote-conference-event-handler.cpp index 8e6099552..03668dba0 100644 --- a/src/conference/remote-conference-event-handler.cpp +++ b/src/conference/remote-conference-event-handler.cpp @@ -18,28 +18,19 @@ #include "remote-conference-event-handler.h" #include "object/object-p.h" - -#if __clang__ || __GNUC__ >= 4 - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wsuggest-override" -#endif - #include "xml/conference-info.h" -#if __clang__ || __GNUC__ >= 4 - #pragma GCC diagnostic pop -#endif - /* Needs to be included after xml/conference-info.h because of _() macro definition that breaks everything */ #include "private.h" // ============================================================================= using namespace std; -using namespace conference_info; LINPHONE_BEGIN_NAMESPACE +using namespace Xsd::ConferenceInfo; + class RemoteConferenceEventHandlerPrivate : public ObjectPrivate { public: LinphoneCore *core = nullptr; @@ -89,7 +80,7 @@ void RemoteConferenceEventHandler::unsubscribe() { void RemoteConferenceEventHandler::notifyReceived(string xmlBody) { L_D(RemoteConferenceEventHandler); istringstream data(xmlBody); - unique_ptr confInfo = parseConference_info(data, xml_schema::Flags::dont_validate); + unique_ptr confInfo = parseConferenceInfo(data, Xsd::XmlSchema::Flags::dont_validate); if (confInfo->getEntity() == d->confAddr.asString()) { for (const auto &user : confInfo->getUsers()->getUser()) { LinphoneAddress *cAddr = linphone_core_interpret_url(d->core, user.getEntity()->c_str()); diff --git a/src/xml/conference-info.cpp b/src/xml/conference-info.cpp index 7cd27bf03..110ec162a 100644 --- a/src/xml/conference-info.cpp +++ b/src/xml/conference-info.cpp @@ -33,12 +33,10 @@ // Begin prologue. // - #if __clang__ || __GNUC__ >= 4 #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wsuggest-override" #endif - // // End prologue. @@ -46,3154 +44,3160 @@ #include "conference-info.h" -namespace conference_info +namespace LinphonePrivate { - // Conference_type - // - - const Conference_type::Conference_descriptionOptional& Conference_type:: - getConference_description () const - { - return this->conference_description_; - } - - Conference_type::Conference_descriptionOptional& Conference_type:: - getConference_description () - { - return this->conference_description_; - } - - void Conference_type:: - setConference_description (const Conference_descriptionType& x) - { - this->conference_description_.set (x); - } - - void Conference_type:: - setConference_description (const Conference_descriptionOptional& x) - { - this->conference_description_ = x; - } - - void Conference_type:: - setConference_description (::std::unique_ptr< Conference_descriptionType > x) - { - this->conference_description_.set (std::move (x)); - } - - const Conference_type::Host_infoOptional& Conference_type:: - getHost_info () const - { - return this->host_info_; - } - - Conference_type::Host_infoOptional& Conference_type:: - getHost_info () - { - return this->host_info_; - } - - void Conference_type:: - setHost_info (const Host_infoType& x) - { - this->host_info_.set (x); - } - - void Conference_type:: - setHost_info (const Host_infoOptional& x) - { - this->host_info_ = x; - } - - void Conference_type:: - setHost_info (::std::unique_ptr< Host_infoType > x) - { - this->host_info_.set (std::move (x)); - } - - const Conference_type::Conference_stateOptional& Conference_type:: - getConference_state () const - { - return this->conference_state_; - } - - Conference_type::Conference_stateOptional& Conference_type:: - getConference_state () - { - return this->conference_state_; - } - - void Conference_type:: - setConference_state (const Conference_stateType& x) - { - this->conference_state_.set (x); - } - - void Conference_type:: - setConference_state (const Conference_stateOptional& x) - { - this->conference_state_ = x; - } - - void Conference_type:: - setConference_state (::std::unique_ptr< Conference_stateType > x) - { - this->conference_state_.set (std::move (x)); - } - - const Conference_type::UsersOptional& Conference_type:: - getUsers () const - { - return this->users_; - } - - Conference_type::UsersOptional& Conference_type:: - getUsers () - { - return this->users_; - } - - void Conference_type:: - setUsers (const UsersType& x) - { - this->users_.set (x); - } - - void Conference_type:: - setUsers (const UsersOptional& x) - { - this->users_ = x; - } - - void Conference_type:: - setUsers (::std::unique_ptr< UsersType > x) - { - this->users_.set (std::move (x)); - } - - const Conference_type::Sidebars_by_refOptional& Conference_type:: - getSidebars_by_ref () const - { - return this->sidebars_by_ref_; - } - - Conference_type::Sidebars_by_refOptional& Conference_type:: - getSidebars_by_ref () - { - return this->sidebars_by_ref_; - } - - void Conference_type:: - setSidebars_by_ref (const Sidebars_by_refType& x) - { - this->sidebars_by_ref_.set (x); - } - - void Conference_type:: - setSidebars_by_ref (const Sidebars_by_refOptional& x) - { - this->sidebars_by_ref_ = x; - } - - void Conference_type:: - setSidebars_by_ref (::std::unique_ptr< Sidebars_by_refType > x) - { - this->sidebars_by_ref_.set (std::move (x)); - } - - const Conference_type::Sidebars_by_valOptional& Conference_type:: - getSidebars_by_val () const - { - return this->sidebars_by_val_; - } - - Conference_type::Sidebars_by_valOptional& Conference_type:: - getSidebars_by_val () - { - return this->sidebars_by_val_; - } - - void Conference_type:: - setSidebars_by_val (const Sidebars_by_valType& x) - { - this->sidebars_by_val_.set (x); - } - - void Conference_type:: - setSidebars_by_val (const Sidebars_by_valOptional& x) - { - this->sidebars_by_val_ = x; - } - - void Conference_type:: - setSidebars_by_val (::std::unique_ptr< Sidebars_by_valType > x) - { - this->sidebars_by_val_.set (std::move (x)); - } - - const Conference_type::AnySequence& Conference_type:: - getAny () const - { - return this->any_; - } - - Conference_type::AnySequence& Conference_type:: - getAny () - { - return this->any_; - } - - void Conference_type:: - setAny (const AnySequence& s) - { - this->any_ = s; - } - - const Conference_type::EntityType& Conference_type:: - getEntity () const - { - return this->entity_.get (); - } - - Conference_type::EntityType& Conference_type:: - getEntity () - { - return this->entity_.get (); - } - - void Conference_type:: - setEntity (const EntityType& x) - { - this->entity_.set (x); - } - - void Conference_type:: - setEntity (::std::unique_ptr< EntityType > x) - { - this->entity_.set (std::move (x)); - } - - ::std::unique_ptr< Conference_type::EntityType > Conference_type:: - detachEntity () - { - return this->entity_.detach (); - } - - const Conference_type::StateType& Conference_type:: - getState () const - { - return this->state_.get (); - } - - Conference_type::StateType& Conference_type:: - getState () - { - return this->state_.get (); - } - - void Conference_type:: - setState (const StateType& x) - { - this->state_.set (x); - } - - void Conference_type:: - setState (::std::unique_ptr< StateType > x) - { - this->state_.set (std::move (x)); - } - - ::std::unique_ptr< Conference_type::StateType > Conference_type:: - detachState () - { - return this->state_.detach (); - } - - const Conference_type::StateType& Conference_type:: - getStateDefaultValue () - { - return state_default_value_; - } - - const Conference_type::VersionOptional& Conference_type:: - getVersion () const - { - return this->version_; - } - - Conference_type::VersionOptional& Conference_type:: - getVersion () - { - return this->version_; - } - - void Conference_type:: - setVersion (const VersionType& x) - { - this->version_.set (x); - } - - void Conference_type:: - setVersion (const VersionOptional& x) - { - this->version_ = x; - } - - const Conference_type::AnyAttributeSet& Conference_type:: - getAnyAttribute () const - { - return this->any_attribute_; - } - - Conference_type::AnyAttributeSet& Conference_type:: - getAnyAttribute () - { - return this->any_attribute_; - } - - void Conference_type:: - setAnyAttribute (const AnyAttributeSet& s) - { - this->any_attribute_ = s; - } - - const ::xercesc::DOMDocument& Conference_type:: - getDomDocument () const - { - return *this->dom_document_; - } - - ::xercesc::DOMDocument& Conference_type:: - getDomDocument () - { - return *this->dom_document_; - } - - - // State_type - // - - State_type:: - State_type (Value v) - : ::xml_schema::String (_xsd_State_type_literals_[v]) - { - } - - State_type:: - State_type (const char* v) - : ::xml_schema::String (v) - { - } - - State_type:: - State_type (const ::std::string& v) - : ::xml_schema::String (v) - { - } - - State_type:: - State_type (const ::xml_schema::String& v) - : ::xml_schema::String (v) - { - } - - State_type:: - State_type (const State_type& v, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (v, f, c) - { - } - - State_type& State_type:: - operator= (Value v) - { - static_cast< ::xml_schema::String& > (*this) = - ::xml_schema::String (_xsd_State_type_literals_[v]); - - return *this; - } - - - // Conference_description_type - // - - const Conference_description_type::Display_textOptional& Conference_description_type:: - getDisplay_text () const - { - return this->display_text_; - } - - Conference_description_type::Display_textOptional& Conference_description_type:: - getDisplay_text () - { - return this->display_text_; - } - - void Conference_description_type:: - setDisplay_text (const Display_textType& x) - { - this->display_text_.set (x); - } - - void Conference_description_type:: - setDisplay_text (const Display_textOptional& x) - { - this->display_text_ = x; - } - - void Conference_description_type:: - setDisplay_text (::std::unique_ptr< Display_textType > x) - { - this->display_text_.set (std::move (x)); - } - - const Conference_description_type::SubjectOptional& Conference_description_type:: - getSubject () const - { - return this->subject_; - } - - Conference_description_type::SubjectOptional& Conference_description_type:: - getSubject () - { - return this->subject_; - } - - void Conference_description_type:: - setSubject (const SubjectType& x) - { - this->subject_.set (x); - } - - void Conference_description_type:: - setSubject (const SubjectOptional& x) - { - this->subject_ = x; - } - - void Conference_description_type:: - setSubject (::std::unique_ptr< SubjectType > x) - { - this->subject_.set (std::move (x)); - } - - const Conference_description_type::Free_textOptional& Conference_description_type:: - getFree_text () const - { - return this->free_text_; - } - - Conference_description_type::Free_textOptional& Conference_description_type:: - getFree_text () - { - return this->free_text_; - } - - void Conference_description_type:: - setFree_text (const Free_textType& x) - { - this->free_text_.set (x); - } - - void Conference_description_type:: - setFree_text (const Free_textOptional& x) - { - this->free_text_ = x; - } - - void Conference_description_type:: - setFree_text (::std::unique_ptr< Free_textType > x) - { - this->free_text_.set (std::move (x)); - } - - const Conference_description_type::KeywordsOptional& Conference_description_type:: - getKeywords () const - { - return this->keywords_; - } - - Conference_description_type::KeywordsOptional& Conference_description_type:: - getKeywords () - { - return this->keywords_; - } - - void Conference_description_type:: - setKeywords (const KeywordsType& x) - { - this->keywords_.set (x); - } - - void Conference_description_type:: - setKeywords (const KeywordsOptional& x) - { - this->keywords_ = x; - } - - void Conference_description_type:: - setKeywords (::std::unique_ptr< KeywordsType > x) - { - this->keywords_.set (std::move (x)); - } - - const Conference_description_type::Conf_urisOptional& Conference_description_type:: - getConf_uris () const - { - return this->conf_uris_; - } - - Conference_description_type::Conf_urisOptional& Conference_description_type:: - getConf_uris () - { - return this->conf_uris_; - } - - void Conference_description_type:: - setConf_uris (const Conf_urisType& x) - { - this->conf_uris_.set (x); - } - - void Conference_description_type:: - setConf_uris (const Conf_urisOptional& x) - { - this->conf_uris_ = x; - } - - void Conference_description_type:: - setConf_uris (::std::unique_ptr< Conf_urisType > x) - { - this->conf_uris_.set (std::move (x)); - } - - const Conference_description_type::Service_urisOptional& Conference_description_type:: - getService_uris () const - { - return this->service_uris_; - } - - Conference_description_type::Service_urisOptional& Conference_description_type:: - getService_uris () - { - return this->service_uris_; - } - - void Conference_description_type:: - setService_uris (const Service_urisType& x) - { - this->service_uris_.set (x); - } - - void Conference_description_type:: - setService_uris (const Service_urisOptional& x) - { - this->service_uris_ = x; - } - - void Conference_description_type:: - setService_uris (::std::unique_ptr< Service_urisType > x) - { - this->service_uris_.set (std::move (x)); - } - - const Conference_description_type::Maximum_user_countOptional& Conference_description_type:: - getMaximum_user_count () const - { - return this->maximum_user_count_; - } - - Conference_description_type::Maximum_user_countOptional& Conference_description_type:: - getMaximum_user_count () - { - return this->maximum_user_count_; - } - - void Conference_description_type:: - setMaximum_user_count (const Maximum_user_countType& x) - { - this->maximum_user_count_.set (x); - } - - void Conference_description_type:: - setMaximum_user_count (const Maximum_user_countOptional& x) - { - this->maximum_user_count_ = x; - } - - const Conference_description_type::Available_mediaOptional& Conference_description_type:: - getAvailable_media () const - { - return this->available_media_; - } - - Conference_description_type::Available_mediaOptional& Conference_description_type:: - getAvailable_media () - { - return this->available_media_; - } - - void Conference_description_type:: - setAvailable_media (const Available_mediaType& x) - { - this->available_media_.set (x); - } - - void Conference_description_type:: - setAvailable_media (const Available_mediaOptional& x) - { - this->available_media_ = x; - } - - void Conference_description_type:: - setAvailable_media (::std::unique_ptr< Available_mediaType > x) - { - this->available_media_.set (std::move (x)); - } - - const Conference_description_type::AnySequence& Conference_description_type:: - getAny () const - { - return this->any_; - } - - Conference_description_type::AnySequence& Conference_description_type:: - getAny () - { - return this->any_; - } - - void Conference_description_type:: - setAny (const AnySequence& s) - { - this->any_ = s; - } - - const Conference_description_type::AnyAttributeSet& Conference_description_type:: - getAnyAttribute () const - { - return this->any_attribute_; - } - - Conference_description_type::AnyAttributeSet& Conference_description_type:: - getAnyAttribute () - { - return this->any_attribute_; - } - - void Conference_description_type:: - setAnyAttribute (const AnyAttributeSet& s) - { - this->any_attribute_ = s; - } - - const ::xercesc::DOMDocument& Conference_description_type:: - getDomDocument () const - { - return *this->dom_document_; - } - - ::xercesc::DOMDocument& Conference_description_type:: - getDomDocument () - { - return *this->dom_document_; - } - - - // Host_type - // - - const Host_type::Display_textOptional& Host_type:: - getDisplay_text () const - { - return this->display_text_; - } - - Host_type::Display_textOptional& Host_type:: - getDisplay_text () - { - return this->display_text_; - } - - void Host_type:: - setDisplay_text (const Display_textType& x) - { - this->display_text_.set (x); - } - - void Host_type:: - setDisplay_text (const Display_textOptional& x) - { - this->display_text_ = x; - } - - void Host_type:: - setDisplay_text (::std::unique_ptr< Display_textType > x) - { - this->display_text_.set (std::move (x)); - } - - const Host_type::Web_pageOptional& Host_type:: - getWeb_page () const - { - return this->web_page_; - } - - Host_type::Web_pageOptional& Host_type:: - getWeb_page () - { - return this->web_page_; - } - - void Host_type:: - setWeb_page (const Web_pageType& x) - { - this->web_page_.set (x); - } - - void Host_type:: - setWeb_page (const Web_pageOptional& x) - { - this->web_page_ = x; - } - - void Host_type:: - setWeb_page (::std::unique_ptr< Web_pageType > x) - { - this->web_page_.set (std::move (x)); - } - - const Host_type::UrisOptional& Host_type:: - getUris () const - { - return this->uris_; - } - - Host_type::UrisOptional& Host_type:: - getUris () - { - return this->uris_; - } - - void Host_type:: - setUris (const UrisType& x) - { - this->uris_.set (x); - } - - void Host_type:: - setUris (const UrisOptional& x) - { - this->uris_ = x; - } - - void Host_type:: - setUris (::std::unique_ptr< UrisType > x) - { - this->uris_.set (std::move (x)); - } - - const Host_type::AnySequence& Host_type:: - getAny () const - { - return this->any_; - } - - Host_type::AnySequence& Host_type:: - getAny () - { - return this->any_; - } - - void Host_type:: - setAny (const AnySequence& s) - { - this->any_ = s; - } - - const Host_type::AnyAttributeSet& Host_type:: - getAnyAttribute () const - { - return this->any_attribute_; - } - - Host_type::AnyAttributeSet& Host_type:: - getAnyAttribute () - { - return this->any_attribute_; - } - - void Host_type:: - setAnyAttribute (const AnyAttributeSet& s) - { - this->any_attribute_ = s; - } - - const ::xercesc::DOMDocument& Host_type:: - getDomDocument () const - { - return *this->dom_document_; - } - - ::xercesc::DOMDocument& Host_type:: - getDomDocument () - { - return *this->dom_document_; - } - - - // Conference_state_type - // - - const Conference_state_type::User_countOptional& Conference_state_type:: - getUser_count () const - { - return this->user_count_; - } - - Conference_state_type::User_countOptional& Conference_state_type:: - getUser_count () - { - return this->user_count_; - } - - void Conference_state_type:: - setUser_count (const User_countType& x) - { - this->user_count_.set (x); - } - - void Conference_state_type:: - setUser_count (const User_countOptional& x) - { - this->user_count_ = x; - } - - const Conference_state_type::ActiveOptional& Conference_state_type:: - getActive () const - { - return this->active_; - } - - Conference_state_type::ActiveOptional& Conference_state_type:: - getActive () - { - return this->active_; - } - - void Conference_state_type:: - setActive (const ActiveType& x) - { - this->active_.set (x); - } - - void Conference_state_type:: - setActive (const ActiveOptional& x) - { - this->active_ = x; - } - - const Conference_state_type::LockedOptional& Conference_state_type:: - getLocked () const - { - return this->locked_; - } - - Conference_state_type::LockedOptional& Conference_state_type:: - getLocked () - { - return this->locked_; - } - - void Conference_state_type:: - setLocked (const LockedType& x) - { - this->locked_.set (x); - } - - void Conference_state_type:: - setLocked (const LockedOptional& x) - { - this->locked_ = x; - } - - const Conference_state_type::AnySequence& Conference_state_type:: - getAny () const - { - return this->any_; - } - - Conference_state_type::AnySequence& Conference_state_type:: - getAny () - { - return this->any_; - } - - void Conference_state_type:: - setAny (const AnySequence& s) - { - this->any_ = s; - } - - const Conference_state_type::AnyAttributeSet& Conference_state_type:: - getAnyAttribute () const - { - return this->any_attribute_; - } - - Conference_state_type::AnyAttributeSet& Conference_state_type:: - getAnyAttribute () - { - return this->any_attribute_; - } - - void Conference_state_type:: - setAnyAttribute (const AnyAttributeSet& s) - { - this->any_attribute_ = s; - } - - const ::xercesc::DOMDocument& Conference_state_type:: - getDomDocument () const - { - return *this->dom_document_; - } - - ::xercesc::DOMDocument& Conference_state_type:: - getDomDocument () - { - return *this->dom_document_; - } - - - // Conference_media_type - // - - const Conference_media_type::EntrySequence& Conference_media_type:: - getEntry () const - { - return this->entry_; - } - - Conference_media_type::EntrySequence& Conference_media_type:: - getEntry () - { - return this->entry_; - } - - void Conference_media_type:: - setEntry (const EntrySequence& s) - { - this->entry_ = s; - } - - const Conference_media_type::AnyAttributeSet& Conference_media_type:: - getAnyAttribute () const - { - return this->any_attribute_; - } - - Conference_media_type::AnyAttributeSet& Conference_media_type:: - getAnyAttribute () - { - return this->any_attribute_; - } - - void Conference_media_type:: - setAnyAttribute (const AnyAttributeSet& s) - { - this->any_attribute_ = s; - } - - const ::xercesc::DOMDocument& Conference_media_type:: - getDomDocument () const - { - return *this->dom_document_; - } - - ::xercesc::DOMDocument& Conference_media_type:: - getDomDocument () - { - return *this->dom_document_; - } - - - // Conference_medium_type - // - - const Conference_medium_type::Display_textOptional& Conference_medium_type:: - getDisplay_text () const - { - return this->display_text_; - } - - Conference_medium_type::Display_textOptional& Conference_medium_type:: - getDisplay_text () - { - return this->display_text_; - } - - void Conference_medium_type:: - setDisplay_text (const Display_textType& x) - { - this->display_text_.set (x); - } - - void Conference_medium_type:: - setDisplay_text (const Display_textOptional& x) - { - this->display_text_ = x; - } - - void Conference_medium_type:: - setDisplay_text (::std::unique_ptr< Display_textType > x) - { - this->display_text_.set (std::move (x)); - } - - const Conference_medium_type::TypeType& Conference_medium_type:: - getType () const - { - return this->type_.get (); - } - - Conference_medium_type::TypeType& Conference_medium_type:: - getType () - { - return this->type_.get (); - } - - void Conference_medium_type:: - setType (const TypeType& x) - { - this->type_.set (x); - } - - void Conference_medium_type:: - setType (::std::unique_ptr< TypeType > x) - { - this->type_.set (std::move (x)); - } - - ::std::unique_ptr< Conference_medium_type::TypeType > Conference_medium_type:: - detachType () - { - return this->type_.detach (); - } - - const Conference_medium_type::StatusOptional& Conference_medium_type:: - getStatus () const - { - return this->status_; - } - - Conference_medium_type::StatusOptional& Conference_medium_type:: - getStatus () - { - return this->status_; - } - - void Conference_medium_type:: - setStatus (const StatusType& x) - { - this->status_.set (x); - } - - void Conference_medium_type:: - setStatus (const StatusOptional& x) - { - this->status_ = x; - } - - void Conference_medium_type:: - setStatus (::std::unique_ptr< StatusType > x) - { - this->status_.set (std::move (x)); - } - - const Conference_medium_type::AnySequence& Conference_medium_type:: - getAny () const - { - return this->any_; - } - - Conference_medium_type::AnySequence& Conference_medium_type:: - getAny () - { - return this->any_; - } - - void Conference_medium_type:: - setAny (const AnySequence& s) - { - this->any_ = s; - } - - const Conference_medium_type::LabelType& Conference_medium_type:: - getLabel () const - { - return this->label_.get (); - } - - Conference_medium_type::LabelType& Conference_medium_type:: - getLabel () - { - return this->label_.get (); - } - - void Conference_medium_type:: - setLabel (const LabelType& x) - { - this->label_.set (x); - } - - void Conference_medium_type:: - setLabel (::std::unique_ptr< LabelType > x) - { - this->label_.set (std::move (x)); - } - - ::std::unique_ptr< Conference_medium_type::LabelType > Conference_medium_type:: - detachLabel () - { - return this->label_.detach (); - } - - const Conference_medium_type::AnyAttributeSet& Conference_medium_type:: - getAnyAttribute () const - { - return this->any_attribute_; - } - - Conference_medium_type::AnyAttributeSet& Conference_medium_type:: - getAnyAttribute () - { - return this->any_attribute_; - } - - void Conference_medium_type:: - setAnyAttribute (const AnyAttributeSet& s) - { - this->any_attribute_ = s; - } - - const ::xercesc::DOMDocument& Conference_medium_type:: - getDomDocument () const - { - return *this->dom_document_; - } - - ::xercesc::DOMDocument& Conference_medium_type:: - getDomDocument () - { - return *this->dom_document_; - } - - - // Uris_type - // - - const Uris_type::EntrySequence& Uris_type:: - getEntry () const - { - return this->entry_; - } - - Uris_type::EntrySequence& Uris_type:: - getEntry () - { - return this->entry_; - } - - void Uris_type:: - setEntry (const EntrySequence& s) - { - this->entry_ = s; - } - - const Uris_type::StateType& Uris_type:: - getState () const - { - return this->state_.get (); - } - - Uris_type::StateType& Uris_type:: - getState () - { - return this->state_.get (); - } - - void Uris_type:: - setState (const StateType& x) - { - this->state_.set (x); - } - - void Uris_type:: - setState (::std::unique_ptr< StateType > x) - { - this->state_.set (std::move (x)); - } - - ::std::unique_ptr< Uris_type::StateType > Uris_type:: - detachState () - { - return this->state_.detach (); - } - - const Uris_type::StateType& Uris_type:: - getStateDefaultValue () - { - return state_default_value_; - } - - const Uris_type::AnyAttributeSet& Uris_type:: - getAnyAttribute () const - { - return this->any_attribute_; - } - - Uris_type::AnyAttributeSet& Uris_type:: - getAnyAttribute () - { - return this->any_attribute_; - } - - void Uris_type:: - setAnyAttribute (const AnyAttributeSet& s) - { - this->any_attribute_ = s; - } - - const ::xercesc::DOMDocument& Uris_type:: - getDomDocument () const - { - return *this->dom_document_; - } - - ::xercesc::DOMDocument& Uris_type:: - getDomDocument () - { - return *this->dom_document_; - } - - - // Uri_type - // - - const Uri_type::UriType& Uri_type:: - getUri () const - { - return this->uri_.get (); - } - - Uri_type::UriType& Uri_type:: - getUri () - { - return this->uri_.get (); - } - - void Uri_type:: - setUri (const UriType& x) - { - this->uri_.set (x); - } - - void Uri_type:: - setUri (::std::unique_ptr< UriType > x) - { - this->uri_.set (std::move (x)); - } - - ::std::unique_ptr< Uri_type::UriType > Uri_type:: - detachUri () - { - return this->uri_.detach (); - } - - const Uri_type::Display_textOptional& Uri_type:: - getDisplay_text () const - { - return this->display_text_; - } - - Uri_type::Display_textOptional& Uri_type:: - getDisplay_text () - { - return this->display_text_; - } - - void Uri_type:: - setDisplay_text (const Display_textType& x) - { - this->display_text_.set (x); - } - - void Uri_type:: - setDisplay_text (const Display_textOptional& x) - { - this->display_text_ = x; - } - - void Uri_type:: - setDisplay_text (::std::unique_ptr< Display_textType > x) - { - this->display_text_.set (std::move (x)); - } - - const Uri_type::PurposeOptional& Uri_type:: - getPurpose () const - { - return this->purpose_; - } - - Uri_type::PurposeOptional& Uri_type:: - getPurpose () - { - return this->purpose_; - } - - void Uri_type:: - setPurpose (const PurposeType& x) - { - this->purpose_.set (x); - } - - void Uri_type:: - setPurpose (const PurposeOptional& x) - { - this->purpose_ = x; - } - - void Uri_type:: - setPurpose (::std::unique_ptr< PurposeType > x) - { - this->purpose_.set (std::move (x)); - } - - const Uri_type::ModifiedOptional& Uri_type:: - getModified () const - { - return this->modified_; - } - - Uri_type::ModifiedOptional& Uri_type:: - getModified () - { - return this->modified_; - } - - void Uri_type:: - setModified (const ModifiedType& x) - { - this->modified_.set (x); - } - - void Uri_type:: - setModified (const ModifiedOptional& x) - { - this->modified_ = x; - } - - void Uri_type:: - setModified (::std::unique_ptr< ModifiedType > x) - { - this->modified_.set (std::move (x)); - } - - const Uri_type::AnySequence& Uri_type:: - getAny () const - { - return this->any_; - } - - Uri_type::AnySequence& Uri_type:: - getAny () - { - return this->any_; - } - - void Uri_type:: - setAny (const AnySequence& s) - { - this->any_ = s; - } - - const Uri_type::AnyAttributeSet& Uri_type:: - getAnyAttribute () const - { - return this->any_attribute_; - } - - Uri_type::AnyAttributeSet& Uri_type:: - getAnyAttribute () - { - return this->any_attribute_; - } - - void Uri_type:: - setAnyAttribute (const AnyAttributeSet& s) - { - this->any_attribute_ = s; - } - - const ::xercesc::DOMDocument& Uri_type:: - getDomDocument () const - { - return *this->dom_document_; - } - - ::xercesc::DOMDocument& Uri_type:: - getDomDocument () - { - return *this->dom_document_; - } - - - // Keywords_type - // - - Keywords_type:: - Keywords_type () - : ::xsd::cxx::tree::list< ::xml_schema::String, char > (this) - { - } - - Keywords_type:: - Keywords_type (size_type n, const ::xml_schema::String& x) - : ::xsd::cxx::tree::list< ::xml_schema::String, char > (n, x, this) - { - } - - Keywords_type:: - Keywords_type (const Keywords_type& o, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::SimpleType (o, f, c), - ::xsd::cxx::tree::list< ::xml_schema::String, char > (o, f, this) - { - } - - // Users_type - // - - const Users_type::UserSequence& Users_type:: - getUser () const - { - return this->user_; - } - - Users_type::UserSequence& Users_type:: - getUser () - { - return this->user_; - } - - void Users_type:: - setUser (const UserSequence& s) - { - this->user_ = s; - } - - const Users_type::AnySequence& Users_type:: - getAny () const - { - return this->any_; - } - - Users_type::AnySequence& Users_type:: - getAny () - { - return this->any_; - } - - void Users_type:: - setAny (const AnySequence& s) - { - this->any_ = s; - } - - const Users_type::StateType& Users_type:: - getState () const - { - return this->state_.get (); - } - - Users_type::StateType& Users_type:: - getState () - { - return this->state_.get (); - } - - void Users_type:: - setState (const StateType& x) - { - this->state_.set (x); - } - - void Users_type:: - setState (::std::unique_ptr< StateType > x) - { - this->state_.set (std::move (x)); - } - - ::std::unique_ptr< Users_type::StateType > Users_type:: - detachState () - { - return this->state_.detach (); - } - - const Users_type::StateType& Users_type:: - getStateDefaultValue () - { - return state_default_value_; - } - - const Users_type::AnyAttributeSet& Users_type:: - getAnyAttribute () const - { - return this->any_attribute_; - } - - Users_type::AnyAttributeSet& Users_type:: - getAnyAttribute () - { - return this->any_attribute_; - } - - void Users_type:: - setAnyAttribute (const AnyAttributeSet& s) - { - this->any_attribute_ = s; - } - - const ::xercesc::DOMDocument& Users_type:: - getDomDocument () const - { - return *this->dom_document_; - } - - ::xercesc::DOMDocument& Users_type:: - getDomDocument () - { - return *this->dom_document_; - } - - - // User_type - // - - const User_type::Display_textOptional& User_type:: - getDisplay_text () const - { - return this->display_text_; - } - - User_type::Display_textOptional& User_type:: - getDisplay_text () - { - return this->display_text_; - } - - void User_type:: - setDisplay_text (const Display_textType& x) - { - this->display_text_.set (x); - } - - void User_type:: - setDisplay_text (const Display_textOptional& x) - { - this->display_text_ = x; - } - - void User_type:: - setDisplay_text (::std::unique_ptr< Display_textType > x) - { - this->display_text_.set (std::move (x)); - } - - const User_type::Associated_aorsOptional& User_type:: - getAssociated_aors () const - { - return this->associated_aors_; - } - - User_type::Associated_aorsOptional& User_type:: - getAssociated_aors () - { - return this->associated_aors_; - } - - void User_type:: - setAssociated_aors (const Associated_aorsType& x) - { - this->associated_aors_.set (x); - } - - void User_type:: - setAssociated_aors (const Associated_aorsOptional& x) - { - this->associated_aors_ = x; - } - - void User_type:: - setAssociated_aors (::std::unique_ptr< Associated_aorsType > x) - { - this->associated_aors_.set (std::move (x)); - } - - const User_type::RolesOptional& User_type:: - getRoles () const - { - return this->roles_; - } - - User_type::RolesOptional& User_type:: - getRoles () - { - return this->roles_; - } - - void User_type:: - setRoles (const RolesType& x) - { - this->roles_.set (x); - } - - void User_type:: - setRoles (const RolesOptional& x) - { - this->roles_ = x; - } - - void User_type:: - setRoles (::std::unique_ptr< RolesType > x) - { - this->roles_.set (std::move (x)); - } - - const User_type::LanguagesOptional& User_type:: - getLanguages () const - { - return this->languages_; - } - - User_type::LanguagesOptional& User_type:: - getLanguages () - { - return this->languages_; - } - - void User_type:: - setLanguages (const LanguagesType& x) - { - this->languages_.set (x); - } - - void User_type:: - setLanguages (const LanguagesOptional& x) - { - this->languages_ = x; - } - - void User_type:: - setLanguages (::std::unique_ptr< LanguagesType > x) - { - this->languages_.set (std::move (x)); - } - - const User_type::Cascaded_focusOptional& User_type:: - getCascaded_focus () const - { - return this->cascaded_focus_; - } - - User_type::Cascaded_focusOptional& User_type:: - getCascaded_focus () - { - return this->cascaded_focus_; - } - - void User_type:: - setCascaded_focus (const Cascaded_focusType& x) - { - this->cascaded_focus_.set (x); - } - - void User_type:: - setCascaded_focus (const Cascaded_focusOptional& x) - { - this->cascaded_focus_ = x; - } - - void User_type:: - setCascaded_focus (::std::unique_ptr< Cascaded_focusType > x) - { - this->cascaded_focus_.set (std::move (x)); - } - - const User_type::EndpointSequence& User_type:: - getEndpoint () const - { - return this->endpoint_; - } - - User_type::EndpointSequence& User_type:: - getEndpoint () - { - return this->endpoint_; - } - - void User_type:: - setEndpoint (const EndpointSequence& s) - { - this->endpoint_ = s; - } - - const User_type::AnySequence& User_type:: - getAny () const - { - return this->any_; - } - - User_type::AnySequence& User_type:: - getAny () - { - return this->any_; - } - - void User_type:: - setAny (const AnySequence& s) - { - this->any_ = s; - } - - const User_type::EntityOptional& User_type:: - getEntity () const - { - return this->entity_; - } - - User_type::EntityOptional& User_type:: - getEntity () - { - return this->entity_; - } - - void User_type:: - setEntity (const EntityType& x) - { - this->entity_.set (x); - } - - void User_type:: - setEntity (const EntityOptional& x) - { - this->entity_ = x; - } - - void User_type:: - setEntity (::std::unique_ptr< EntityType > x) - { - this->entity_.set (std::move (x)); - } - - const User_type::StateType& User_type:: - getState () const - { - return this->state_.get (); - } - - User_type::StateType& User_type:: - getState () - { - return this->state_.get (); - } - - void User_type:: - setState (const StateType& x) - { - this->state_.set (x); - } - - void User_type:: - setState (::std::unique_ptr< StateType > x) - { - this->state_.set (std::move (x)); - } - - ::std::unique_ptr< User_type::StateType > User_type:: - detachState () - { - return this->state_.detach (); - } - - const User_type::StateType& User_type:: - getStateDefaultValue () - { - return state_default_value_; - } - - const User_type::AnyAttributeSet& User_type:: - getAnyAttribute () const - { - return this->any_attribute_; - } - - User_type::AnyAttributeSet& User_type:: - getAnyAttribute () - { - return this->any_attribute_; - } - - void User_type:: - setAnyAttribute (const AnyAttributeSet& s) - { - this->any_attribute_ = s; - } - - const ::xercesc::DOMDocument& User_type:: - getDomDocument () const - { - return *this->dom_document_; - } - - ::xercesc::DOMDocument& User_type:: - getDomDocument () - { - return *this->dom_document_; - } - - - // User_roles_type - // - - const User_roles_type::EntrySequence& User_roles_type:: - getEntry () const - { - return this->entry_; - } - - User_roles_type::EntrySequence& User_roles_type:: - getEntry () - { - return this->entry_; - } - - void User_roles_type:: - setEntry (const EntrySequence& s) - { - this->entry_ = s; - } - - const User_roles_type::AnyAttributeSet& User_roles_type:: - getAnyAttribute () const - { - return this->any_attribute_; - } - - User_roles_type::AnyAttributeSet& User_roles_type:: - getAnyAttribute () - { - return this->any_attribute_; - } - - void User_roles_type:: - setAnyAttribute (const AnyAttributeSet& s) - { - this->any_attribute_ = s; - } - - const ::xercesc::DOMDocument& User_roles_type:: - getDomDocument () const - { - return *this->dom_document_; - } - - ::xercesc::DOMDocument& User_roles_type:: - getDomDocument () - { - return *this->dom_document_; - } - - - // User_languages_type - // - - User_languages_type:: - User_languages_type () - : ::xsd::cxx::tree::list< ::xml_schema::Language, char > (this) - { - } - - User_languages_type:: - User_languages_type (size_type n, const ::xml_schema::Language& x) - : ::xsd::cxx::tree::list< ::xml_schema::Language, char > (n, x, this) - { - } - - User_languages_type:: - User_languages_type (const User_languages_type& o, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::SimpleType (o, f, c), - ::xsd::cxx::tree::list< ::xml_schema::Language, char > (o, f, this) - { - } - - // Endpoint_type - // - - const Endpoint_type::Display_textOptional& Endpoint_type:: - getDisplay_text () const - { - return this->display_text_; - } - - Endpoint_type::Display_textOptional& Endpoint_type:: - getDisplay_text () - { - return this->display_text_; - } - - void Endpoint_type:: - setDisplay_text (const Display_textType& x) - { - this->display_text_.set (x); - } - - void Endpoint_type:: - setDisplay_text (const Display_textOptional& x) - { - this->display_text_ = x; - } - - void Endpoint_type:: - setDisplay_text (::std::unique_ptr< Display_textType > x) - { - this->display_text_.set (std::move (x)); - } - - const Endpoint_type::ReferredOptional& Endpoint_type:: - getReferred () const - { - return this->referred_; - } - - Endpoint_type::ReferredOptional& Endpoint_type:: - getReferred () - { - return this->referred_; - } - - void Endpoint_type:: - setReferred (const ReferredType& x) - { - this->referred_.set (x); - } - - void Endpoint_type:: - setReferred (const ReferredOptional& x) - { - this->referred_ = x; - } - - void Endpoint_type:: - setReferred (::std::unique_ptr< ReferredType > x) - { - this->referred_.set (std::move (x)); - } - - const Endpoint_type::StatusOptional& Endpoint_type:: - getStatus () const - { - return this->status_; - } - - Endpoint_type::StatusOptional& Endpoint_type:: - getStatus () - { - return this->status_; - } - - void Endpoint_type:: - setStatus (const StatusType& x) - { - this->status_.set (x); - } - - void Endpoint_type:: - setStatus (const StatusOptional& x) - { - this->status_ = x; - } - - void Endpoint_type:: - setStatus (::std::unique_ptr< StatusType > x) - { - this->status_.set (std::move (x)); - } - - const Endpoint_type::Joining_methodOptional& Endpoint_type:: - getJoining_method () const - { - return this->joining_method_; - } - - Endpoint_type::Joining_methodOptional& Endpoint_type:: - getJoining_method () - { - return this->joining_method_; - } - - void Endpoint_type:: - setJoining_method (const Joining_methodType& x) - { - this->joining_method_.set (x); - } - - void Endpoint_type:: - setJoining_method (const Joining_methodOptional& x) - { - this->joining_method_ = x; - } - - void Endpoint_type:: - setJoining_method (::std::unique_ptr< Joining_methodType > x) - { - this->joining_method_.set (std::move (x)); - } - - const Endpoint_type::Joining_infoOptional& Endpoint_type:: - getJoining_info () const - { - return this->joining_info_; - } - - Endpoint_type::Joining_infoOptional& Endpoint_type:: - getJoining_info () - { - return this->joining_info_; - } - - void Endpoint_type:: - setJoining_info (const Joining_infoType& x) - { - this->joining_info_.set (x); - } - - void Endpoint_type:: - setJoining_info (const Joining_infoOptional& x) - { - this->joining_info_ = x; - } - - void Endpoint_type:: - setJoining_info (::std::unique_ptr< Joining_infoType > x) - { - this->joining_info_.set (std::move (x)); - } - - const Endpoint_type::Disconnection_methodOptional& Endpoint_type:: - getDisconnection_method () const - { - return this->disconnection_method_; - } - - Endpoint_type::Disconnection_methodOptional& Endpoint_type:: - getDisconnection_method () - { - return this->disconnection_method_; - } - - void Endpoint_type:: - setDisconnection_method (const Disconnection_methodType& x) - { - this->disconnection_method_.set (x); - } - - void Endpoint_type:: - setDisconnection_method (const Disconnection_methodOptional& x) - { - this->disconnection_method_ = x; - } - - void Endpoint_type:: - setDisconnection_method (::std::unique_ptr< Disconnection_methodType > x) - { - this->disconnection_method_.set (std::move (x)); - } - - const Endpoint_type::Disconnection_infoOptional& Endpoint_type:: - getDisconnection_info () const - { - return this->disconnection_info_; - } - - Endpoint_type::Disconnection_infoOptional& Endpoint_type:: - getDisconnection_info () - { - return this->disconnection_info_; - } - - void Endpoint_type:: - setDisconnection_info (const Disconnection_infoType& x) - { - this->disconnection_info_.set (x); - } - - void Endpoint_type:: - setDisconnection_info (const Disconnection_infoOptional& x) - { - this->disconnection_info_ = x; - } - - void Endpoint_type:: - setDisconnection_info (::std::unique_ptr< Disconnection_infoType > x) - { - this->disconnection_info_.set (std::move (x)); - } - - const Endpoint_type::MediaSequence& Endpoint_type:: - getMedia () const - { - return this->media_; - } - - Endpoint_type::MediaSequence& Endpoint_type:: - getMedia () - { - return this->media_; - } - - void Endpoint_type:: - setMedia (const MediaSequence& s) - { - this->media_ = s; - } - - const Endpoint_type::Call_infoOptional& Endpoint_type:: - getCall_info () const - { - return this->call_info_; - } - - Endpoint_type::Call_infoOptional& Endpoint_type:: - getCall_info () - { - return this->call_info_; - } - - void Endpoint_type:: - setCall_info (const Call_infoType& x) - { - this->call_info_.set (x); - } - - void Endpoint_type:: - setCall_info (const Call_infoOptional& x) - { - this->call_info_ = x; - } - - void Endpoint_type:: - setCall_info (::std::unique_ptr< Call_infoType > x) - { - this->call_info_.set (std::move (x)); - } - - const Endpoint_type::AnySequence& Endpoint_type:: - getAny () const - { - return this->any_; - } - - Endpoint_type::AnySequence& Endpoint_type:: - getAny () - { - return this->any_; - } - - void Endpoint_type:: - setAny (const AnySequence& s) - { - this->any_ = s; - } - - const Endpoint_type::EntityOptional& Endpoint_type:: - getEntity () const - { - return this->entity_; - } - - Endpoint_type::EntityOptional& Endpoint_type:: - getEntity () - { - return this->entity_; - } - - void Endpoint_type:: - setEntity (const EntityType& x) - { - this->entity_.set (x); - } - - void Endpoint_type:: - setEntity (const EntityOptional& x) - { - this->entity_ = x; - } - - void Endpoint_type:: - setEntity (::std::unique_ptr< EntityType > x) - { - this->entity_.set (std::move (x)); - } - - const Endpoint_type::StateType& Endpoint_type:: - getState () const - { - return this->state_.get (); - } - - Endpoint_type::StateType& Endpoint_type:: - getState () - { - return this->state_.get (); - } - - void Endpoint_type:: - setState (const StateType& x) - { - this->state_.set (x); - } - - void Endpoint_type:: - setState (::std::unique_ptr< StateType > x) - { - this->state_.set (std::move (x)); - } - - ::std::unique_ptr< Endpoint_type::StateType > Endpoint_type:: - detachState () - { - return this->state_.detach (); - } - - const Endpoint_type::StateType& Endpoint_type:: - getStateDefaultValue () - { - return state_default_value_; - } - - const Endpoint_type::AnyAttributeSet& Endpoint_type:: - getAnyAttribute () const - { - return this->any_attribute_; - } - - Endpoint_type::AnyAttributeSet& Endpoint_type:: - getAnyAttribute () - { - return this->any_attribute_; - } - - void Endpoint_type:: - setAnyAttribute (const AnyAttributeSet& s) - { - this->any_attribute_ = s; - } - - const ::xercesc::DOMDocument& Endpoint_type:: - getDomDocument () const - { - return *this->dom_document_; - } - - ::xercesc::DOMDocument& Endpoint_type:: - getDomDocument () - { - return *this->dom_document_; - } - - - // Endpoint_status_type - // - - Endpoint_status_type:: - Endpoint_status_type (Value v) - : ::xml_schema::String (_xsd_Endpoint_status_type_literals_[v]) - { - } - - Endpoint_status_type:: - Endpoint_status_type (const char* v) - : ::xml_schema::String (v) - { - } - - Endpoint_status_type:: - Endpoint_status_type (const ::std::string& v) - : ::xml_schema::String (v) - { - } - - Endpoint_status_type:: - Endpoint_status_type (const ::xml_schema::String& v) - : ::xml_schema::String (v) - { - } - - Endpoint_status_type:: - Endpoint_status_type (const Endpoint_status_type& v, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (v, f, c) - { - } - - Endpoint_status_type& Endpoint_status_type:: - operator= (Value v) - { - static_cast< ::xml_schema::String& > (*this) = - ::xml_schema::String (_xsd_Endpoint_status_type_literals_[v]); - - return *this; - } - - - // Joining_type - // - - Joining_type:: - Joining_type (Value v) - : ::xml_schema::String (_xsd_Joining_type_literals_[v]) - { - } - - Joining_type:: - Joining_type (const char* v) - : ::xml_schema::String (v) - { - } - - Joining_type:: - Joining_type (const ::std::string& v) - : ::xml_schema::String (v) - { - } - - Joining_type:: - Joining_type (const ::xml_schema::String& v) - : ::xml_schema::String (v) - { - } - - Joining_type:: - Joining_type (const Joining_type& v, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (v, f, c) - { - } - - Joining_type& Joining_type:: - operator= (Value v) - { - static_cast< ::xml_schema::String& > (*this) = - ::xml_schema::String (_xsd_Joining_type_literals_[v]); - - return *this; - } - - - // Disconnection_type - // - - Disconnection_type:: - Disconnection_type (Value v) - : ::xml_schema::String (_xsd_Disconnection_type_literals_[v]) - { - } - - Disconnection_type:: - Disconnection_type (const char* v) - : ::xml_schema::String (v) - { - } - - Disconnection_type:: - Disconnection_type (const ::std::string& v) - : ::xml_schema::String (v) - { - } - - Disconnection_type:: - Disconnection_type (const ::xml_schema::String& v) - : ::xml_schema::String (v) - { - } - - Disconnection_type:: - Disconnection_type (const Disconnection_type& v, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (v, f, c) - { - } - - Disconnection_type& Disconnection_type:: - operator= (Value v) - { - static_cast< ::xml_schema::String& > (*this) = - ::xml_schema::String (_xsd_Disconnection_type_literals_[v]); - - return *this; - } - - - // Execution_type - // - - const Execution_type::WhenOptional& Execution_type:: - getWhen () const - { - return this->when_; - } - - Execution_type::WhenOptional& Execution_type:: - getWhen () - { - return this->when_; - } - - void Execution_type:: - setWhen (const WhenType& x) - { - this->when_.set (x); - } - - void Execution_type:: - setWhen (const WhenOptional& x) - { - this->when_ = x; - } - - void Execution_type:: - setWhen (::std::unique_ptr< WhenType > x) - { - this->when_.set (std::move (x)); - } - - const Execution_type::ReasonOptional& Execution_type:: - getReason () const - { - return this->reason_; - } - - Execution_type::ReasonOptional& Execution_type:: - getReason () - { - return this->reason_; - } - - void Execution_type:: - setReason (const ReasonType& x) - { - this->reason_.set (x); - } - - void Execution_type:: - setReason (const ReasonOptional& x) - { - this->reason_ = x; - } - - void Execution_type:: - setReason (::std::unique_ptr< ReasonType > x) - { - this->reason_.set (std::move (x)); - } - - const Execution_type::ByOptional& Execution_type:: - getBy () const - { - return this->by_; - } - - Execution_type::ByOptional& Execution_type:: - getBy () - { - return this->by_; - } - - void Execution_type:: - setBy (const ByType& x) - { - this->by_.set (x); - } - - void Execution_type:: - setBy (const ByOptional& x) - { - this->by_ = x; - } - - void Execution_type:: - setBy (::std::unique_ptr< ByType > x) - { - this->by_.set (std::move (x)); - } - - const Execution_type::AnyAttributeSet& Execution_type:: - getAnyAttribute () const - { - return this->any_attribute_; - } - - Execution_type::AnyAttributeSet& Execution_type:: - getAnyAttribute () - { - return this->any_attribute_; - } - - void Execution_type:: - setAnyAttribute (const AnyAttributeSet& s) - { - this->any_attribute_ = s; - } - - const ::xercesc::DOMDocument& Execution_type:: - getDomDocument () const - { - return *this->dom_document_; - } - - ::xercesc::DOMDocument& Execution_type:: - getDomDocument () - { - return *this->dom_document_; - } - - - // Call_type - // - - const Call_type::SipOptional& Call_type:: - getSip () const - { - return this->sip_; - } - - Call_type::SipOptional& Call_type:: - getSip () - { - return this->sip_; - } - - void Call_type:: - setSip (const SipType& x) - { - this->sip_.set (x); - } - - void Call_type:: - setSip (const SipOptional& x) - { - this->sip_ = x; - } - - void Call_type:: - setSip (::std::unique_ptr< SipType > x) - { - this->sip_.set (std::move (x)); - } - - const Call_type::AnySequence& Call_type:: - getAny () const - { - return this->any_; - } - - Call_type::AnySequence& Call_type:: - getAny () - { - return this->any_; - } - - void Call_type:: - setAny (const AnySequence& s) - { - this->any_ = s; - } - - const Call_type::AnyAttributeSet& Call_type:: - getAnyAttribute () const - { - return this->any_attribute_; - } - - Call_type::AnyAttributeSet& Call_type:: - getAnyAttribute () - { - return this->any_attribute_; - } - - void Call_type:: - setAnyAttribute (const AnyAttributeSet& s) - { - this->any_attribute_ = s; - } - - const ::xercesc::DOMDocument& Call_type:: - getDomDocument () const - { - return *this->dom_document_; - } - - ::xercesc::DOMDocument& Call_type:: - getDomDocument () - { - return *this->dom_document_; - } - - - // Sip_dialog_id_type - // - - const Sip_dialog_id_type::Display_textOptional& Sip_dialog_id_type:: - getDisplay_text () const - { - return this->display_text_; - } - - Sip_dialog_id_type::Display_textOptional& Sip_dialog_id_type:: - getDisplay_text () - { - return this->display_text_; - } - - void Sip_dialog_id_type:: - setDisplay_text (const Display_textType& x) - { - this->display_text_.set (x); - } - - void Sip_dialog_id_type:: - setDisplay_text (const Display_textOptional& x) - { - this->display_text_ = x; - } - - void Sip_dialog_id_type:: - setDisplay_text (::std::unique_ptr< Display_textType > x) - { - this->display_text_.set (std::move (x)); - } - - const Sip_dialog_id_type::Call_idType& Sip_dialog_id_type:: - getCall_id () const - { - return this->call_id_.get (); - } - - Sip_dialog_id_type::Call_idType& Sip_dialog_id_type:: - getCall_id () - { - return this->call_id_.get (); - } - - void Sip_dialog_id_type:: - setCall_id (const Call_idType& x) - { - this->call_id_.set (x); - } - - void Sip_dialog_id_type:: - setCall_id (::std::unique_ptr< Call_idType > x) - { - this->call_id_.set (std::move (x)); - } - - ::std::unique_ptr< Sip_dialog_id_type::Call_idType > Sip_dialog_id_type:: - detachCall_id () - { - return this->call_id_.detach (); - } - - const Sip_dialog_id_type::From_tagType& Sip_dialog_id_type:: - getFrom_tag () const - { - return this->from_tag_.get (); - } - - Sip_dialog_id_type::From_tagType& Sip_dialog_id_type:: - getFrom_tag () - { - return this->from_tag_.get (); - } - - void Sip_dialog_id_type:: - setFrom_tag (const From_tagType& x) - { - this->from_tag_.set (x); - } - - void Sip_dialog_id_type:: - setFrom_tag (::std::unique_ptr< From_tagType > x) - { - this->from_tag_.set (std::move (x)); - } - - ::std::unique_ptr< Sip_dialog_id_type::From_tagType > Sip_dialog_id_type:: - detachFrom_tag () - { - return this->from_tag_.detach (); - } - - const Sip_dialog_id_type::To_tagType& Sip_dialog_id_type:: - getTo_tag () const - { - return this->to_tag_.get (); - } - - Sip_dialog_id_type::To_tagType& Sip_dialog_id_type:: - getTo_tag () - { - return this->to_tag_.get (); - } - - void Sip_dialog_id_type:: - setTo_tag (const To_tagType& x) - { - this->to_tag_.set (x); - } - - void Sip_dialog_id_type:: - setTo_tag (::std::unique_ptr< To_tagType > x) - { - this->to_tag_.set (std::move (x)); - } - - ::std::unique_ptr< Sip_dialog_id_type::To_tagType > Sip_dialog_id_type:: - detachTo_tag () - { - return this->to_tag_.detach (); - } - - const Sip_dialog_id_type::AnySequence& Sip_dialog_id_type:: - getAny () const - { - return this->any_; - } - - Sip_dialog_id_type::AnySequence& Sip_dialog_id_type:: - getAny () - { - return this->any_; - } - - void Sip_dialog_id_type:: - setAny (const AnySequence& s) - { - this->any_ = s; - } - - const Sip_dialog_id_type::AnyAttributeSet& Sip_dialog_id_type:: - getAnyAttribute () const - { - return this->any_attribute_; - } - - Sip_dialog_id_type::AnyAttributeSet& Sip_dialog_id_type:: - getAnyAttribute () - { - return this->any_attribute_; - } - - void Sip_dialog_id_type:: - setAnyAttribute (const AnyAttributeSet& s) - { - this->any_attribute_ = s; - } - - const ::xercesc::DOMDocument& Sip_dialog_id_type:: - getDomDocument () const - { - return *this->dom_document_; - } - - ::xercesc::DOMDocument& Sip_dialog_id_type:: - getDomDocument () - { - return *this->dom_document_; - } - - - // Media_type - // - - const Media_type::Display_textOptional& Media_type:: - getDisplay_text () const - { - return this->display_text_; - } - - Media_type::Display_textOptional& Media_type:: - getDisplay_text () - { - return this->display_text_; - } - - void Media_type:: - setDisplay_text (const Display_textType& x) - { - this->display_text_.set (x); - } - - void Media_type:: - setDisplay_text (const Display_textOptional& x) - { - this->display_text_ = x; - } - - void Media_type:: - setDisplay_text (::std::unique_ptr< Display_textType > x) - { - this->display_text_.set (std::move (x)); - } - - const Media_type::TypeOptional& Media_type:: - getType () const - { - return this->type_; - } - - Media_type::TypeOptional& Media_type:: - getType () - { - return this->type_; - } - - void Media_type:: - setType (const TypeType& x) - { - this->type_.set (x); - } - - void Media_type:: - setType (const TypeOptional& x) - { - this->type_ = x; - } - - void Media_type:: - setType (::std::unique_ptr< TypeType > x) - { - this->type_.set (std::move (x)); - } - - const Media_type::LabelOptional& Media_type:: - getLabel () const - { - return this->label_; - } - - Media_type::LabelOptional& Media_type:: - getLabel () - { - return this->label_; - } - - void Media_type:: - setLabel (const LabelType& x) - { - this->label_.set (x); - } - - void Media_type:: - setLabel (const LabelOptional& x) - { - this->label_ = x; - } - - void Media_type:: - setLabel (::std::unique_ptr< LabelType > x) - { - this->label_.set (std::move (x)); - } - - const Media_type::Src_idOptional& Media_type:: - getSrc_id () const - { - return this->src_id_; - } - - Media_type::Src_idOptional& Media_type:: - getSrc_id () - { - return this->src_id_; - } - - void Media_type:: - setSrc_id (const Src_idType& x) - { - this->src_id_.set (x); - } - - void Media_type:: - setSrc_id (const Src_idOptional& x) - { - this->src_id_ = x; - } - - void Media_type:: - setSrc_id (::std::unique_ptr< Src_idType > x) - { - this->src_id_.set (std::move (x)); - } - - const Media_type::StatusOptional& Media_type:: - getStatus () const - { - return this->status_; - } - - Media_type::StatusOptional& Media_type:: - getStatus () - { - return this->status_; - } - - void Media_type:: - setStatus (const StatusType& x) - { - this->status_.set (x); - } - - void Media_type:: - setStatus (const StatusOptional& x) - { - this->status_ = x; - } - - void Media_type:: - setStatus (::std::unique_ptr< StatusType > x) - { - this->status_.set (std::move (x)); - } - - const Media_type::AnySequence& Media_type:: - getAny () const - { - return this->any_; - } - - Media_type::AnySequence& Media_type:: - getAny () - { - return this->any_; - } - - void Media_type:: - setAny (const AnySequence& s) - { - this->any_ = s; - } - - const Media_type::IdType& Media_type:: - getId () const - { - return this->id_.get (); - } - - Media_type::IdType& Media_type:: - getId () - { - return this->id_.get (); - } - - void Media_type:: - setId (const IdType& x) - { - this->id_.set (x); - } - - void Media_type:: - setId (::std::unique_ptr< IdType > x) - { - this->id_.set (std::move (x)); - } - - ::std::unique_ptr< Media_type::IdType > Media_type:: - detachId () - { - return this->id_.detach (); - } - - const Media_type::AnyAttributeSet& Media_type:: - getAnyAttribute () const - { - return this->any_attribute_; - } - - Media_type::AnyAttributeSet& Media_type:: - getAnyAttribute () - { - return this->any_attribute_; - } - - void Media_type:: - setAnyAttribute (const AnyAttributeSet& s) - { - this->any_attribute_ = s; - } - - const ::xercesc::DOMDocument& Media_type:: - getDomDocument () const - { - return *this->dom_document_; - } - - ::xercesc::DOMDocument& Media_type:: - getDomDocument () - { - return *this->dom_document_; - } - - - // Media_status_type - // - - Media_status_type:: - Media_status_type (Value v) - : ::xml_schema::String (_xsd_Media_status_type_literals_[v]) - { - } - - Media_status_type:: - Media_status_type (const char* v) - : ::xml_schema::String (v) - { - } - - Media_status_type:: - Media_status_type (const ::std::string& v) - : ::xml_schema::String (v) - { - } - - Media_status_type:: - Media_status_type (const ::xml_schema::String& v) - : ::xml_schema::String (v) - { - } - - Media_status_type:: - Media_status_type (const Media_status_type& v, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (v, f, c) - { - } - - Media_status_type& Media_status_type:: - operator= (Value v) - { - static_cast< ::xml_schema::String& > (*this) = - ::xml_schema::String (_xsd_Media_status_type_literals_[v]); - - return *this; - } - - - // Sidebars_by_val_type - // - - const Sidebars_by_val_type::EntrySequence& Sidebars_by_val_type:: - getEntry () const - { - return this->entry_; - } - - Sidebars_by_val_type::EntrySequence& Sidebars_by_val_type:: - getEntry () - { - return this->entry_; - } - - void Sidebars_by_val_type:: - setEntry (const EntrySequence& s) - { - this->entry_ = s; - } - - const Sidebars_by_val_type::StateType& Sidebars_by_val_type:: - getState () const - { - return this->state_.get (); - } - - Sidebars_by_val_type::StateType& Sidebars_by_val_type:: - getState () - { - return this->state_.get (); - } - - void Sidebars_by_val_type:: - setState (const StateType& x) - { - this->state_.set (x); - } - - void Sidebars_by_val_type:: - setState (::std::unique_ptr< StateType > x) - { - this->state_.set (std::move (x)); - } - - ::std::unique_ptr< Sidebars_by_val_type::StateType > Sidebars_by_val_type:: - detachState () - { - return this->state_.detach (); - } - - const Sidebars_by_val_type::StateType& Sidebars_by_val_type:: - getStateDefaultValue () - { - return state_default_value_; - } - - const Sidebars_by_val_type::AnyAttributeSet& Sidebars_by_val_type:: - getAnyAttribute () const - { - return this->any_attribute_; - } - - Sidebars_by_val_type::AnyAttributeSet& Sidebars_by_val_type:: - getAnyAttribute () - { - return this->any_attribute_; - } - - void Sidebars_by_val_type:: - setAnyAttribute (const AnyAttributeSet& s) - { - this->any_attribute_ = s; - } - - const ::xercesc::DOMDocument& Sidebars_by_val_type:: - getDomDocument () const - { - return *this->dom_document_; - } - - ::xercesc::DOMDocument& Sidebars_by_val_type:: - getDomDocument () - { - return *this->dom_document_; + namespace Xsd + { + namespace ConferenceInfo + { + // ConferenceType + // + + const ConferenceType::ConferenceDescriptionOptional& ConferenceType:: + getConferenceDescription () const + { + return this->conference_description_; + } + + ConferenceType::ConferenceDescriptionOptional& ConferenceType:: + getConferenceDescription () + { + return this->conference_description_; + } + + void ConferenceType:: + setConferenceDescription (const ConferenceDescriptionType& x) + { + this->conference_description_.set (x); + } + + void ConferenceType:: + setConferenceDescription (const ConferenceDescriptionOptional& x) + { + this->conference_description_ = x; + } + + void ConferenceType:: + setConferenceDescription (::std::unique_ptr< ConferenceDescriptionType > x) + { + this->conference_description_.set (std::move (x)); + } + + const ConferenceType::HostInfoOptional& ConferenceType:: + getHostInfo () const + { + return this->host_info_; + } + + ConferenceType::HostInfoOptional& ConferenceType:: + getHostInfo () + { + return this->host_info_; + } + + void ConferenceType:: + setHostInfo (const HostInfoType& x) + { + this->host_info_.set (x); + } + + void ConferenceType:: + setHostInfo (const HostInfoOptional& x) + { + this->host_info_ = x; + } + + void ConferenceType:: + setHostInfo (::std::unique_ptr< HostInfoType > x) + { + this->host_info_.set (std::move (x)); + } + + const ConferenceType::ConferenceStateOptional& ConferenceType:: + getConferenceState () const + { + return this->conference_state_; + } + + ConferenceType::ConferenceStateOptional& ConferenceType:: + getConferenceState () + { + return this->conference_state_; + } + + void ConferenceType:: + setConferenceState (const ConferenceStateType& x) + { + this->conference_state_.set (x); + } + + void ConferenceType:: + setConferenceState (const ConferenceStateOptional& x) + { + this->conference_state_ = x; + } + + void ConferenceType:: + setConferenceState (::std::unique_ptr< ConferenceStateType > x) + { + this->conference_state_.set (std::move (x)); + } + + const ConferenceType::UsersOptional& ConferenceType:: + getUsers () const + { + return this->users_; + } + + ConferenceType::UsersOptional& ConferenceType:: + getUsers () + { + return this->users_; + } + + void ConferenceType:: + setUsers (const UsersType& x) + { + this->users_.set (x); + } + + void ConferenceType:: + setUsers (const UsersOptional& x) + { + this->users_ = x; + } + + void ConferenceType:: + setUsers (::std::unique_ptr< UsersType > x) + { + this->users_.set (std::move (x)); + } + + const ConferenceType::SidebarsByRefOptional& ConferenceType:: + getSidebarsByRef () const + { + return this->sidebars_by_ref_; + } + + ConferenceType::SidebarsByRefOptional& ConferenceType:: + getSidebarsByRef () + { + return this->sidebars_by_ref_; + } + + void ConferenceType:: + setSidebarsByRef (const SidebarsByRefType& x) + { + this->sidebars_by_ref_.set (x); + } + + void ConferenceType:: + setSidebarsByRef (const SidebarsByRefOptional& x) + { + this->sidebars_by_ref_ = x; + } + + void ConferenceType:: + setSidebarsByRef (::std::unique_ptr< SidebarsByRefType > x) + { + this->sidebars_by_ref_.set (std::move (x)); + } + + const ConferenceType::SidebarsByValOptional& ConferenceType:: + getSidebarsByVal () const + { + return this->sidebars_by_val_; + } + + ConferenceType::SidebarsByValOptional& ConferenceType:: + getSidebarsByVal () + { + return this->sidebars_by_val_; + } + + void ConferenceType:: + setSidebarsByVal (const SidebarsByValType& x) + { + this->sidebars_by_val_.set (x); + } + + void ConferenceType:: + setSidebarsByVal (const SidebarsByValOptional& x) + { + this->sidebars_by_val_ = x; + } + + void ConferenceType:: + setSidebarsByVal (::std::unique_ptr< SidebarsByValType > x) + { + this->sidebars_by_val_.set (std::move (x)); + } + + const ConferenceType::AnySequence& ConferenceType:: + getAny () const + { + return this->any_; + } + + ConferenceType::AnySequence& ConferenceType:: + getAny () + { + return this->any_; + } + + void ConferenceType:: + setAny (const AnySequence& s) + { + this->any_ = s; + } + + const ConferenceType::EntityType& ConferenceType:: + getEntity () const + { + return this->entity_.get (); + } + + ConferenceType::EntityType& ConferenceType:: + getEntity () + { + return this->entity_.get (); + } + + void ConferenceType:: + setEntity (const EntityType& x) + { + this->entity_.set (x); + } + + void ConferenceType:: + setEntity (::std::unique_ptr< EntityType > x) + { + this->entity_.set (std::move (x)); + } + + ::std::unique_ptr< ConferenceType::EntityType > ConferenceType:: + setDetachEntity () + { + return this->entity_.detach (); + } + + const ConferenceType::StateType& ConferenceType:: + getState () const + { + return this->state_.get (); + } + + ConferenceType::StateType& ConferenceType:: + getState () + { + return this->state_.get (); + } + + void ConferenceType:: + setState (const StateType& x) + { + this->state_.set (x); + } + + void ConferenceType:: + setState (::std::unique_ptr< StateType > x) + { + this->state_.set (std::move (x)); + } + + ::std::unique_ptr< ConferenceType::StateType > ConferenceType:: + setDetachState () + { + return this->state_.detach (); + } + + const ConferenceType::StateType& ConferenceType:: + getStateDefaultValue () + { + return state_default_value_; + } + + const ConferenceType::VersionOptional& ConferenceType:: + getVersion () const + { + return this->version_; + } + + ConferenceType::VersionOptional& ConferenceType:: + getVersion () + { + return this->version_; + } + + void ConferenceType:: + setVersion (const VersionType& x) + { + this->version_.set (x); + } + + void ConferenceType:: + setVersion (const VersionOptional& x) + { + this->version_ = x; + } + + const ConferenceType::AnyAttributeSet& ConferenceType:: + getAnyAttribute () const + { + return this->any_attribute_; + } + + ConferenceType::AnyAttributeSet& ConferenceType:: + getAnyAttribute () + { + return this->any_attribute_; + } + + void ConferenceType:: + setAnyAttribute (const AnyAttributeSet& s) + { + this->any_attribute_ = s; + } + + const ::xercesc::DOMDocument& ConferenceType:: + getDomDocument () const + { + return *this->dom_document_; + } + + ::xercesc::DOMDocument& ConferenceType:: + getDomDocument () + { + return *this->dom_document_; + } + + + // StateType + // + + StateType:: + StateType (Value v) + : ::LinphonePrivate::Xsd::XmlSchema::String (_xsd_StateType_literals_[v]) + { + } + + StateType:: + StateType (const char* v) + : ::LinphonePrivate::Xsd::XmlSchema::String (v) + { + } + + StateType:: + StateType (const ::std::string& v) + : ::LinphonePrivate::Xsd::XmlSchema::String (v) + { + } + + StateType:: + StateType (const ::LinphonePrivate::Xsd::XmlSchema::String& v) + : ::LinphonePrivate::Xsd::XmlSchema::String (v) + { + } + + StateType:: + StateType (const StateType& v, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (v, f, c) + { + } + + StateType& StateType:: + operator= (Value v) + { + static_cast< ::LinphonePrivate::Xsd::XmlSchema::String& > (*this) = + ::LinphonePrivate::Xsd::XmlSchema::String (_xsd_StateType_literals_[v]); + + return *this; + } + + + // ConferenceDescriptionType + // + + const ConferenceDescriptionType::DisplayTextOptional& ConferenceDescriptionType:: + getDisplayText () const + { + return this->display_text_; + } + + ConferenceDescriptionType::DisplayTextOptional& ConferenceDescriptionType:: + getDisplayText () + { + return this->display_text_; + } + + void ConferenceDescriptionType:: + setDisplayText (const DisplayTextType& x) + { + this->display_text_.set (x); + } + + void ConferenceDescriptionType:: + setDisplayText (const DisplayTextOptional& x) + { + this->display_text_ = x; + } + + void ConferenceDescriptionType:: + setDisplayText (::std::unique_ptr< DisplayTextType > x) + { + this->display_text_.set (std::move (x)); + } + + const ConferenceDescriptionType::SubjectOptional& ConferenceDescriptionType:: + getSubject () const + { + return this->subject_; + } + + ConferenceDescriptionType::SubjectOptional& ConferenceDescriptionType:: + getSubject () + { + return this->subject_; + } + + void ConferenceDescriptionType:: + setSubject (const SubjectType& x) + { + this->subject_.set (x); + } + + void ConferenceDescriptionType:: + setSubject (const SubjectOptional& x) + { + this->subject_ = x; + } + + void ConferenceDescriptionType:: + setSubject (::std::unique_ptr< SubjectType > x) + { + this->subject_.set (std::move (x)); + } + + const ConferenceDescriptionType::FreeTextOptional& ConferenceDescriptionType:: + getFreeText () const + { + return this->free_text_; + } + + ConferenceDescriptionType::FreeTextOptional& ConferenceDescriptionType:: + getFreeText () + { + return this->free_text_; + } + + void ConferenceDescriptionType:: + setFreeText (const FreeTextType& x) + { + this->free_text_.set (x); + } + + void ConferenceDescriptionType:: + setFreeText (const FreeTextOptional& x) + { + this->free_text_ = x; + } + + void ConferenceDescriptionType:: + setFreeText (::std::unique_ptr< FreeTextType > x) + { + this->free_text_.set (std::move (x)); + } + + const ConferenceDescriptionType::KeywordsOptional& ConferenceDescriptionType:: + getKeywords () const + { + return this->keywords_; + } + + ConferenceDescriptionType::KeywordsOptional& ConferenceDescriptionType:: + getKeywords () + { + return this->keywords_; + } + + void ConferenceDescriptionType:: + setKeywords (const KeywordsType& x) + { + this->keywords_.set (x); + } + + void ConferenceDescriptionType:: + setKeywords (const KeywordsOptional& x) + { + this->keywords_ = x; + } + + void ConferenceDescriptionType:: + setKeywords (::std::unique_ptr< KeywordsType > x) + { + this->keywords_.set (std::move (x)); + } + + const ConferenceDescriptionType::ConfUrisOptional& ConferenceDescriptionType:: + getConfUris () const + { + return this->conf_uris_; + } + + ConferenceDescriptionType::ConfUrisOptional& ConferenceDescriptionType:: + getConfUris () + { + return this->conf_uris_; + } + + void ConferenceDescriptionType:: + setConfUris (const ConfUrisType& x) + { + this->conf_uris_.set (x); + } + + void ConferenceDescriptionType:: + setConfUris (const ConfUrisOptional& x) + { + this->conf_uris_ = x; + } + + void ConferenceDescriptionType:: + setConfUris (::std::unique_ptr< ConfUrisType > x) + { + this->conf_uris_.set (std::move (x)); + } + + const ConferenceDescriptionType::ServiceUrisOptional& ConferenceDescriptionType:: + getServiceUris () const + { + return this->service_uris_; + } + + ConferenceDescriptionType::ServiceUrisOptional& ConferenceDescriptionType:: + getServiceUris () + { + return this->service_uris_; + } + + void ConferenceDescriptionType:: + setServiceUris (const ServiceUrisType& x) + { + this->service_uris_.set (x); + } + + void ConferenceDescriptionType:: + setServiceUris (const ServiceUrisOptional& x) + { + this->service_uris_ = x; + } + + void ConferenceDescriptionType:: + setServiceUris (::std::unique_ptr< ServiceUrisType > x) + { + this->service_uris_.set (std::move (x)); + } + + const ConferenceDescriptionType::MaximumUserCountOptional& ConferenceDescriptionType:: + getMaximumUserCount () const + { + return this->maximum_user_count_; + } + + ConferenceDescriptionType::MaximumUserCountOptional& ConferenceDescriptionType:: + getMaximumUserCount () + { + return this->maximum_user_count_; + } + + void ConferenceDescriptionType:: + setMaximumUserCount (const MaximumUserCountType& x) + { + this->maximum_user_count_.set (x); + } + + void ConferenceDescriptionType:: + setMaximumUserCount (const MaximumUserCountOptional& x) + { + this->maximum_user_count_ = x; + } + + const ConferenceDescriptionType::AvailableMediaOptional& ConferenceDescriptionType:: + getAvailableMedia () const + { + return this->available_media_; + } + + ConferenceDescriptionType::AvailableMediaOptional& ConferenceDescriptionType:: + getAvailableMedia () + { + return this->available_media_; + } + + void ConferenceDescriptionType:: + setAvailableMedia (const AvailableMediaType& x) + { + this->available_media_.set (x); + } + + void ConferenceDescriptionType:: + setAvailableMedia (const AvailableMediaOptional& x) + { + this->available_media_ = x; + } + + void ConferenceDescriptionType:: + setAvailableMedia (::std::unique_ptr< AvailableMediaType > x) + { + this->available_media_.set (std::move (x)); + } + + const ConferenceDescriptionType::AnySequence& ConferenceDescriptionType:: + getAny () const + { + return this->any_; + } + + ConferenceDescriptionType::AnySequence& ConferenceDescriptionType:: + getAny () + { + return this->any_; + } + + void ConferenceDescriptionType:: + setAny (const AnySequence& s) + { + this->any_ = s; + } + + const ConferenceDescriptionType::AnyAttributeSet& ConferenceDescriptionType:: + getAnyAttribute () const + { + return this->any_attribute_; + } + + ConferenceDescriptionType::AnyAttributeSet& ConferenceDescriptionType:: + getAnyAttribute () + { + return this->any_attribute_; + } + + void ConferenceDescriptionType:: + setAnyAttribute (const AnyAttributeSet& s) + { + this->any_attribute_ = s; + } + + const ::xercesc::DOMDocument& ConferenceDescriptionType:: + getDomDocument () const + { + return *this->dom_document_; + } + + ::xercesc::DOMDocument& ConferenceDescriptionType:: + getDomDocument () + { + return *this->dom_document_; + } + + + // HostType + // + + const HostType::DisplayTextOptional& HostType:: + getDisplayText () const + { + return this->display_text_; + } + + HostType::DisplayTextOptional& HostType:: + getDisplayText () + { + return this->display_text_; + } + + void HostType:: + setDisplayText (const DisplayTextType& x) + { + this->display_text_.set (x); + } + + void HostType:: + setDisplayText (const DisplayTextOptional& x) + { + this->display_text_ = x; + } + + void HostType:: + setDisplayText (::std::unique_ptr< DisplayTextType > x) + { + this->display_text_.set (std::move (x)); + } + + const HostType::WebPageOptional& HostType:: + getWebPage () const + { + return this->web_page_; + } + + HostType::WebPageOptional& HostType:: + getWebPage () + { + return this->web_page_; + } + + void HostType:: + setWebPage (const WebPageType& x) + { + this->web_page_.set (x); + } + + void HostType:: + setWebPage (const WebPageOptional& x) + { + this->web_page_ = x; + } + + void HostType:: + setWebPage (::std::unique_ptr< WebPageType > x) + { + this->web_page_.set (std::move (x)); + } + + const HostType::UrisOptional& HostType:: + getUris () const + { + return this->uris_; + } + + HostType::UrisOptional& HostType:: + getUris () + { + return this->uris_; + } + + void HostType:: + setUris (const UrisType& x) + { + this->uris_.set (x); + } + + void HostType:: + setUris (const UrisOptional& x) + { + this->uris_ = x; + } + + void HostType:: + setUris (::std::unique_ptr< UrisType > x) + { + this->uris_.set (std::move (x)); + } + + const HostType::AnySequence& HostType:: + getAny () const + { + return this->any_; + } + + HostType::AnySequence& HostType:: + getAny () + { + return this->any_; + } + + void HostType:: + setAny (const AnySequence& s) + { + this->any_ = s; + } + + const HostType::AnyAttributeSet& HostType:: + getAnyAttribute () const + { + return this->any_attribute_; + } + + HostType::AnyAttributeSet& HostType:: + getAnyAttribute () + { + return this->any_attribute_; + } + + void HostType:: + setAnyAttribute (const AnyAttributeSet& s) + { + this->any_attribute_ = s; + } + + const ::xercesc::DOMDocument& HostType:: + getDomDocument () const + { + return *this->dom_document_; + } + + ::xercesc::DOMDocument& HostType:: + getDomDocument () + { + return *this->dom_document_; + } + + + // ConferenceStateType + // + + const ConferenceStateType::UserCountOptional& ConferenceStateType:: + getUserCount () const + { + return this->user_count_; + } + + ConferenceStateType::UserCountOptional& ConferenceStateType:: + getUserCount () + { + return this->user_count_; + } + + void ConferenceStateType:: + setUserCount (const UserCountType& x) + { + this->user_count_.set (x); + } + + void ConferenceStateType:: + setUserCount (const UserCountOptional& x) + { + this->user_count_ = x; + } + + const ConferenceStateType::ActiveOptional& ConferenceStateType:: + getActive () const + { + return this->active_; + } + + ConferenceStateType::ActiveOptional& ConferenceStateType:: + getActive () + { + return this->active_; + } + + void ConferenceStateType:: + setActive (const ActiveType& x) + { + this->active_.set (x); + } + + void ConferenceStateType:: + setActive (const ActiveOptional& x) + { + this->active_ = x; + } + + const ConferenceStateType::LockedOptional& ConferenceStateType:: + getLocked () const + { + return this->locked_; + } + + ConferenceStateType::LockedOptional& ConferenceStateType:: + getLocked () + { + return this->locked_; + } + + void ConferenceStateType:: + setLocked (const LockedType& x) + { + this->locked_.set (x); + } + + void ConferenceStateType:: + setLocked (const LockedOptional& x) + { + this->locked_ = x; + } + + const ConferenceStateType::AnySequence& ConferenceStateType:: + getAny () const + { + return this->any_; + } + + ConferenceStateType::AnySequence& ConferenceStateType:: + getAny () + { + return this->any_; + } + + void ConferenceStateType:: + setAny (const AnySequence& s) + { + this->any_ = s; + } + + const ConferenceStateType::AnyAttributeSet& ConferenceStateType:: + getAnyAttribute () const + { + return this->any_attribute_; + } + + ConferenceStateType::AnyAttributeSet& ConferenceStateType:: + getAnyAttribute () + { + return this->any_attribute_; + } + + void ConferenceStateType:: + setAnyAttribute (const AnyAttributeSet& s) + { + this->any_attribute_ = s; + } + + const ::xercesc::DOMDocument& ConferenceStateType:: + getDomDocument () const + { + return *this->dom_document_; + } + + ::xercesc::DOMDocument& ConferenceStateType:: + getDomDocument () + { + return *this->dom_document_; + } + + + // ConferenceMediaType + // + + const ConferenceMediaType::EntrySequence& ConferenceMediaType:: + getEntry () const + { + return this->entry_; + } + + ConferenceMediaType::EntrySequence& ConferenceMediaType:: + getEntry () + { + return this->entry_; + } + + void ConferenceMediaType:: + setEntry (const EntrySequence& s) + { + this->entry_ = s; + } + + const ConferenceMediaType::AnyAttributeSet& ConferenceMediaType:: + getAnyAttribute () const + { + return this->any_attribute_; + } + + ConferenceMediaType::AnyAttributeSet& ConferenceMediaType:: + getAnyAttribute () + { + return this->any_attribute_; + } + + void ConferenceMediaType:: + setAnyAttribute (const AnyAttributeSet& s) + { + this->any_attribute_ = s; + } + + const ::xercesc::DOMDocument& ConferenceMediaType:: + getDomDocument () const + { + return *this->dom_document_; + } + + ::xercesc::DOMDocument& ConferenceMediaType:: + getDomDocument () + { + return *this->dom_document_; + } + + + // ConferenceMediumType + // + + const ConferenceMediumType::DisplayTextOptional& ConferenceMediumType:: + getDisplayText () const + { + return this->display_text_; + } + + ConferenceMediumType::DisplayTextOptional& ConferenceMediumType:: + getDisplayText () + { + return this->display_text_; + } + + void ConferenceMediumType:: + setDisplayText (const DisplayTextType& x) + { + this->display_text_.set (x); + } + + void ConferenceMediumType:: + setDisplayText (const DisplayTextOptional& x) + { + this->display_text_ = x; + } + + void ConferenceMediumType:: + setDisplayText (::std::unique_ptr< DisplayTextType > x) + { + this->display_text_.set (std::move (x)); + } + + const ConferenceMediumType::TypeType& ConferenceMediumType:: + getType () const + { + return this->type_.get (); + } + + ConferenceMediumType::TypeType& ConferenceMediumType:: + getType () + { + return this->type_.get (); + } + + void ConferenceMediumType:: + setType (const TypeType& x) + { + this->type_.set (x); + } + + void ConferenceMediumType:: + setType (::std::unique_ptr< TypeType > x) + { + this->type_.set (std::move (x)); + } + + ::std::unique_ptr< ConferenceMediumType::TypeType > ConferenceMediumType:: + setDetachType () + { + return this->type_.detach (); + } + + const ConferenceMediumType::StatusOptional& ConferenceMediumType:: + getStatus () const + { + return this->status_; + } + + ConferenceMediumType::StatusOptional& ConferenceMediumType:: + getStatus () + { + return this->status_; + } + + void ConferenceMediumType:: + setStatus (const StatusType& x) + { + this->status_.set (x); + } + + void ConferenceMediumType:: + setStatus (const StatusOptional& x) + { + this->status_ = x; + } + + void ConferenceMediumType:: + setStatus (::std::unique_ptr< StatusType > x) + { + this->status_.set (std::move (x)); + } + + const ConferenceMediumType::AnySequence& ConferenceMediumType:: + getAny () const + { + return this->any_; + } + + ConferenceMediumType::AnySequence& ConferenceMediumType:: + getAny () + { + return this->any_; + } + + void ConferenceMediumType:: + setAny (const AnySequence& s) + { + this->any_ = s; + } + + const ConferenceMediumType::LabelType& ConferenceMediumType:: + getLabel () const + { + return this->label_.get (); + } + + ConferenceMediumType::LabelType& ConferenceMediumType:: + getLabel () + { + return this->label_.get (); + } + + void ConferenceMediumType:: + setLabel (const LabelType& x) + { + this->label_.set (x); + } + + void ConferenceMediumType:: + setLabel (::std::unique_ptr< LabelType > x) + { + this->label_.set (std::move (x)); + } + + ::std::unique_ptr< ConferenceMediumType::LabelType > ConferenceMediumType:: + setDetachLabel () + { + return this->label_.detach (); + } + + const ConferenceMediumType::AnyAttributeSet& ConferenceMediumType:: + getAnyAttribute () const + { + return this->any_attribute_; + } + + ConferenceMediumType::AnyAttributeSet& ConferenceMediumType:: + getAnyAttribute () + { + return this->any_attribute_; + } + + void ConferenceMediumType:: + setAnyAttribute (const AnyAttributeSet& s) + { + this->any_attribute_ = s; + } + + const ::xercesc::DOMDocument& ConferenceMediumType:: + getDomDocument () const + { + return *this->dom_document_; + } + + ::xercesc::DOMDocument& ConferenceMediumType:: + getDomDocument () + { + return *this->dom_document_; + } + + + // UrisType + // + + const UrisType::EntrySequence& UrisType:: + getEntry () const + { + return this->entry_; + } + + UrisType::EntrySequence& UrisType:: + getEntry () + { + return this->entry_; + } + + void UrisType:: + setEntry (const EntrySequence& s) + { + this->entry_ = s; + } + + const UrisType::StateType& UrisType:: + getState () const + { + return this->state_.get (); + } + + UrisType::StateType& UrisType:: + getState () + { + return this->state_.get (); + } + + void UrisType:: + setState (const StateType& x) + { + this->state_.set (x); + } + + void UrisType:: + setState (::std::unique_ptr< StateType > x) + { + this->state_.set (std::move (x)); + } + + ::std::unique_ptr< UrisType::StateType > UrisType:: + setDetachState () + { + return this->state_.detach (); + } + + const UrisType::StateType& UrisType:: + getStateDefaultValue () + { + return state_default_value_; + } + + const UrisType::AnyAttributeSet& UrisType:: + getAnyAttribute () const + { + return this->any_attribute_; + } + + UrisType::AnyAttributeSet& UrisType:: + getAnyAttribute () + { + return this->any_attribute_; + } + + void UrisType:: + setAnyAttribute (const AnyAttributeSet& s) + { + this->any_attribute_ = s; + } + + const ::xercesc::DOMDocument& UrisType:: + getDomDocument () const + { + return *this->dom_document_; + } + + ::xercesc::DOMDocument& UrisType:: + getDomDocument () + { + return *this->dom_document_; + } + + + // UriType + // + + const UriType::UriType1& UriType:: + getUri () const + { + return this->uri_.get (); + } + + UriType::UriType1& UriType:: + getUri () + { + return this->uri_.get (); + } + + void UriType:: + setUri (const UriType1& x) + { + this->uri_.set (x); + } + + void UriType:: + setUri (::std::unique_ptr< UriType1 > x) + { + this->uri_.set (std::move (x)); + } + + ::std::unique_ptr< UriType::UriType1 > UriType:: + setDetachUri () + { + return this->uri_.detach (); + } + + const UriType::DisplayTextOptional& UriType:: + getDisplayText () const + { + return this->display_text_; + } + + UriType::DisplayTextOptional& UriType:: + getDisplayText () + { + return this->display_text_; + } + + void UriType:: + setDisplayText (const DisplayTextType& x) + { + this->display_text_.set (x); + } + + void UriType:: + setDisplayText (const DisplayTextOptional& x) + { + this->display_text_ = x; + } + + void UriType:: + setDisplayText (::std::unique_ptr< DisplayTextType > x) + { + this->display_text_.set (std::move (x)); + } + + const UriType::PurposeOptional& UriType:: + getPurpose () const + { + return this->purpose_; + } + + UriType::PurposeOptional& UriType:: + getPurpose () + { + return this->purpose_; + } + + void UriType:: + setPurpose (const PurposeType& x) + { + this->purpose_.set (x); + } + + void UriType:: + setPurpose (const PurposeOptional& x) + { + this->purpose_ = x; + } + + void UriType:: + setPurpose (::std::unique_ptr< PurposeType > x) + { + this->purpose_.set (std::move (x)); + } + + const UriType::ModifiedOptional& UriType:: + getModified () const + { + return this->modified_; + } + + UriType::ModifiedOptional& UriType:: + getModified () + { + return this->modified_; + } + + void UriType:: + setModified (const ModifiedType& x) + { + this->modified_.set (x); + } + + void UriType:: + setModified (const ModifiedOptional& x) + { + this->modified_ = x; + } + + void UriType:: + setModified (::std::unique_ptr< ModifiedType > x) + { + this->modified_.set (std::move (x)); + } + + const UriType::AnySequence& UriType:: + getAny () const + { + return this->any_; + } + + UriType::AnySequence& UriType:: + getAny () + { + return this->any_; + } + + void UriType:: + setAny (const AnySequence& s) + { + this->any_ = s; + } + + const UriType::AnyAttributeSet& UriType:: + getAnyAttribute () const + { + return this->any_attribute_; + } + + UriType::AnyAttributeSet& UriType:: + getAnyAttribute () + { + return this->any_attribute_; + } + + void UriType:: + setAnyAttribute (const AnyAttributeSet& s) + { + this->any_attribute_ = s; + } + + const ::xercesc::DOMDocument& UriType:: + getDomDocument () const + { + return *this->dom_document_; + } + + ::xercesc::DOMDocument& UriType:: + getDomDocument () + { + return *this->dom_document_; + } + + + // KeywordsType + // + + KeywordsType:: + KeywordsType () + : ::xsd::cxx::tree::list< ::LinphonePrivate::Xsd::XmlSchema::String, char > (this) + { + } + + KeywordsType:: + KeywordsType (size_type n, const ::LinphonePrivate::Xsd::XmlSchema::String& x) + : ::xsd::cxx::tree::list< ::LinphonePrivate::Xsd::XmlSchema::String, char > (n, x, this) + { + } + + KeywordsType:: + KeywordsType (const KeywordsType& o, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::SimpleType (o, f, c), + ::xsd::cxx::tree::list< ::LinphonePrivate::Xsd::XmlSchema::String, char > (o, f, this) + { + } + + // UsersType + // + + const UsersType::UserSequence& UsersType:: + getUser () const + { + return this->user_; + } + + UsersType::UserSequence& UsersType:: + getUser () + { + return this->user_; + } + + void UsersType:: + setUser (const UserSequence& s) + { + this->user_ = s; + } + + const UsersType::AnySequence& UsersType:: + getAny () const + { + return this->any_; + } + + UsersType::AnySequence& UsersType:: + getAny () + { + return this->any_; + } + + void UsersType:: + setAny (const AnySequence& s) + { + this->any_ = s; + } + + const UsersType::StateType& UsersType:: + getState () const + { + return this->state_.get (); + } + + UsersType::StateType& UsersType:: + getState () + { + return this->state_.get (); + } + + void UsersType:: + setState (const StateType& x) + { + this->state_.set (x); + } + + void UsersType:: + setState (::std::unique_ptr< StateType > x) + { + this->state_.set (std::move (x)); + } + + ::std::unique_ptr< UsersType::StateType > UsersType:: + setDetachState () + { + return this->state_.detach (); + } + + const UsersType::StateType& UsersType:: + getStateDefaultValue () + { + return state_default_value_; + } + + const UsersType::AnyAttributeSet& UsersType:: + getAnyAttribute () const + { + return this->any_attribute_; + } + + UsersType::AnyAttributeSet& UsersType:: + getAnyAttribute () + { + return this->any_attribute_; + } + + void UsersType:: + setAnyAttribute (const AnyAttributeSet& s) + { + this->any_attribute_ = s; + } + + const ::xercesc::DOMDocument& UsersType:: + getDomDocument () const + { + return *this->dom_document_; + } + + ::xercesc::DOMDocument& UsersType:: + getDomDocument () + { + return *this->dom_document_; + } + + + // UserType + // + + const UserType::DisplayTextOptional& UserType:: + getDisplayText () const + { + return this->display_text_; + } + + UserType::DisplayTextOptional& UserType:: + getDisplayText () + { + return this->display_text_; + } + + void UserType:: + setDisplayText (const DisplayTextType& x) + { + this->display_text_.set (x); + } + + void UserType:: + setDisplayText (const DisplayTextOptional& x) + { + this->display_text_ = x; + } + + void UserType:: + setDisplayText (::std::unique_ptr< DisplayTextType > x) + { + this->display_text_.set (std::move (x)); + } + + const UserType::AssociatedAorsOptional& UserType:: + getAssociatedAors () const + { + return this->associated_aors_; + } + + UserType::AssociatedAorsOptional& UserType:: + getAssociatedAors () + { + return this->associated_aors_; + } + + void UserType:: + setAssociatedAors (const AssociatedAorsType& x) + { + this->associated_aors_.set (x); + } + + void UserType:: + setAssociatedAors (const AssociatedAorsOptional& x) + { + this->associated_aors_ = x; + } + + void UserType:: + setAssociatedAors (::std::unique_ptr< AssociatedAorsType > x) + { + this->associated_aors_.set (std::move (x)); + } + + const UserType::RolesOptional& UserType:: + getRoles () const + { + return this->roles_; + } + + UserType::RolesOptional& UserType:: + getRoles () + { + return this->roles_; + } + + void UserType:: + setRoles (const RolesType& x) + { + this->roles_.set (x); + } + + void UserType:: + setRoles (const RolesOptional& x) + { + this->roles_ = x; + } + + void UserType:: + setRoles (::std::unique_ptr< RolesType > x) + { + this->roles_.set (std::move (x)); + } + + const UserType::LanguagesOptional& UserType:: + getLanguages () const + { + return this->languages_; + } + + UserType::LanguagesOptional& UserType:: + getLanguages () + { + return this->languages_; + } + + void UserType:: + setLanguages (const LanguagesType& x) + { + this->languages_.set (x); + } + + void UserType:: + setLanguages (const LanguagesOptional& x) + { + this->languages_ = x; + } + + void UserType:: + setLanguages (::std::unique_ptr< LanguagesType > x) + { + this->languages_.set (std::move (x)); + } + + const UserType::CascadedFocusOptional& UserType:: + getCascadedFocus () const + { + return this->cascaded_focus_; + } + + UserType::CascadedFocusOptional& UserType:: + getCascadedFocus () + { + return this->cascaded_focus_; + } + + void UserType:: + setCascadedFocus (const CascadedFocusType& x) + { + this->cascaded_focus_.set (x); + } + + void UserType:: + setCascadedFocus (const CascadedFocusOptional& x) + { + this->cascaded_focus_ = x; + } + + void UserType:: + setCascadedFocus (::std::unique_ptr< CascadedFocusType > x) + { + this->cascaded_focus_.set (std::move (x)); + } + + const UserType::EndpointSequence& UserType:: + getEndpoint () const + { + return this->endpoint_; + } + + UserType::EndpointSequence& UserType:: + getEndpoint () + { + return this->endpoint_; + } + + void UserType:: + setEndpoint (const EndpointSequence& s) + { + this->endpoint_ = s; + } + + const UserType::AnySequence& UserType:: + getAny () const + { + return this->any_; + } + + UserType::AnySequence& UserType:: + getAny () + { + return this->any_; + } + + void UserType:: + setAny (const AnySequence& s) + { + this->any_ = s; + } + + const UserType::EntityOptional& UserType:: + getEntity () const + { + return this->entity_; + } + + UserType::EntityOptional& UserType:: + getEntity () + { + return this->entity_; + } + + void UserType:: + setEntity (const EntityType& x) + { + this->entity_.set (x); + } + + void UserType:: + setEntity (const EntityOptional& x) + { + this->entity_ = x; + } + + void UserType:: + setEntity (::std::unique_ptr< EntityType > x) + { + this->entity_.set (std::move (x)); + } + + const UserType::StateType& UserType:: + getState () const + { + return this->state_.get (); + } + + UserType::StateType& UserType:: + getState () + { + return this->state_.get (); + } + + void UserType:: + setState (const StateType& x) + { + this->state_.set (x); + } + + void UserType:: + setState (::std::unique_ptr< StateType > x) + { + this->state_.set (std::move (x)); + } + + ::std::unique_ptr< UserType::StateType > UserType:: + setDetachState () + { + return this->state_.detach (); + } + + const UserType::StateType& UserType:: + getStateDefaultValue () + { + return state_default_value_; + } + + const UserType::AnyAttributeSet& UserType:: + getAnyAttribute () const + { + return this->any_attribute_; + } + + UserType::AnyAttributeSet& UserType:: + getAnyAttribute () + { + return this->any_attribute_; + } + + void UserType:: + setAnyAttribute (const AnyAttributeSet& s) + { + this->any_attribute_ = s; + } + + const ::xercesc::DOMDocument& UserType:: + getDomDocument () const + { + return *this->dom_document_; + } + + ::xercesc::DOMDocument& UserType:: + getDomDocument () + { + return *this->dom_document_; + } + + + // UserRolesType + // + + const UserRolesType::EntrySequence& UserRolesType:: + getEntry () const + { + return this->entry_; + } + + UserRolesType::EntrySequence& UserRolesType:: + getEntry () + { + return this->entry_; + } + + void UserRolesType:: + setEntry (const EntrySequence& s) + { + this->entry_ = s; + } + + const UserRolesType::AnyAttributeSet& UserRolesType:: + getAnyAttribute () const + { + return this->any_attribute_; + } + + UserRolesType::AnyAttributeSet& UserRolesType:: + getAnyAttribute () + { + return this->any_attribute_; + } + + void UserRolesType:: + setAnyAttribute (const AnyAttributeSet& s) + { + this->any_attribute_ = s; + } + + const ::xercesc::DOMDocument& UserRolesType:: + getDomDocument () const + { + return *this->dom_document_; + } + + ::xercesc::DOMDocument& UserRolesType:: + getDomDocument () + { + return *this->dom_document_; + } + + + // UserLanguagesType + // + + UserLanguagesType:: + UserLanguagesType () + : ::xsd::cxx::tree::list< ::LinphonePrivate::Xsd::XmlSchema::Language, char > (this) + { + } + + UserLanguagesType:: + UserLanguagesType (size_type n, const ::LinphonePrivate::Xsd::XmlSchema::Language& x) + : ::xsd::cxx::tree::list< ::LinphonePrivate::Xsd::XmlSchema::Language, char > (n, x, this) + { + } + + UserLanguagesType:: + UserLanguagesType (const UserLanguagesType& o, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::SimpleType (o, f, c), + ::xsd::cxx::tree::list< ::LinphonePrivate::Xsd::XmlSchema::Language, char > (o, f, this) + { + } + + // EndpointType + // + + const EndpointType::DisplayTextOptional& EndpointType:: + getDisplayText () const + { + return this->display_text_; + } + + EndpointType::DisplayTextOptional& EndpointType:: + getDisplayText () + { + return this->display_text_; + } + + void EndpointType:: + setDisplayText (const DisplayTextType& x) + { + this->display_text_.set (x); + } + + void EndpointType:: + setDisplayText (const DisplayTextOptional& x) + { + this->display_text_ = x; + } + + void EndpointType:: + setDisplayText (::std::unique_ptr< DisplayTextType > x) + { + this->display_text_.set (std::move (x)); + } + + const EndpointType::ReferredOptional& EndpointType:: + getReferred () const + { + return this->referred_; + } + + EndpointType::ReferredOptional& EndpointType:: + getReferred () + { + return this->referred_; + } + + void EndpointType:: + setReferred (const ReferredType& x) + { + this->referred_.set (x); + } + + void EndpointType:: + setReferred (const ReferredOptional& x) + { + this->referred_ = x; + } + + void EndpointType:: + setReferred (::std::unique_ptr< ReferredType > x) + { + this->referred_.set (std::move (x)); + } + + const EndpointType::StatusOptional& EndpointType:: + getStatus () const + { + return this->status_; + } + + EndpointType::StatusOptional& EndpointType:: + getStatus () + { + return this->status_; + } + + void EndpointType:: + setStatus (const StatusType& x) + { + this->status_.set (x); + } + + void EndpointType:: + setStatus (const StatusOptional& x) + { + this->status_ = x; + } + + void EndpointType:: + setStatus (::std::unique_ptr< StatusType > x) + { + this->status_.set (std::move (x)); + } + + const EndpointType::JoiningMethodOptional& EndpointType:: + getJoiningMethod () const + { + return this->joining_method_; + } + + EndpointType::JoiningMethodOptional& EndpointType:: + getJoiningMethod () + { + return this->joining_method_; + } + + void EndpointType:: + setJoiningMethod (const JoiningMethodType& x) + { + this->joining_method_.set (x); + } + + void EndpointType:: + setJoiningMethod (const JoiningMethodOptional& x) + { + this->joining_method_ = x; + } + + void EndpointType:: + setJoiningMethod (::std::unique_ptr< JoiningMethodType > x) + { + this->joining_method_.set (std::move (x)); + } + + const EndpointType::JoiningInfoOptional& EndpointType:: + getJoiningInfo () const + { + return this->joining_info_; + } + + EndpointType::JoiningInfoOptional& EndpointType:: + getJoiningInfo () + { + return this->joining_info_; + } + + void EndpointType:: + setJoiningInfo (const JoiningInfoType& x) + { + this->joining_info_.set (x); + } + + void EndpointType:: + setJoiningInfo (const JoiningInfoOptional& x) + { + this->joining_info_ = x; + } + + void EndpointType:: + setJoiningInfo (::std::unique_ptr< JoiningInfoType > x) + { + this->joining_info_.set (std::move (x)); + } + + const EndpointType::DisconnectionMethodOptional& EndpointType:: + getDisconnectionMethod () const + { + return this->disconnection_method_; + } + + EndpointType::DisconnectionMethodOptional& EndpointType:: + getDisconnectionMethod () + { + return this->disconnection_method_; + } + + void EndpointType:: + setDisconnectionMethod (const DisconnectionMethodType& x) + { + this->disconnection_method_.set (x); + } + + void EndpointType:: + setDisconnectionMethod (const DisconnectionMethodOptional& x) + { + this->disconnection_method_ = x; + } + + void EndpointType:: + setDisconnectionMethod (::std::unique_ptr< DisconnectionMethodType > x) + { + this->disconnection_method_.set (std::move (x)); + } + + const EndpointType::DisconnectionInfoOptional& EndpointType:: + getDisconnectionInfo () const + { + return this->disconnection_info_; + } + + EndpointType::DisconnectionInfoOptional& EndpointType:: + getDisconnectionInfo () + { + return this->disconnection_info_; + } + + void EndpointType:: + setDisconnectionInfo (const DisconnectionInfoType& x) + { + this->disconnection_info_.set (x); + } + + void EndpointType:: + setDisconnectionInfo (const DisconnectionInfoOptional& x) + { + this->disconnection_info_ = x; + } + + void EndpointType:: + setDisconnectionInfo (::std::unique_ptr< DisconnectionInfoType > x) + { + this->disconnection_info_.set (std::move (x)); + } + + const EndpointType::MediaSequence& EndpointType:: + getMedia () const + { + return this->media_; + } + + EndpointType::MediaSequence& EndpointType:: + getMedia () + { + return this->media_; + } + + void EndpointType:: + setMedia (const MediaSequence& s) + { + this->media_ = s; + } + + const EndpointType::CallInfoOptional& EndpointType:: + getCallInfo () const + { + return this->call_info_; + } + + EndpointType::CallInfoOptional& EndpointType:: + getCallInfo () + { + return this->call_info_; + } + + void EndpointType:: + setCallInfo (const CallInfoType& x) + { + this->call_info_.set (x); + } + + void EndpointType:: + setCallInfo (const CallInfoOptional& x) + { + this->call_info_ = x; + } + + void EndpointType:: + setCallInfo (::std::unique_ptr< CallInfoType > x) + { + this->call_info_.set (std::move (x)); + } + + const EndpointType::AnySequence& EndpointType:: + getAny () const + { + return this->any_; + } + + EndpointType::AnySequence& EndpointType:: + getAny () + { + return this->any_; + } + + void EndpointType:: + setAny (const AnySequence& s) + { + this->any_ = s; + } + + const EndpointType::EntityOptional& EndpointType:: + getEntity () const + { + return this->entity_; + } + + EndpointType::EntityOptional& EndpointType:: + getEntity () + { + return this->entity_; + } + + void EndpointType:: + setEntity (const EntityType& x) + { + this->entity_.set (x); + } + + void EndpointType:: + setEntity (const EntityOptional& x) + { + this->entity_ = x; + } + + void EndpointType:: + setEntity (::std::unique_ptr< EntityType > x) + { + this->entity_.set (std::move (x)); + } + + const EndpointType::StateType& EndpointType:: + getState () const + { + return this->state_.get (); + } + + EndpointType::StateType& EndpointType:: + getState () + { + return this->state_.get (); + } + + void EndpointType:: + setState (const StateType& x) + { + this->state_.set (x); + } + + void EndpointType:: + setState (::std::unique_ptr< StateType > x) + { + this->state_.set (std::move (x)); + } + + ::std::unique_ptr< EndpointType::StateType > EndpointType:: + setDetachState () + { + return this->state_.detach (); + } + + const EndpointType::StateType& EndpointType:: + getStateDefaultValue () + { + return state_default_value_; + } + + const EndpointType::AnyAttributeSet& EndpointType:: + getAnyAttribute () const + { + return this->any_attribute_; + } + + EndpointType::AnyAttributeSet& EndpointType:: + getAnyAttribute () + { + return this->any_attribute_; + } + + void EndpointType:: + setAnyAttribute (const AnyAttributeSet& s) + { + this->any_attribute_ = s; + } + + const ::xercesc::DOMDocument& EndpointType:: + getDomDocument () const + { + return *this->dom_document_; + } + + ::xercesc::DOMDocument& EndpointType:: + getDomDocument () + { + return *this->dom_document_; + } + + + // EndpointStatusType + // + + EndpointStatusType:: + EndpointStatusType (Value v) + : ::LinphonePrivate::Xsd::XmlSchema::String (_xsd_EndpointStatusType_literals_[v]) + { + } + + EndpointStatusType:: + EndpointStatusType (const char* v) + : ::LinphonePrivate::Xsd::XmlSchema::String (v) + { + } + + EndpointStatusType:: + EndpointStatusType (const ::std::string& v) + : ::LinphonePrivate::Xsd::XmlSchema::String (v) + { + } + + EndpointStatusType:: + EndpointStatusType (const ::LinphonePrivate::Xsd::XmlSchema::String& v) + : ::LinphonePrivate::Xsd::XmlSchema::String (v) + { + } + + EndpointStatusType:: + EndpointStatusType (const EndpointStatusType& v, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (v, f, c) + { + } + + EndpointStatusType& EndpointStatusType:: + operator= (Value v) + { + static_cast< ::LinphonePrivate::Xsd::XmlSchema::String& > (*this) = + ::LinphonePrivate::Xsd::XmlSchema::String (_xsd_EndpointStatusType_literals_[v]); + + return *this; + } + + + // JoiningType + // + + JoiningType:: + JoiningType (Value v) + : ::LinphonePrivate::Xsd::XmlSchema::String (_xsd_JoiningType_literals_[v]) + { + } + + JoiningType:: + JoiningType (const char* v) + : ::LinphonePrivate::Xsd::XmlSchema::String (v) + { + } + + JoiningType:: + JoiningType (const ::std::string& v) + : ::LinphonePrivate::Xsd::XmlSchema::String (v) + { + } + + JoiningType:: + JoiningType (const ::LinphonePrivate::Xsd::XmlSchema::String& v) + : ::LinphonePrivate::Xsd::XmlSchema::String (v) + { + } + + JoiningType:: + JoiningType (const JoiningType& v, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (v, f, c) + { + } + + JoiningType& JoiningType:: + operator= (Value v) + { + static_cast< ::LinphonePrivate::Xsd::XmlSchema::String& > (*this) = + ::LinphonePrivate::Xsd::XmlSchema::String (_xsd_JoiningType_literals_[v]); + + return *this; + } + + + // DisconnectionType + // + + DisconnectionType:: + DisconnectionType (Value v) + : ::LinphonePrivate::Xsd::XmlSchema::String (_xsd_DisconnectionType_literals_[v]) + { + } + + DisconnectionType:: + DisconnectionType (const char* v) + : ::LinphonePrivate::Xsd::XmlSchema::String (v) + { + } + + DisconnectionType:: + DisconnectionType (const ::std::string& v) + : ::LinphonePrivate::Xsd::XmlSchema::String (v) + { + } + + DisconnectionType:: + DisconnectionType (const ::LinphonePrivate::Xsd::XmlSchema::String& v) + : ::LinphonePrivate::Xsd::XmlSchema::String (v) + { + } + + DisconnectionType:: + DisconnectionType (const DisconnectionType& v, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (v, f, c) + { + } + + DisconnectionType& DisconnectionType:: + operator= (Value v) + { + static_cast< ::LinphonePrivate::Xsd::XmlSchema::String& > (*this) = + ::LinphonePrivate::Xsd::XmlSchema::String (_xsd_DisconnectionType_literals_[v]); + + return *this; + } + + + // ExecutionType + // + + const ExecutionType::WhenOptional& ExecutionType:: + getWhen () const + { + return this->when_; + } + + ExecutionType::WhenOptional& ExecutionType:: + getWhen () + { + return this->when_; + } + + void ExecutionType:: + setWhen (const WhenType& x) + { + this->when_.set (x); + } + + void ExecutionType:: + setWhen (const WhenOptional& x) + { + this->when_ = x; + } + + void ExecutionType:: + setWhen (::std::unique_ptr< WhenType > x) + { + this->when_.set (std::move (x)); + } + + const ExecutionType::ReasonOptional& ExecutionType:: + getReason () const + { + return this->reason_; + } + + ExecutionType::ReasonOptional& ExecutionType:: + getReason () + { + return this->reason_; + } + + void ExecutionType:: + setReason (const ReasonType& x) + { + this->reason_.set (x); + } + + void ExecutionType:: + setReason (const ReasonOptional& x) + { + this->reason_ = x; + } + + void ExecutionType:: + setReason (::std::unique_ptr< ReasonType > x) + { + this->reason_.set (std::move (x)); + } + + const ExecutionType::ByOptional& ExecutionType:: + getBy () const + { + return this->by_; + } + + ExecutionType::ByOptional& ExecutionType:: + getBy () + { + return this->by_; + } + + void ExecutionType:: + setBy (const ByType& x) + { + this->by_.set (x); + } + + void ExecutionType:: + setBy (const ByOptional& x) + { + this->by_ = x; + } + + void ExecutionType:: + setBy (::std::unique_ptr< ByType > x) + { + this->by_.set (std::move (x)); + } + + const ExecutionType::AnyAttributeSet& ExecutionType:: + getAnyAttribute () const + { + return this->any_attribute_; + } + + ExecutionType::AnyAttributeSet& ExecutionType:: + getAnyAttribute () + { + return this->any_attribute_; + } + + void ExecutionType:: + setAnyAttribute (const AnyAttributeSet& s) + { + this->any_attribute_ = s; + } + + const ::xercesc::DOMDocument& ExecutionType:: + getDomDocument () const + { + return *this->dom_document_; + } + + ::xercesc::DOMDocument& ExecutionType:: + getDomDocument () + { + return *this->dom_document_; + } + + + // CallType + // + + const CallType::SipOptional& CallType:: + getSip () const + { + return this->sip_; + } + + CallType::SipOptional& CallType:: + getSip () + { + return this->sip_; + } + + void CallType:: + setSip (const SipType& x) + { + this->sip_.set (x); + } + + void CallType:: + setSip (const SipOptional& x) + { + this->sip_ = x; + } + + void CallType:: + setSip (::std::unique_ptr< SipType > x) + { + this->sip_.set (std::move (x)); + } + + const CallType::AnySequence& CallType:: + getAny () const + { + return this->any_; + } + + CallType::AnySequence& CallType:: + getAny () + { + return this->any_; + } + + void CallType:: + setAny (const AnySequence& s) + { + this->any_ = s; + } + + const CallType::AnyAttributeSet& CallType:: + getAnyAttribute () const + { + return this->any_attribute_; + } + + CallType::AnyAttributeSet& CallType:: + getAnyAttribute () + { + return this->any_attribute_; + } + + void CallType:: + setAnyAttribute (const AnyAttributeSet& s) + { + this->any_attribute_ = s; + } + + const ::xercesc::DOMDocument& CallType:: + getDomDocument () const + { + return *this->dom_document_; + } + + ::xercesc::DOMDocument& CallType:: + getDomDocument () + { + return *this->dom_document_; + } + + + // SipDialogIdType + // + + const SipDialogIdType::DisplayTextOptional& SipDialogIdType:: + getDisplayText () const + { + return this->display_text_; + } + + SipDialogIdType::DisplayTextOptional& SipDialogIdType:: + getDisplayText () + { + return this->display_text_; + } + + void SipDialogIdType:: + setDisplayText (const DisplayTextType& x) + { + this->display_text_.set (x); + } + + void SipDialogIdType:: + setDisplayText (const DisplayTextOptional& x) + { + this->display_text_ = x; + } + + void SipDialogIdType:: + setDisplayText (::std::unique_ptr< DisplayTextType > x) + { + this->display_text_.set (std::move (x)); + } + + const SipDialogIdType::CallIdType& SipDialogIdType:: + getCallId () const + { + return this->call_id_.get (); + } + + SipDialogIdType::CallIdType& SipDialogIdType:: + getCallId () + { + return this->call_id_.get (); + } + + void SipDialogIdType:: + setCallId (const CallIdType& x) + { + this->call_id_.set (x); + } + + void SipDialogIdType:: + setCallId (::std::unique_ptr< CallIdType > x) + { + this->call_id_.set (std::move (x)); + } + + ::std::unique_ptr< SipDialogIdType::CallIdType > SipDialogIdType:: + setDetachCall_id () + { + return this->call_id_.detach (); + } + + const SipDialogIdType::FromTagType& SipDialogIdType:: + getFromTag () const + { + return this->from_tag_.get (); + } + + SipDialogIdType::FromTagType& SipDialogIdType:: + getFromTag () + { + return this->from_tag_.get (); + } + + void SipDialogIdType:: + setFromTag (const FromTagType& x) + { + this->from_tag_.set (x); + } + + void SipDialogIdType:: + setFromTag (::std::unique_ptr< FromTagType > x) + { + this->from_tag_.set (std::move (x)); + } + + ::std::unique_ptr< SipDialogIdType::FromTagType > SipDialogIdType:: + setDetachFrom_tag () + { + return this->from_tag_.detach (); + } + + const SipDialogIdType::ToTagType& SipDialogIdType:: + getToTag () const + { + return this->to_tag_.get (); + } + + SipDialogIdType::ToTagType& SipDialogIdType:: + getToTag () + { + return this->to_tag_.get (); + } + + void SipDialogIdType:: + setToTag (const ToTagType& x) + { + this->to_tag_.set (x); + } + + void SipDialogIdType:: + setToTag (::std::unique_ptr< ToTagType > x) + { + this->to_tag_.set (std::move (x)); + } + + ::std::unique_ptr< SipDialogIdType::ToTagType > SipDialogIdType:: + setDetachTo_tag () + { + return this->to_tag_.detach (); + } + + const SipDialogIdType::AnySequence& SipDialogIdType:: + getAny () const + { + return this->any_; + } + + SipDialogIdType::AnySequence& SipDialogIdType:: + getAny () + { + return this->any_; + } + + void SipDialogIdType:: + setAny (const AnySequence& s) + { + this->any_ = s; + } + + const SipDialogIdType::AnyAttributeSet& SipDialogIdType:: + getAnyAttribute () const + { + return this->any_attribute_; + } + + SipDialogIdType::AnyAttributeSet& SipDialogIdType:: + getAnyAttribute () + { + return this->any_attribute_; + } + + void SipDialogIdType:: + setAnyAttribute (const AnyAttributeSet& s) + { + this->any_attribute_ = s; + } + + const ::xercesc::DOMDocument& SipDialogIdType:: + getDomDocument () const + { + return *this->dom_document_; + } + + ::xercesc::DOMDocument& SipDialogIdType:: + getDomDocument () + { + return *this->dom_document_; + } + + + // MediaType + // + + const MediaType::DisplayTextOptional& MediaType:: + getDisplayText () const + { + return this->display_text_; + } + + MediaType::DisplayTextOptional& MediaType:: + getDisplayText () + { + return this->display_text_; + } + + void MediaType:: + setDisplayText (const DisplayTextType& x) + { + this->display_text_.set (x); + } + + void MediaType:: + setDisplayText (const DisplayTextOptional& x) + { + this->display_text_ = x; + } + + void MediaType:: + setDisplayText (::std::unique_ptr< DisplayTextType > x) + { + this->display_text_.set (std::move (x)); + } + + const MediaType::TypeOptional& MediaType:: + getType () const + { + return this->type_; + } + + MediaType::TypeOptional& MediaType:: + getType () + { + return this->type_; + } + + void MediaType:: + setType (const TypeType& x) + { + this->type_.set (x); + } + + void MediaType:: + setType (const TypeOptional& x) + { + this->type_ = x; + } + + void MediaType:: + setType (::std::unique_ptr< TypeType > x) + { + this->type_.set (std::move (x)); + } + + const MediaType::LabelOptional& MediaType:: + getLabel () const + { + return this->label_; + } + + MediaType::LabelOptional& MediaType:: + getLabel () + { + return this->label_; + } + + void MediaType:: + setLabel (const LabelType& x) + { + this->label_.set (x); + } + + void MediaType:: + setLabel (const LabelOptional& x) + { + this->label_ = x; + } + + void MediaType:: + setLabel (::std::unique_ptr< LabelType > x) + { + this->label_.set (std::move (x)); + } + + const MediaType::SrcIdOptional& MediaType:: + getSrcId () const + { + return this->src_id_; + } + + MediaType::SrcIdOptional& MediaType:: + getSrcId () + { + return this->src_id_; + } + + void MediaType:: + setSrcId (const SrcIdType& x) + { + this->src_id_.set (x); + } + + void MediaType:: + setSrcId (const SrcIdOptional& x) + { + this->src_id_ = x; + } + + void MediaType:: + setSrcId (::std::unique_ptr< SrcIdType > x) + { + this->src_id_.set (std::move (x)); + } + + const MediaType::StatusOptional& MediaType:: + getStatus () const + { + return this->status_; + } + + MediaType::StatusOptional& MediaType:: + getStatus () + { + return this->status_; + } + + void MediaType:: + setStatus (const StatusType& x) + { + this->status_.set (x); + } + + void MediaType:: + setStatus (const StatusOptional& x) + { + this->status_ = x; + } + + void MediaType:: + setStatus (::std::unique_ptr< StatusType > x) + { + this->status_.set (std::move (x)); + } + + const MediaType::AnySequence& MediaType:: + getAny () const + { + return this->any_; + } + + MediaType::AnySequence& MediaType:: + getAny () + { + return this->any_; + } + + void MediaType:: + setAny (const AnySequence& s) + { + this->any_ = s; + } + + const MediaType::IdType& MediaType:: + getId () const + { + return this->id_.get (); + } + + MediaType::IdType& MediaType:: + getId () + { + return this->id_.get (); + } + + void MediaType:: + setId (const IdType& x) + { + this->id_.set (x); + } + + void MediaType:: + setId (::std::unique_ptr< IdType > x) + { + this->id_.set (std::move (x)); + } + + ::std::unique_ptr< MediaType::IdType > MediaType:: + setDetachId () + { + return this->id_.detach (); + } + + const MediaType::AnyAttributeSet& MediaType:: + getAnyAttribute () const + { + return this->any_attribute_; + } + + MediaType::AnyAttributeSet& MediaType:: + getAnyAttribute () + { + return this->any_attribute_; + } + + void MediaType:: + setAnyAttribute (const AnyAttributeSet& s) + { + this->any_attribute_ = s; + } + + const ::xercesc::DOMDocument& MediaType:: + getDomDocument () const + { + return *this->dom_document_; + } + + ::xercesc::DOMDocument& MediaType:: + getDomDocument () + { + return *this->dom_document_; + } + + + // MediaStatusType + // + + MediaStatusType:: + MediaStatusType (Value v) + : ::LinphonePrivate::Xsd::XmlSchema::String (_xsd_MediaStatusType_literals_[v]) + { + } + + MediaStatusType:: + MediaStatusType (const char* v) + : ::LinphonePrivate::Xsd::XmlSchema::String (v) + { + } + + MediaStatusType:: + MediaStatusType (const ::std::string& v) + : ::LinphonePrivate::Xsd::XmlSchema::String (v) + { + } + + MediaStatusType:: + MediaStatusType (const ::LinphonePrivate::Xsd::XmlSchema::String& v) + : ::LinphonePrivate::Xsd::XmlSchema::String (v) + { + } + + MediaStatusType:: + MediaStatusType (const MediaStatusType& v, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (v, f, c) + { + } + + MediaStatusType& MediaStatusType:: + operator= (Value v) + { + static_cast< ::LinphonePrivate::Xsd::XmlSchema::String& > (*this) = + ::LinphonePrivate::Xsd::XmlSchema::String (_xsd_MediaStatusType_literals_[v]); + + return *this; + } + + + // SidebarsByValType + // + + const SidebarsByValType::EntrySequence& SidebarsByValType:: + getEntry () const + { + return this->entry_; + } + + SidebarsByValType::EntrySequence& SidebarsByValType:: + getEntry () + { + return this->entry_; + } + + void SidebarsByValType:: + setEntry (const EntrySequence& s) + { + this->entry_ = s; + } + + const SidebarsByValType::StateType& SidebarsByValType:: + getState () const + { + return this->state_.get (); + } + + SidebarsByValType::StateType& SidebarsByValType:: + getState () + { + return this->state_.get (); + } + + void SidebarsByValType:: + setState (const StateType& x) + { + this->state_.set (x); + } + + void SidebarsByValType:: + setState (::std::unique_ptr< StateType > x) + { + this->state_.set (std::move (x)); + } + + ::std::unique_ptr< SidebarsByValType::StateType > SidebarsByValType:: + setDetachState () + { + return this->state_.detach (); + } + + const SidebarsByValType::StateType& SidebarsByValType:: + getStateDefaultValue () + { + return state_default_value_; + } + + const SidebarsByValType::AnyAttributeSet& SidebarsByValType:: + getAnyAttribute () const + { + return this->any_attribute_; + } + + SidebarsByValType::AnyAttributeSet& SidebarsByValType:: + getAnyAttribute () + { + return this->any_attribute_; + } + + void SidebarsByValType:: + setAnyAttribute (const AnyAttributeSet& s) + { + this->any_attribute_ = s; + } + + const ::xercesc::DOMDocument& SidebarsByValType:: + getDomDocument () const + { + return *this->dom_document_; + } + + ::xercesc::DOMDocument& SidebarsByValType:: + getDomDocument () + { + return *this->dom_document_; + } + } } } @@ -3201,4063 +3205,4075 @@ namespace conference_info #include -namespace conference_info +namespace LinphonePrivate { - // Conference_type - // - - const Conference_type::StateType Conference_type::state_default_value_ ( - "full"); - - Conference_type:: - Conference_type (const EntityType& entity) - : ::xml_schema::Type (), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - conference_description_ (this), - host_info_ (this), - conference_state_ (this), - users_ (this), - sidebars_by_ref_ (this), - sidebars_by_val_ (this), - any_ (this->getDomDocument ()), - entity_ (entity, this), - state_ (getStateDefaultValue (), this), - version_ (this), - any_attribute_ (this->getDomDocument ()) + namespace Xsd { - } - - Conference_type:: - Conference_type (const Conference_type& x, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (x, f, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - conference_description_ (x.conference_description_, f, this), - host_info_ (x.host_info_, f, this), - conference_state_ (x.conference_state_, f, this), - users_ (x.users_, f, this), - sidebars_by_ref_ (x.sidebars_by_ref_, f, this), - sidebars_by_val_ (x.sidebars_by_val_, f, this), - any_ (x.any_, this->getDomDocument ()), - entity_ (x.entity_, f, this), - state_ (x.state_, f, this), - version_ (x.version_, f, this), - any_attribute_ (x.any_attribute_, this->getDomDocument ()) - { - } - - Conference_type:: - Conference_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (e, f | ::xml_schema::Flags::base, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - conference_description_ (this), - host_info_ (this), - conference_state_ (this), - users_ (this), - sidebars_by_ref_ (this), - sidebars_by_val_ (this), - any_ (this->getDomDocument ()), - entity_ (this), - state_ (this), - version_ (this), - any_attribute_ (this->getDomDocument ()) - { - if ((f & ::xml_schema::Flags::base) == 0) + namespace ConferenceInfo { - ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); - this->parse (p, f); - } - } - - void Conference_type:: - parse (::xsd::cxx::xml::dom::parser< char >& p, - ::xml_schema::Flags f) - { - for (; p.more_content (); p.next_content (false)) - { - const ::xercesc::DOMElement& i (p.cur_element ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // conference-description + // ConferenceType // - if (n.name () == "conference-description" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< Conference_descriptionType > r ( - Conference_descriptionTraits::create (i, f, this)); - if (!this->conference_description_) + const ConferenceType::StateType ConferenceType::state_default_value_ ( + "full"); + + ConferenceType:: + ConferenceType (const EntityType& entity) + : ::LinphonePrivate::Xsd::XmlSchema::Type (), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + conference_description_ (this), + host_info_ (this), + conference_state_ (this), + users_ (this), + sidebars_by_ref_ (this), + sidebars_by_val_ (this), + any_ (this->getDomDocument ()), + entity_ (entity, this), + state_ (getStateDefaultValue (), this), + version_ (this), + any_attribute_ (this->getDomDocument ()) + { + } + + ConferenceType:: + ConferenceType (const ConferenceType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (x, f, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + conference_description_ (x.conference_description_, f, this), + host_info_ (x.host_info_, f, this), + conference_state_ (x.conference_state_, f, this), + users_ (x.users_, f, this), + sidebars_by_ref_ (x.sidebars_by_ref_, f, this), + sidebars_by_val_ (x.sidebars_by_val_, f, this), + any_ (x.any_, this->getDomDocument ()), + entity_ (x.entity_, f, this), + state_ (x.state_, f, this), + version_ (x.version_, f, this), + any_attribute_ (x.any_attribute_, this->getDomDocument ()) + { + } + + ConferenceType:: + ConferenceType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (e, f | ::LinphonePrivate::Xsd::XmlSchema::Flags::base, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + conference_description_ (this), + host_info_ (this), + conference_state_ (this), + users_ (this), + sidebars_by_ref_ (this), + sidebars_by_val_ (this), + any_ (this->getDomDocument ()), + entity_ (this), + state_ (this), + version_ (this), + any_attribute_ (this->getDomDocument ()) + { + if ((f & ::LinphonePrivate::Xsd::XmlSchema::Flags::base) == 0) { - this->conference_description_.set (::std::move (r)); - continue; + ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); + this->parse (p, f); } } - // host-info - // - if (n.name () == "host-info" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + void ConferenceType:: + parse (::xsd::cxx::xml::dom::parser< char >& p, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) { - ::std::unique_ptr< Host_infoType > r ( - Host_infoTraits::create (i, f, this)); - - if (!this->host_info_) + for (; p.more_content (); p.next_content (false)) { - this->host_info_.set (::std::move (r)); - continue; + const ::xercesc::DOMElement& i (p.cur_element ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // conference-description + // + if (n.name () == "conference-description" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< ConferenceDescriptionType > r ( + ConferenceDescriptionTraits::create (i, f, this)); + + if (!this->conference_description_) + { + this->conference_description_.set (::std::move (r)); + continue; + } + } + + // host-info + // + if (n.name () == "host-info" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< HostInfoType > r ( + HostInfoTraits::create (i, f, this)); + + if (!this->host_info_) + { + this->host_info_.set (::std::move (r)); + continue; + } + } + + // conference-state + // + if (n.name () == "conference-state" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< ConferenceStateType > r ( + ConferenceStateTraits::create (i, f, this)); + + if (!this->conference_state_) + { + this->conference_state_.set (::std::move (r)); + continue; + } + } + + // users + // + if (n.name () == "users" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< UsersType > r ( + UsersTraits::create (i, f, this)); + + if (!this->users_) + { + this->users_.set (::std::move (r)); + continue; + } + } + + // sidebars-by-ref + // + if (n.name () == "sidebars-by-ref" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< SidebarsByRefType > r ( + SidebarsByRefTraits::create (i, f, this)); + + if (!this->sidebars_by_ref_) + { + this->sidebars_by_ref_.set (::std::move (r)); + continue; + } + } + + // sidebars-by-val + // + if (n.name () == "sidebars-by-val" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< SidebarsByValType > r ( + SidebarsByValTraits::create (i, f, this)); + + if (!this->sidebars_by_val_) + { + this->sidebars_by_val_.set (::std::move (r)); + continue; + } + } + + // any + // + if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:conference-info")) + { + ::xercesc::DOMElement* r ( + static_cast< ::xercesc::DOMElement* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMElement* > (&i), true))); + this->any_.push_back (r); + continue; + } + + break; + } + + while (p.more_attributes ()) + { + const ::xercesc::DOMAttr& i (p.next_attribute ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + if (n.name () == "entity" && n.namespace_ ().empty ()) + { + this->entity_.set (EntityTraits::create (i, f, this)); + continue; + } + + if (n.name () == "state" && n.namespace_ ().empty ()) + { + this->state_.set (StateTraits::create (i, f, this)); + continue; + } + + if (n.name () == "version" && n.namespace_ ().empty ()) + { + this->version_.set (VersionTraits::create (i, f, this)); + continue; + } + + // any_attribute + // + if ((!n.namespace_ ().empty () && + n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && + n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && + n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + { + ::xercesc::DOMAttr* r ( + static_cast< ::xercesc::DOMAttr* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMAttr* > (&i), true))); + this->any_attribute_ .insert (r); + continue; + } + } + + if (!entity_.present ()) + { + throw ::xsd::cxx::tree::expected_attribute< char > ( + "entity", + ""); + } + + if (!state_.present ()) + { + this->state_.set (getStateDefaultValue ()); } } - // conference-state - // - if (n.name () == "conference-state" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + ConferenceType* ConferenceType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const { - ::std::unique_ptr< Conference_stateType > r ( - Conference_stateTraits::create (i, f, this)); + return new class ConferenceType (*this, f, c); + } - if (!this->conference_state_) + ConferenceType& ConferenceType:: + operator= (const ConferenceType& x) + { + if (this != &x) { - this->conference_state_.set (::std::move (r)); - continue; + static_cast< ::LinphonePrivate::Xsd::XmlSchema::Type& > (*this) = x; + this->conference_description_ = x.conference_description_; + this->host_info_ = x.host_info_; + this->conference_state_ = x.conference_state_; + this->users_ = x.users_; + this->sidebars_by_ref_ = x.sidebars_by_ref_; + this->sidebars_by_val_ = x.sidebars_by_val_; + this->any_ = x.any_; + this->entity_ = x.entity_; + this->state_ = x.state_; + this->version_ = x.version_; + this->any_attribute_ = x.any_attribute_; + } + + return *this; + } + + ConferenceType:: + ~ConferenceType () + { + } + + // StateType + // + + StateType:: + StateType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (e, f, c) + { + _xsd_StateType_convert (); + } + + StateType:: + StateType (const ::xercesc::DOMAttr& a, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (a, f, c) + { + _xsd_StateType_convert (); + } + + StateType:: + StateType (const ::std::string& s, + const ::xercesc::DOMElement* e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (s, e, f, c) + { + _xsd_StateType_convert (); + } + + StateType* StateType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const + { + return new class StateType (*this, f, c); + } + + StateType::Value StateType:: + _xsd_StateType_convert () const + { + ::xsd::cxx::tree::enum_comparator< char > c (_xsd_StateType_literals_); + const Value* i (::std::lower_bound ( + _xsd_StateType_indexes_, + _xsd_StateType_indexes_ + 3, + *this, + c)); + + if (i == _xsd_StateType_indexes_ + 3 || _xsd_StateType_literals_[*i] != *this) + { + throw ::xsd::cxx::tree::unexpected_enumerator < char > (*this); + } + + return *i; + } + + const char* const StateType:: + _xsd_StateType_literals_[3] = + { + "full", + "partial", + "deleted" + }; + + const StateType::Value StateType:: + _xsd_StateType_indexes_[3] = + { + ::LinphonePrivate::Xsd::ConferenceInfo::StateType::deleted, + ::LinphonePrivate::Xsd::ConferenceInfo::StateType::full, + ::LinphonePrivate::Xsd::ConferenceInfo::StateType::partial + }; + + // ConferenceDescriptionType + // + + ConferenceDescriptionType:: + ConferenceDescriptionType () + : ::LinphonePrivate::Xsd::XmlSchema::Type (), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_text_ (this), + subject_ (this), + free_text_ (this), + keywords_ (this), + conf_uris_ (this), + service_uris_ (this), + maximum_user_count_ (this), + available_media_ (this), + any_ (this->getDomDocument ()), + any_attribute_ (this->getDomDocument ()) + { + } + + ConferenceDescriptionType:: + ConferenceDescriptionType (const ConferenceDescriptionType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (x, f, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_text_ (x.display_text_, f, this), + subject_ (x.subject_, f, this), + free_text_ (x.free_text_, f, this), + keywords_ (x.keywords_, f, this), + conf_uris_ (x.conf_uris_, f, this), + service_uris_ (x.service_uris_, f, this), + maximum_user_count_ (x.maximum_user_count_, f, this), + available_media_ (x.available_media_, f, this), + any_ (x.any_, this->getDomDocument ()), + any_attribute_ (x.any_attribute_, this->getDomDocument ()) + { + } + + ConferenceDescriptionType:: + ConferenceDescriptionType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (e, f | ::LinphonePrivate::Xsd::XmlSchema::Flags::base, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_text_ (this), + subject_ (this), + free_text_ (this), + keywords_ (this), + conf_uris_ (this), + service_uris_ (this), + maximum_user_count_ (this), + available_media_ (this), + any_ (this->getDomDocument ()), + any_attribute_ (this->getDomDocument ()) + { + if ((f & ::LinphonePrivate::Xsd::XmlSchema::Flags::base) == 0) + { + ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); + this->parse (p, f); } } - // users - // - if (n.name () == "users" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + void ConferenceDescriptionType:: + parse (::xsd::cxx::xml::dom::parser< char >& p, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) { - ::std::unique_ptr< UsersType > r ( - UsersTraits::create (i, f, this)); - - if (!this->users_) + for (; p.more_content (); p.next_content (false)) { - this->users_.set (::std::move (r)); - continue; + const ::xercesc::DOMElement& i (p.cur_element ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // display-text + // + if (n.name () == "display-text" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< DisplayTextType > r ( + DisplayTextTraits::create (i, f, this)); + + if (!this->display_text_) + { + this->display_text_.set (::std::move (r)); + continue; + } + } + + // subject + // + if (n.name () == "subject" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< SubjectType > r ( + SubjectTraits::create (i, f, this)); + + if (!this->subject_) + { + this->subject_.set (::std::move (r)); + continue; + } + } + + // free-text + // + if (n.name () == "free-text" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< FreeTextType > r ( + FreeTextTraits::create (i, f, this)); + + if (!this->free_text_) + { + this->free_text_.set (::std::move (r)); + continue; + } + } + + // keywords + // + if (n.name () == "keywords" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< KeywordsType > r ( + KeywordsTraits::create (i, f, this)); + + if (!this->keywords_) + { + this->keywords_.set (::std::move (r)); + continue; + } + } + + // conf-uris + // + if (n.name () == "conf-uris" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< ConfUrisType > r ( + ConfUrisTraits::create (i, f, this)); + + if (!this->conf_uris_) + { + this->conf_uris_.set (::std::move (r)); + continue; + } + } + + // service-uris + // + if (n.name () == "service-uris" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< ServiceUrisType > r ( + ServiceUrisTraits::create (i, f, this)); + + if (!this->service_uris_) + { + this->service_uris_.set (::std::move (r)); + continue; + } + } + + // maximum-user-count + // + if (n.name () == "maximum-user-count" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + if (!this->maximum_user_count_) + { + this->maximum_user_count_.set (MaximumUserCountTraits::create (i, f, this)); + continue; + } + } + + // available-media + // + if (n.name () == "available-media" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< AvailableMediaType > r ( + AvailableMediaTraits::create (i, f, this)); + + if (!this->available_media_) + { + this->available_media_.set (::std::move (r)); + continue; + } + } + + // any + // + if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:conference-info")) + { + ::xercesc::DOMElement* r ( + static_cast< ::xercesc::DOMElement* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMElement* > (&i), true))); + this->any_.push_back (r); + continue; + } + + break; + } + + while (p.more_attributes ()) + { + const ::xercesc::DOMAttr& i (p.next_attribute ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // any_attribute + // + if ((!n.namespace_ ().empty () && + n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && + n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && + n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + { + ::xercesc::DOMAttr* r ( + static_cast< ::xercesc::DOMAttr* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMAttr* > (&i), true))); + this->any_attribute_ .insert (r); + continue; + } } } - // sidebars-by-ref - // - if (n.name () == "sidebars-by-ref" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + ConferenceDescriptionType* ConferenceDescriptionType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const { - ::std::unique_ptr< Sidebars_by_refType > r ( - Sidebars_by_refTraits::create (i, f, this)); + return new class ConferenceDescriptionType (*this, f, c); + } - if (!this->sidebars_by_ref_) + ConferenceDescriptionType& ConferenceDescriptionType:: + operator= (const ConferenceDescriptionType& x) + { + if (this != &x) { - this->sidebars_by_ref_.set (::std::move (r)); - continue; + static_cast< ::LinphonePrivate::Xsd::XmlSchema::Type& > (*this) = x; + this->display_text_ = x.display_text_; + this->subject_ = x.subject_; + this->free_text_ = x.free_text_; + this->keywords_ = x.keywords_; + this->conf_uris_ = x.conf_uris_; + this->service_uris_ = x.service_uris_; + this->maximum_user_count_ = x.maximum_user_count_; + this->available_media_ = x.available_media_; + this->any_ = x.any_; + this->any_attribute_ = x.any_attribute_; + } + + return *this; + } + + ConferenceDescriptionType:: + ~ConferenceDescriptionType () + { + } + + // HostType + // + + HostType:: + HostType () + : ::LinphonePrivate::Xsd::XmlSchema::Type (), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_text_ (this), + web_page_ (this), + uris_ (this), + any_ (this->getDomDocument ()), + any_attribute_ (this->getDomDocument ()) + { + } + + HostType:: + HostType (const HostType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (x, f, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_text_ (x.display_text_, f, this), + web_page_ (x.web_page_, f, this), + uris_ (x.uris_, f, this), + any_ (x.any_, this->getDomDocument ()), + any_attribute_ (x.any_attribute_, this->getDomDocument ()) + { + } + + HostType:: + HostType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (e, f | ::LinphonePrivate::Xsd::XmlSchema::Flags::base, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_text_ (this), + web_page_ (this), + uris_ (this), + any_ (this->getDomDocument ()), + any_attribute_ (this->getDomDocument ()) + { + if ((f & ::LinphonePrivate::Xsd::XmlSchema::Flags::base) == 0) + { + ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); + this->parse (p, f); } } - // sidebars-by-val - // - if (n.name () == "sidebars-by-val" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + void HostType:: + parse (::xsd::cxx::xml::dom::parser< char >& p, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) { - ::std::unique_ptr< Sidebars_by_valType > r ( - Sidebars_by_valTraits::create (i, f, this)); - - if (!this->sidebars_by_val_) + for (; p.more_content (); p.next_content (false)) { - this->sidebars_by_val_.set (::std::move (r)); - continue; + const ::xercesc::DOMElement& i (p.cur_element ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // display-text + // + if (n.name () == "display-text" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< DisplayTextType > r ( + DisplayTextTraits::create (i, f, this)); + + if (!this->display_text_) + { + this->display_text_.set (::std::move (r)); + continue; + } + } + + // web-page + // + if (n.name () == "web-page" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< WebPageType > r ( + WebPageTraits::create (i, f, this)); + + if (!this->web_page_) + { + this->web_page_.set (::std::move (r)); + continue; + } + } + + // uris + // + if (n.name () == "uris" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< UrisType > r ( + UrisTraits::create (i, f, this)); + + if (!this->uris_) + { + this->uris_.set (::std::move (r)); + continue; + } + } + + // any + // + if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:conference-info")) + { + ::xercesc::DOMElement* r ( + static_cast< ::xercesc::DOMElement* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMElement* > (&i), true))); + this->any_.push_back (r); + continue; + } + + break; + } + + while (p.more_attributes ()) + { + const ::xercesc::DOMAttr& i (p.next_attribute ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // any_attribute + // + if ((!n.namespace_ ().empty () && + n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && + n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && + n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + { + ::xercesc::DOMAttr* r ( + static_cast< ::xercesc::DOMAttr* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMAttr* > (&i), true))); + this->any_attribute_ .insert (r); + continue; + } } } - // any - // - if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:conference-info")) + HostType* HostType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const { - ::xercesc::DOMElement* r ( - static_cast< ::xercesc::DOMElement* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMElement* > (&i), true))); - this->any_.push_back (r); - continue; + return new class HostType (*this, f, c); } - break; - } - - while (p.more_attributes ()) - { - const ::xercesc::DOMAttr& i (p.next_attribute ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - if (n.name () == "entity" && n.namespace_ ().empty ()) + HostType& HostType:: + operator= (const HostType& x) { - this->entity_.set (EntityTraits::create (i, f, this)); - continue; - } - - if (n.name () == "state" && n.namespace_ ().empty ()) - { - this->state_.set (StateTraits::create (i, f, this)); - continue; - } - - if (n.name () == "version" && n.namespace_ ().empty ()) - { - this->version_.set (VersionTraits::create (i, f, this)); - continue; - } - - // any_attribute - // - if ((!n.namespace_ ().empty () && - n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && - n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && - n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) - { - ::xercesc::DOMAttr* r ( - static_cast< ::xercesc::DOMAttr* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMAttr* > (&i), true))); - this->any_attribute_ .insert (r); - continue; - } - } - - if (!entity_.present ()) - { - throw ::xsd::cxx::tree::expected_attribute< char > ( - "entity", - ""); - } - - if (!state_.present ()) - { - this->state_.set (getStateDefaultValue ()); - } - } - - Conference_type* Conference_type:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class Conference_type (*this, f, c); - } - - Conference_type& Conference_type:: - operator= (const Conference_type& x) - { - if (this != &x) - { - static_cast< ::xml_schema::Type& > (*this) = x; - this->conference_description_ = x.conference_description_; - this->host_info_ = x.host_info_; - this->conference_state_ = x.conference_state_; - this->users_ = x.users_; - this->sidebars_by_ref_ = x.sidebars_by_ref_; - this->sidebars_by_val_ = x.sidebars_by_val_; - this->any_ = x.any_; - this->entity_ = x.entity_; - this->state_ = x.state_; - this->version_ = x.version_; - this->any_attribute_ = x.any_attribute_; - } - - return *this; - } - - Conference_type:: - ~Conference_type () - { - } - - // State_type - // - - State_type:: - State_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (e, f, c) - { - _xsd_State_type_convert (); - } - - State_type:: - State_type (const ::xercesc::DOMAttr& a, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (a, f, c) - { - _xsd_State_type_convert (); - } - - State_type:: - State_type (const ::std::string& s, - const ::xercesc::DOMElement* e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (s, e, f, c) - { - _xsd_State_type_convert (); - } - - State_type* State_type:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class State_type (*this, f, c); - } - - State_type::Value State_type:: - _xsd_State_type_convert () const - { - ::xsd::cxx::tree::enum_comparator< char > c (_xsd_State_type_literals_); - const Value* i (::std::lower_bound ( - _xsd_State_type_indexes_, - _xsd_State_type_indexes_ + 3, - *this, - c)); - - if (i == _xsd_State_type_indexes_ + 3 || _xsd_State_type_literals_[*i] != *this) - { - throw ::xsd::cxx::tree::unexpected_enumerator < char > (*this); - } - - return *i; - } - - const char* const State_type:: - _xsd_State_type_literals_[3] = - { - "full", - "partial", - "deleted" - }; - - const State_type::Value State_type:: - _xsd_State_type_indexes_[3] = - { - ::conference_info::State_type::deleted, - ::conference_info::State_type::full, - ::conference_info::State_type::partial - }; - - // Conference_description_type - // - - Conference_description_type:: - Conference_description_type () - : ::xml_schema::Type (), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_text_ (this), - subject_ (this), - free_text_ (this), - keywords_ (this), - conf_uris_ (this), - service_uris_ (this), - maximum_user_count_ (this), - available_media_ (this), - any_ (this->getDomDocument ()), - any_attribute_ (this->getDomDocument ()) - { - } - - Conference_description_type:: - Conference_description_type (const Conference_description_type& x, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (x, f, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_text_ (x.display_text_, f, this), - subject_ (x.subject_, f, this), - free_text_ (x.free_text_, f, this), - keywords_ (x.keywords_, f, this), - conf_uris_ (x.conf_uris_, f, this), - service_uris_ (x.service_uris_, f, this), - maximum_user_count_ (x.maximum_user_count_, f, this), - available_media_ (x.available_media_, f, this), - any_ (x.any_, this->getDomDocument ()), - any_attribute_ (x.any_attribute_, this->getDomDocument ()) - { - } - - Conference_description_type:: - Conference_description_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (e, f | ::xml_schema::Flags::base, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_text_ (this), - subject_ (this), - free_text_ (this), - keywords_ (this), - conf_uris_ (this), - service_uris_ (this), - maximum_user_count_ (this), - available_media_ (this), - any_ (this->getDomDocument ()), - any_attribute_ (this->getDomDocument ()) - { - if ((f & ::xml_schema::Flags::base) == 0) - { - ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); - this->parse (p, f); - } - } - - void Conference_description_type:: - parse (::xsd::cxx::xml::dom::parser< char >& p, - ::xml_schema::Flags f) - { - for (; p.more_content (); p.next_content (false)) - { - const ::xercesc::DOMElement& i (p.cur_element ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // display-text - // - if (n.name () == "display-text" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< Display_textType > r ( - Display_textTraits::create (i, f, this)); - - if (!this->display_text_) + if (this != &x) { - this->display_text_.set (::std::move (r)); - continue; + static_cast< ::LinphonePrivate::Xsd::XmlSchema::Type& > (*this) = x; + this->display_text_ = x.display_text_; + this->web_page_ = x.web_page_; + this->uris_ = x.uris_; + this->any_ = x.any_; + this->any_attribute_ = x.any_attribute_; + } + + return *this; + } + + HostType:: + ~HostType () + { + } + + // ConferenceStateType + // + + ConferenceStateType:: + ConferenceStateType () + : ::LinphonePrivate::Xsd::XmlSchema::Type (), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + user_count_ (this), + active_ (this), + locked_ (this), + any_ (this->getDomDocument ()), + any_attribute_ (this->getDomDocument ()) + { + } + + ConferenceStateType:: + ConferenceStateType (const ConferenceStateType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (x, f, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + user_count_ (x.user_count_, f, this), + active_ (x.active_, f, this), + locked_ (x.locked_, f, this), + any_ (x.any_, this->getDomDocument ()), + any_attribute_ (x.any_attribute_, this->getDomDocument ()) + { + } + + ConferenceStateType:: + ConferenceStateType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (e, f | ::LinphonePrivate::Xsd::XmlSchema::Flags::base, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + user_count_ (this), + active_ (this), + locked_ (this), + any_ (this->getDomDocument ()), + any_attribute_ (this->getDomDocument ()) + { + if ((f & ::LinphonePrivate::Xsd::XmlSchema::Flags::base) == 0) + { + ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); + this->parse (p, f); } } - // subject - // - if (n.name () == "subject" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + void ConferenceStateType:: + parse (::xsd::cxx::xml::dom::parser< char >& p, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) { - ::std::unique_ptr< SubjectType > r ( - SubjectTraits::create (i, f, this)); - - if (!this->subject_) + for (; p.more_content (); p.next_content (false)) { - this->subject_.set (::std::move (r)); - continue; + const ::xercesc::DOMElement& i (p.cur_element ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // user-count + // + if (n.name () == "user-count" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + if (!this->user_count_) + { + this->user_count_.set (UserCountTraits::create (i, f, this)); + continue; + } + } + + // active + // + if (n.name () == "active" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + if (!this->active_) + { + this->active_.set (ActiveTraits::create (i, f, this)); + continue; + } + } + + // locked + // + if (n.name () == "locked" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + if (!this->locked_) + { + this->locked_.set (LockedTraits::create (i, f, this)); + continue; + } + } + + // any + // + if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:conference-info")) + { + ::xercesc::DOMElement* r ( + static_cast< ::xercesc::DOMElement* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMElement* > (&i), true))); + this->any_.push_back (r); + continue; + } + + break; + } + + while (p.more_attributes ()) + { + const ::xercesc::DOMAttr& i (p.next_attribute ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // any_attribute + // + if ((!n.namespace_ ().empty () && + n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && + n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && + n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + { + ::xercesc::DOMAttr* r ( + static_cast< ::xercesc::DOMAttr* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMAttr* > (&i), true))); + this->any_attribute_ .insert (r); + continue; + } } } - // free-text - // - if (n.name () == "free-text" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + ConferenceStateType* ConferenceStateType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const { - ::std::unique_ptr< Free_textType > r ( - Free_textTraits::create (i, f, this)); + return new class ConferenceStateType (*this, f, c); + } - if (!this->free_text_) + ConferenceStateType& ConferenceStateType:: + operator= (const ConferenceStateType& x) + { + if (this != &x) { - this->free_text_.set (::std::move (r)); - continue; + static_cast< ::LinphonePrivate::Xsd::XmlSchema::Type& > (*this) = x; + this->user_count_ = x.user_count_; + this->active_ = x.active_; + this->locked_ = x.locked_; + this->any_ = x.any_; + this->any_attribute_ = x.any_attribute_; + } + + return *this; + } + + ConferenceStateType:: + ~ConferenceStateType () + { + } + + // ConferenceMediaType + // + + ConferenceMediaType:: + ConferenceMediaType () + : ::LinphonePrivate::Xsd::XmlSchema::Type (), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + entry_ (this), + any_attribute_ (this->getDomDocument ()) + { + } + + ConferenceMediaType:: + ConferenceMediaType (const ConferenceMediaType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (x, f, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + entry_ (x.entry_, f, this), + any_attribute_ (x.any_attribute_, this->getDomDocument ()) + { + } + + ConferenceMediaType:: + ConferenceMediaType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (e, f | ::LinphonePrivate::Xsd::XmlSchema::Flags::base, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + entry_ (this), + any_attribute_ (this->getDomDocument ()) + { + if ((f & ::LinphonePrivate::Xsd::XmlSchema::Flags::base) == 0) + { + ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); + this->parse (p, f); } } - // keywords - // - if (n.name () == "keywords" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + void ConferenceMediaType:: + parse (::xsd::cxx::xml::dom::parser< char >& p, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) { - ::std::unique_ptr< KeywordsType > r ( - KeywordsTraits::create (i, f, this)); - - if (!this->keywords_) + for (; p.more_content (); p.next_content (false)) { - this->keywords_.set (::std::move (r)); - continue; + const ::xercesc::DOMElement& i (p.cur_element ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // entry + // + if (n.name () == "entry" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< EntryType > r ( + EntryTraits::create (i, f, this)); + + this->entry_.push_back (::std::move (r)); + continue; + } + + break; + } + + while (p.more_attributes ()) + { + const ::xercesc::DOMAttr& i (p.next_attribute ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // any_attribute + // + if ((!n.namespace_ ().empty () && + n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && + n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && + n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + { + ::xercesc::DOMAttr* r ( + static_cast< ::xercesc::DOMAttr* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMAttr* > (&i), true))); + this->any_attribute_ .insert (r); + continue; + } } } - // conf-uris - // - if (n.name () == "conf-uris" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + ConferenceMediaType* ConferenceMediaType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const { - ::std::unique_ptr< Conf_urisType > r ( - Conf_urisTraits::create (i, f, this)); + return new class ConferenceMediaType (*this, f, c); + } - if (!this->conf_uris_) + ConferenceMediaType& ConferenceMediaType:: + operator= (const ConferenceMediaType& x) + { + if (this != &x) { - this->conf_uris_.set (::std::move (r)); - continue; + static_cast< ::LinphonePrivate::Xsd::XmlSchema::Type& > (*this) = x; + this->entry_ = x.entry_; + this->any_attribute_ = x.any_attribute_; + } + + return *this; + } + + ConferenceMediaType:: + ~ConferenceMediaType () + { + } + + // ConferenceMediumType + // + + ConferenceMediumType:: + ConferenceMediumType (const TypeType& type, + const LabelType& label) + : ::LinphonePrivate::Xsd::XmlSchema::Type (), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_text_ (this), + type_ (type, this), + status_ (this), + any_ (this->getDomDocument ()), + label_ (label, this), + any_attribute_ (this->getDomDocument ()) + { + } + + ConferenceMediumType:: + ConferenceMediumType (const ConferenceMediumType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (x, f, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_text_ (x.display_text_, f, this), + type_ (x.type_, f, this), + status_ (x.status_, f, this), + any_ (x.any_, this->getDomDocument ()), + label_ (x.label_, f, this), + any_attribute_ (x.any_attribute_, this->getDomDocument ()) + { + } + + ConferenceMediumType:: + ConferenceMediumType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (e, f | ::LinphonePrivate::Xsd::XmlSchema::Flags::base, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_text_ (this), + type_ (this), + status_ (this), + any_ (this->getDomDocument ()), + label_ (this), + any_attribute_ (this->getDomDocument ()) + { + if ((f & ::LinphonePrivate::Xsd::XmlSchema::Flags::base) == 0) + { + ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); + this->parse (p, f); } } - // service-uris - // - if (n.name () == "service-uris" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + void ConferenceMediumType:: + parse (::xsd::cxx::xml::dom::parser< char >& p, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) { - ::std::unique_ptr< Service_urisType > r ( - Service_urisTraits::create (i, f, this)); - - if (!this->service_uris_) + for (; p.more_content (); p.next_content (false)) { - this->service_uris_.set (::std::move (r)); - continue; + const ::xercesc::DOMElement& i (p.cur_element ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // display-text + // + if (n.name () == "display-text" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< DisplayTextType > r ( + DisplayTextTraits::create (i, f, this)); + + if (!this->display_text_) + { + this->display_text_.set (::std::move (r)); + continue; + } + } + + // type + // + if (n.name () == "type" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< TypeType > r ( + TypeTraits::create (i, f, this)); + + if (!type_.present ()) + { + this->type_.set (::std::move (r)); + continue; + } + } + + // status + // + if (n.name () == "status" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< StatusType > r ( + StatusTraits::create (i, f, this)); + + if (!this->status_) + { + this->status_.set (::std::move (r)); + continue; + } + } + + // any + // + if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:conference-info")) + { + ::xercesc::DOMElement* r ( + static_cast< ::xercesc::DOMElement* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMElement* > (&i), true))); + this->any_.push_back (r); + continue; + } + + break; } - } - - // maximum-user-count - // - if (n.name () == "maximum-user-count" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - if (!this->maximum_user_count_) - { - this->maximum_user_count_.set (Maximum_user_countTraits::create (i, f, this)); - continue; - } - } - - // available-media - // - if (n.name () == "available-media" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< Available_mediaType > r ( - Available_mediaTraits::create (i, f, this)); - - if (!this->available_media_) - { - this->available_media_.set (::std::move (r)); - continue; - } - } - - // any - // - if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:conference-info")) - { - ::xercesc::DOMElement* r ( - static_cast< ::xercesc::DOMElement* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMElement* > (&i), true))); - this->any_.push_back (r); - continue; - } - - break; - } - - while (p.more_attributes ()) - { - const ::xercesc::DOMAttr& i (p.next_attribute ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // any_attribute - // - if ((!n.namespace_ ().empty () && - n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && - n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && - n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) - { - ::xercesc::DOMAttr* r ( - static_cast< ::xercesc::DOMAttr* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMAttr* > (&i), true))); - this->any_attribute_ .insert (r); - continue; - } - } - } - - Conference_description_type* Conference_description_type:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class Conference_description_type (*this, f, c); - } - - Conference_description_type& Conference_description_type:: - operator= (const Conference_description_type& x) - { - if (this != &x) - { - static_cast< ::xml_schema::Type& > (*this) = x; - this->display_text_ = x.display_text_; - this->subject_ = x.subject_; - this->free_text_ = x.free_text_; - this->keywords_ = x.keywords_; - this->conf_uris_ = x.conf_uris_; - this->service_uris_ = x.service_uris_; - this->maximum_user_count_ = x.maximum_user_count_; - this->available_media_ = x.available_media_; - this->any_ = x.any_; - this->any_attribute_ = x.any_attribute_; - } - - return *this; - } - - Conference_description_type:: - ~Conference_description_type () - { - } - - // Host_type - // - - Host_type:: - Host_type () - : ::xml_schema::Type (), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_text_ (this), - web_page_ (this), - uris_ (this), - any_ (this->getDomDocument ()), - any_attribute_ (this->getDomDocument ()) - { - } - - Host_type:: - Host_type (const Host_type& x, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (x, f, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_text_ (x.display_text_, f, this), - web_page_ (x.web_page_, f, this), - uris_ (x.uris_, f, this), - any_ (x.any_, this->getDomDocument ()), - any_attribute_ (x.any_attribute_, this->getDomDocument ()) - { - } - - Host_type:: - Host_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (e, f | ::xml_schema::Flags::base, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_text_ (this), - web_page_ (this), - uris_ (this), - any_ (this->getDomDocument ()), - any_attribute_ (this->getDomDocument ()) - { - if ((f & ::xml_schema::Flags::base) == 0) - { - ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); - this->parse (p, f); - } - } - - void Host_type:: - parse (::xsd::cxx::xml::dom::parser< char >& p, - ::xml_schema::Flags f) - { - for (; p.more_content (); p.next_content (false)) - { - const ::xercesc::DOMElement& i (p.cur_element ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // display-text - // - if (n.name () == "display-text" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< Display_textType > r ( - Display_textTraits::create (i, f, this)); - - if (!this->display_text_) - { - this->display_text_.set (::std::move (r)); - continue; - } - } - - // web-page - // - if (n.name () == "web-page" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< Web_pageType > r ( - Web_pageTraits::create (i, f, this)); - - if (!this->web_page_) - { - this->web_page_.set (::std::move (r)); - continue; - } - } - - // uris - // - if (n.name () == "uris" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< UrisType > r ( - UrisTraits::create (i, f, this)); - - if (!this->uris_) - { - this->uris_.set (::std::move (r)); - continue; - } - } - - // any - // - if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:conference-info")) - { - ::xercesc::DOMElement* r ( - static_cast< ::xercesc::DOMElement* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMElement* > (&i), true))); - this->any_.push_back (r); - continue; - } - - break; - } - - while (p.more_attributes ()) - { - const ::xercesc::DOMAttr& i (p.next_attribute ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // any_attribute - // - if ((!n.namespace_ ().empty () && - n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && - n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && - n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) - { - ::xercesc::DOMAttr* r ( - static_cast< ::xercesc::DOMAttr* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMAttr* > (&i), true))); - this->any_attribute_ .insert (r); - continue; - } - } - } - - Host_type* Host_type:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class Host_type (*this, f, c); - } - - Host_type& Host_type:: - operator= (const Host_type& x) - { - if (this != &x) - { - static_cast< ::xml_schema::Type& > (*this) = x; - this->display_text_ = x.display_text_; - this->web_page_ = x.web_page_; - this->uris_ = x.uris_; - this->any_ = x.any_; - this->any_attribute_ = x.any_attribute_; - } - - return *this; - } - - Host_type:: - ~Host_type () - { - } - - // Conference_state_type - // - - Conference_state_type:: - Conference_state_type () - : ::xml_schema::Type (), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - user_count_ (this), - active_ (this), - locked_ (this), - any_ (this->getDomDocument ()), - any_attribute_ (this->getDomDocument ()) - { - } - - Conference_state_type:: - Conference_state_type (const Conference_state_type& x, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (x, f, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - user_count_ (x.user_count_, f, this), - active_ (x.active_, f, this), - locked_ (x.locked_, f, this), - any_ (x.any_, this->getDomDocument ()), - any_attribute_ (x.any_attribute_, this->getDomDocument ()) - { - } - - Conference_state_type:: - Conference_state_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (e, f | ::xml_schema::Flags::base, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - user_count_ (this), - active_ (this), - locked_ (this), - any_ (this->getDomDocument ()), - any_attribute_ (this->getDomDocument ()) - { - if ((f & ::xml_schema::Flags::base) == 0) - { - ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); - this->parse (p, f); - } - } - - void Conference_state_type:: - parse (::xsd::cxx::xml::dom::parser< char >& p, - ::xml_schema::Flags f) - { - for (; p.more_content (); p.next_content (false)) - { - const ::xercesc::DOMElement& i (p.cur_element ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // user-count - // - if (n.name () == "user-count" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - if (!this->user_count_) - { - this->user_count_.set (User_countTraits::create (i, f, this)); - continue; - } - } - - // active - // - if (n.name () == "active" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - if (!this->active_) - { - this->active_.set (ActiveTraits::create (i, f, this)); - continue; - } - } - - // locked - // - if (n.name () == "locked" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - if (!this->locked_) - { - this->locked_.set (LockedTraits::create (i, f, this)); - continue; - } - } - - // any - // - if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:conference-info")) - { - ::xercesc::DOMElement* r ( - static_cast< ::xercesc::DOMElement* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMElement* > (&i), true))); - this->any_.push_back (r); - continue; - } - - break; - } - - while (p.more_attributes ()) - { - const ::xercesc::DOMAttr& i (p.next_attribute ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // any_attribute - // - if ((!n.namespace_ ().empty () && - n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && - n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && - n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) - { - ::xercesc::DOMAttr* r ( - static_cast< ::xercesc::DOMAttr* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMAttr* > (&i), true))); - this->any_attribute_ .insert (r); - continue; - } - } - } - - Conference_state_type* Conference_state_type:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class Conference_state_type (*this, f, c); - } - - Conference_state_type& Conference_state_type:: - operator= (const Conference_state_type& x) - { - if (this != &x) - { - static_cast< ::xml_schema::Type& > (*this) = x; - this->user_count_ = x.user_count_; - this->active_ = x.active_; - this->locked_ = x.locked_; - this->any_ = x.any_; - this->any_attribute_ = x.any_attribute_; - } - - return *this; - } - - Conference_state_type:: - ~Conference_state_type () - { - } - - // Conference_media_type - // - - Conference_media_type:: - Conference_media_type () - : ::xml_schema::Type (), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - entry_ (this), - any_attribute_ (this->getDomDocument ()) - { - } - - Conference_media_type:: - Conference_media_type (const Conference_media_type& x, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (x, f, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - entry_ (x.entry_, f, this), - any_attribute_ (x.any_attribute_, this->getDomDocument ()) - { - } - - Conference_media_type:: - Conference_media_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (e, f | ::xml_schema::Flags::base, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - entry_ (this), - any_attribute_ (this->getDomDocument ()) - { - if ((f & ::xml_schema::Flags::base) == 0) - { - ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); - this->parse (p, f); - } - } - - void Conference_media_type:: - parse (::xsd::cxx::xml::dom::parser< char >& p, - ::xml_schema::Flags f) - { - for (; p.more_content (); p.next_content (false)) - { - const ::xercesc::DOMElement& i (p.cur_element ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // entry - // - if (n.name () == "entry" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< EntryType > r ( - EntryTraits::create (i, f, this)); - - this->entry_.push_back (::std::move (r)); - continue; - } - - break; - } - - while (p.more_attributes ()) - { - const ::xercesc::DOMAttr& i (p.next_attribute ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // any_attribute - // - if ((!n.namespace_ ().empty () && - n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && - n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && - n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) - { - ::xercesc::DOMAttr* r ( - static_cast< ::xercesc::DOMAttr* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMAttr* > (&i), true))); - this->any_attribute_ .insert (r); - continue; - } - } - } - - Conference_media_type* Conference_media_type:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class Conference_media_type (*this, f, c); - } - - Conference_media_type& Conference_media_type:: - operator= (const Conference_media_type& x) - { - if (this != &x) - { - static_cast< ::xml_schema::Type& > (*this) = x; - this->entry_ = x.entry_; - this->any_attribute_ = x.any_attribute_; - } - - return *this; - } - - Conference_media_type:: - ~Conference_media_type () - { - } - - // Conference_medium_type - // - - Conference_medium_type:: - Conference_medium_type (const TypeType& type, - const LabelType& label) - : ::xml_schema::Type (), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_text_ (this), - type_ (type, this), - status_ (this), - any_ (this->getDomDocument ()), - label_ (label, this), - any_attribute_ (this->getDomDocument ()) - { - } - - Conference_medium_type:: - Conference_medium_type (const Conference_medium_type& x, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (x, f, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_text_ (x.display_text_, f, this), - type_ (x.type_, f, this), - status_ (x.status_, f, this), - any_ (x.any_, this->getDomDocument ()), - label_ (x.label_, f, this), - any_attribute_ (x.any_attribute_, this->getDomDocument ()) - { - } - - Conference_medium_type:: - Conference_medium_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (e, f | ::xml_schema::Flags::base, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_text_ (this), - type_ (this), - status_ (this), - any_ (this->getDomDocument ()), - label_ (this), - any_attribute_ (this->getDomDocument ()) - { - if ((f & ::xml_schema::Flags::base) == 0) - { - ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); - this->parse (p, f); - } - } - - void Conference_medium_type:: - parse (::xsd::cxx::xml::dom::parser< char >& p, - ::xml_schema::Flags f) - { - for (; p.more_content (); p.next_content (false)) - { - const ::xercesc::DOMElement& i (p.cur_element ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // display-text - // - if (n.name () == "display-text" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< Display_textType > r ( - Display_textTraits::create (i, f, this)); - - if (!this->display_text_) - { - this->display_text_.set (::std::move (r)); - continue; - } - } - - // type - // - if (n.name () == "type" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< TypeType > r ( - TypeTraits::create (i, f, this)); if (!type_.present ()) { - this->type_.set (::std::move (r)); - continue; + throw ::xsd::cxx::tree::expected_element< char > ( + "type", + "urn:ietf:params:xml:ns:conference-info"); } - } - // status - // - if (n.name () == "status" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< StatusType > r ( - StatusTraits::create (i, f, this)); - - if (!this->status_) + while (p.more_attributes ()) { - this->status_.set (::std::move (r)); - continue; + const ::xercesc::DOMAttr& i (p.next_attribute ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + if (n.name () == "label" && n.namespace_ ().empty ()) + { + this->label_.set (LabelTraits::create (i, f, this)); + continue; + } + + // any_attribute + // + if ((!n.namespace_ ().empty () && + n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && + n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && + n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + { + ::xercesc::DOMAttr* r ( + static_cast< ::xercesc::DOMAttr* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMAttr* > (&i), true))); + this->any_attribute_ .insert (r); + continue; + } + } + + if (!label_.present ()) + { + throw ::xsd::cxx::tree::expected_attribute< char > ( + "label", + ""); } } - // any + ConferenceMediumType* ConferenceMediumType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const + { + return new class ConferenceMediumType (*this, f, c); + } + + ConferenceMediumType& ConferenceMediumType:: + operator= (const ConferenceMediumType& x) + { + if (this != &x) + { + static_cast< ::LinphonePrivate::Xsd::XmlSchema::Type& > (*this) = x; + this->display_text_ = x.display_text_; + this->type_ = x.type_; + this->status_ = x.status_; + this->any_ = x.any_; + this->label_ = x.label_; + this->any_attribute_ = x.any_attribute_; + } + + return *this; + } + + ConferenceMediumType:: + ~ConferenceMediumType () + { + } + + // UrisType // - if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:conference-info")) + + const UrisType::StateType UrisType::state_default_value_ ( + "full"); + + UrisType:: + UrisType () + : ::LinphonePrivate::Xsd::XmlSchema::Type (), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + entry_ (this), + state_ (getStateDefaultValue (), this), + any_attribute_ (this->getDomDocument ()) { - ::xercesc::DOMElement* r ( - static_cast< ::xercesc::DOMElement* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMElement* > (&i), true))); - this->any_.push_back (r); - continue; } - break; - } - - if (!type_.present ()) - { - throw ::xsd::cxx::tree::expected_element< char > ( - "type", - "urn:ietf:params:xml:ns:conference-info"); - } - - while (p.more_attributes ()) - { - const ::xercesc::DOMAttr& i (p.next_attribute ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - if (n.name () == "label" && n.namespace_ ().empty ()) + UrisType:: + UrisType (const UrisType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (x, f, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + entry_ (x.entry_, f, this), + state_ (x.state_, f, this), + any_attribute_ (x.any_attribute_, this->getDomDocument ()) { - this->label_.set (LabelTraits::create (i, f, this)); - continue; } - // any_attribute + UrisType:: + UrisType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (e, f | ::LinphonePrivate::Xsd::XmlSchema::Flags::base, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + entry_ (this), + state_ (this), + any_attribute_ (this->getDomDocument ()) + { + if ((f & ::LinphonePrivate::Xsd::XmlSchema::Flags::base) == 0) + { + ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); + this->parse (p, f); + } + } + + void UrisType:: + parse (::xsd::cxx::xml::dom::parser< char >& p, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) + { + for (; p.more_content (); p.next_content (false)) + { + const ::xercesc::DOMElement& i (p.cur_element ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // entry + // + if (n.name () == "entry" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< EntryType > r ( + EntryTraits::create (i, f, this)); + + this->entry_.push_back (::std::move (r)); + continue; + } + + break; + } + + while (p.more_attributes ()) + { + const ::xercesc::DOMAttr& i (p.next_attribute ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + if (n.name () == "state" && n.namespace_ ().empty ()) + { + this->state_.set (StateTraits::create (i, f, this)); + continue; + } + + // any_attribute + // + if ((!n.namespace_ ().empty () && + n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && + n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && + n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + { + ::xercesc::DOMAttr* r ( + static_cast< ::xercesc::DOMAttr* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMAttr* > (&i), true))); + this->any_attribute_ .insert (r); + continue; + } + } + + if (!state_.present ()) + { + this->state_.set (getStateDefaultValue ()); + } + } + + UrisType* UrisType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const + { + return new class UrisType (*this, f, c); + } + + UrisType& UrisType:: + operator= (const UrisType& x) + { + if (this != &x) + { + static_cast< ::LinphonePrivate::Xsd::XmlSchema::Type& > (*this) = x; + this->entry_ = x.entry_; + this->state_ = x.state_; + this->any_attribute_ = x.any_attribute_; + } + + return *this; + } + + UrisType:: + ~UrisType () + { + } + + // UriType // - if ((!n.namespace_ ().empty () && - n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && - n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && - n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + + UriType:: + UriType (const UriType1& uri) + : ::LinphonePrivate::Xsd::XmlSchema::Type (), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + uri_ (uri, this), + display_text_ (this), + purpose_ (this), + modified_ (this), + any_ (this->getDomDocument ()), + any_attribute_ (this->getDomDocument ()) { - ::xercesc::DOMAttr* r ( - static_cast< ::xercesc::DOMAttr* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMAttr* > (&i), true))); - this->any_attribute_ .insert (r); - continue; - } - } - - if (!label_.present ()) - { - throw ::xsd::cxx::tree::expected_attribute< char > ( - "label", - ""); - } - } - - Conference_medium_type* Conference_medium_type:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class Conference_medium_type (*this, f, c); - } - - Conference_medium_type& Conference_medium_type:: - operator= (const Conference_medium_type& x) - { - if (this != &x) - { - static_cast< ::xml_schema::Type& > (*this) = x; - this->display_text_ = x.display_text_; - this->type_ = x.type_; - this->status_ = x.status_; - this->any_ = x.any_; - this->label_ = x.label_; - this->any_attribute_ = x.any_attribute_; - } - - return *this; - } - - Conference_medium_type:: - ~Conference_medium_type () - { - } - - // Uris_type - // - - const Uris_type::StateType Uris_type::state_default_value_ ( - "full"); - - Uris_type:: - Uris_type () - : ::xml_schema::Type (), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - entry_ (this), - state_ (getStateDefaultValue (), this), - any_attribute_ (this->getDomDocument ()) - { - } - - Uris_type:: - Uris_type (const Uris_type& x, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (x, f, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - entry_ (x.entry_, f, this), - state_ (x.state_, f, this), - any_attribute_ (x.any_attribute_, this->getDomDocument ()) - { - } - - Uris_type:: - Uris_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (e, f | ::xml_schema::Flags::base, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - entry_ (this), - state_ (this), - any_attribute_ (this->getDomDocument ()) - { - if ((f & ::xml_schema::Flags::base) == 0) - { - ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); - this->parse (p, f); - } - } - - void Uris_type:: - parse (::xsd::cxx::xml::dom::parser< char >& p, - ::xml_schema::Flags f) - { - for (; p.more_content (); p.next_content (false)) - { - const ::xercesc::DOMElement& i (p.cur_element ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // entry - // - if (n.name () == "entry" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< EntryType > r ( - EntryTraits::create (i, f, this)); - - this->entry_.push_back (::std::move (r)); - continue; } - break; - } - - while (p.more_attributes ()) - { - const ::xercesc::DOMAttr& i (p.next_attribute ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - if (n.name () == "state" && n.namespace_ ().empty ()) + UriType:: + UriType (const UriType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (x, f, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + uri_ (x.uri_, f, this), + display_text_ (x.display_text_, f, this), + purpose_ (x.purpose_, f, this), + modified_ (x.modified_, f, this), + any_ (x.any_, this->getDomDocument ()), + any_attribute_ (x.any_attribute_, this->getDomDocument ()) { - this->state_.set (StateTraits::create (i, f, this)); - continue; } - // any_attribute - // - if ((!n.namespace_ ().empty () && - n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && - n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && - n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + UriType:: + UriType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (e, f | ::LinphonePrivate::Xsd::XmlSchema::Flags::base, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + uri_ (this), + display_text_ (this), + purpose_ (this), + modified_ (this), + any_ (this->getDomDocument ()), + any_attribute_ (this->getDomDocument ()) { - ::xercesc::DOMAttr* r ( - static_cast< ::xercesc::DOMAttr* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMAttr* > (&i), true))); - this->any_attribute_ .insert (r); - continue; + if ((f & ::LinphonePrivate::Xsd::XmlSchema::Flags::base) == 0) + { + ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); + this->parse (p, f); + } } - } - if (!state_.present ()) - { - this->state_.set (getStateDefaultValue ()); - } - } - - Uris_type* Uris_type:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class Uris_type (*this, f, c); - } - - Uris_type& Uris_type:: - operator= (const Uris_type& x) - { - if (this != &x) - { - static_cast< ::xml_schema::Type& > (*this) = x; - this->entry_ = x.entry_; - this->state_ = x.state_; - this->any_attribute_ = x.any_attribute_; - } - - return *this; - } - - Uris_type:: - ~Uris_type () - { - } - - // Uri_type - // - - Uri_type:: - Uri_type (const UriType& uri) - : ::xml_schema::Type (), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - uri_ (uri, this), - display_text_ (this), - purpose_ (this), - modified_ (this), - any_ (this->getDomDocument ()), - any_attribute_ (this->getDomDocument ()) - { - } - - Uri_type:: - Uri_type (const Uri_type& x, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (x, f, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - uri_ (x.uri_, f, this), - display_text_ (x.display_text_, f, this), - purpose_ (x.purpose_, f, this), - modified_ (x.modified_, f, this), - any_ (x.any_, this->getDomDocument ()), - any_attribute_ (x.any_attribute_, this->getDomDocument ()) - { - } - - Uri_type:: - Uri_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (e, f | ::xml_schema::Flags::base, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - uri_ (this), - display_text_ (this), - purpose_ (this), - modified_ (this), - any_ (this->getDomDocument ()), - any_attribute_ (this->getDomDocument ()) - { - if ((f & ::xml_schema::Flags::base) == 0) - { - ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); - this->parse (p, f); - } - } - - void Uri_type:: - parse (::xsd::cxx::xml::dom::parser< char >& p, - ::xml_schema::Flags f) - { - for (; p.more_content (); p.next_content (false)) - { - const ::xercesc::DOMElement& i (p.cur_element ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // uri - // - if (n.name () == "uri" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + void UriType:: + parse (::xsd::cxx::xml::dom::parser< char >& p, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) { - ::std::unique_ptr< UriType > r ( - UriTraits::create (i, f, this)); + for (; p.more_content (); p.next_content (false)) + { + const ::xercesc::DOMElement& i (p.cur_element ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // uri + // + if (n.name () == "uri" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< UriType1 > r ( + UriTraits::create (i, f, this)); + + if (!uri_.present ()) + { + this->uri_.set (::std::move (r)); + continue; + } + } + + // display-text + // + if (n.name () == "display-text" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< DisplayTextType > r ( + DisplayTextTraits::create (i, f, this)); + + if (!this->display_text_) + { + this->display_text_.set (::std::move (r)); + continue; + } + } + + // purpose + // + if (n.name () == "purpose" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< PurposeType > r ( + PurposeTraits::create (i, f, this)); + + if (!this->purpose_) + { + this->purpose_.set (::std::move (r)); + continue; + } + } + + // modified + // + if (n.name () == "modified" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< ModifiedType > r ( + ModifiedTraits::create (i, f, this)); + + if (!this->modified_) + { + this->modified_.set (::std::move (r)); + continue; + } + } + + // any + // + if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:conference-info")) + { + ::xercesc::DOMElement* r ( + static_cast< ::xercesc::DOMElement* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMElement* > (&i), true))); + this->any_.push_back (r); + continue; + } + + break; + } if (!uri_.present ()) { - this->uri_.set (::std::move (r)); - continue; + throw ::xsd::cxx::tree::expected_element< char > ( + "uri", + "urn:ietf:params:xml:ns:conference-info"); } - } - // display-text - // - if (n.name () == "display-text" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< Display_textType > r ( - Display_textTraits::create (i, f, this)); - - if (!this->display_text_) + while (p.more_attributes ()) { - this->display_text_.set (::std::move (r)); - continue; + const ::xercesc::DOMAttr& i (p.next_attribute ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // any_attribute + // + if ((!n.namespace_ ().empty () && + n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && + n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && + n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + { + ::xercesc::DOMAttr* r ( + static_cast< ::xercesc::DOMAttr* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMAttr* > (&i), true))); + this->any_attribute_ .insert (r); + continue; + } } } - // purpose - // - if (n.name () == "purpose" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + UriType* UriType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const { - ::std::unique_ptr< PurposeType > r ( - PurposeTraits::create (i, f, this)); + return new class UriType (*this, f, c); + } - if (!this->purpose_) + UriType& UriType:: + operator= (const UriType& x) + { + if (this != &x) { - this->purpose_.set (::std::move (r)); - continue; + static_cast< ::LinphonePrivate::Xsd::XmlSchema::Type& > (*this) = x; + this->uri_ = x.uri_; + this->display_text_ = x.display_text_; + this->purpose_ = x.purpose_; + this->modified_ = x.modified_; + this->any_ = x.any_; + this->any_attribute_ = x.any_attribute_; } + + return *this; } - // modified - // - if (n.name () == "modified" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + UriType:: + ~UriType () { - ::std::unique_ptr< ModifiedType > r ( - ModifiedTraits::create (i, f, this)); + } - if (!this->modified_) + // KeywordsType + // + + KeywordsType:: + KeywordsType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::SimpleType (e, f, c), + ::xsd::cxx::tree::list< ::LinphonePrivate::Xsd::XmlSchema::String, char > (e, f, this) + { + } + + KeywordsType:: + KeywordsType (const ::xercesc::DOMAttr& a, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::SimpleType (a, f, c), + ::xsd::cxx::tree::list< ::LinphonePrivate::Xsd::XmlSchema::String, char > (a, f, this) + { + } + + KeywordsType:: + KeywordsType (const ::std::string& s, + const ::xercesc::DOMElement* e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::SimpleType (s, e, f, c), + ::xsd::cxx::tree::list< ::LinphonePrivate::Xsd::XmlSchema::String, char > (s, e, f, this) + { + } + + KeywordsType* KeywordsType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const + { + return new class KeywordsType (*this, f, c); + } + + KeywordsType:: + ~KeywordsType () + { + } + + // UsersType + // + + const UsersType::StateType UsersType::state_default_value_ ( + "full"); + + UsersType:: + UsersType () + : ::LinphonePrivate::Xsd::XmlSchema::Type (), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + user_ (this), + any_ (this->getDomDocument ()), + state_ (getStateDefaultValue (), this), + any_attribute_ (this->getDomDocument ()) + { + } + + UsersType:: + UsersType (const UsersType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (x, f, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + user_ (x.user_, f, this), + any_ (x.any_, this->getDomDocument ()), + state_ (x.state_, f, this), + any_attribute_ (x.any_attribute_, this->getDomDocument ()) + { + } + + UsersType:: + UsersType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (e, f | ::LinphonePrivate::Xsd::XmlSchema::Flags::base, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + user_ (this), + any_ (this->getDomDocument ()), + state_ (this), + any_attribute_ (this->getDomDocument ()) + { + if ((f & ::LinphonePrivate::Xsd::XmlSchema::Flags::base) == 0) { - this->modified_.set (::std::move (r)); - continue; + ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); + this->parse (p, f); } } - // any - // - if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:conference-info")) + void UsersType:: + parse (::xsd::cxx::xml::dom::parser< char >& p, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) { - ::xercesc::DOMElement* r ( - static_cast< ::xercesc::DOMElement* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMElement* > (&i), true))); - this->any_.push_back (r); - continue; - } - - break; - } - - if (!uri_.present ()) - { - throw ::xsd::cxx::tree::expected_element< char > ( - "uri", - "urn:ietf:params:xml:ns:conference-info"); - } - - while (p.more_attributes ()) - { - const ::xercesc::DOMAttr& i (p.next_attribute ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // any_attribute - // - if ((!n.namespace_ ().empty () && - n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && - n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && - n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) - { - ::xercesc::DOMAttr* r ( - static_cast< ::xercesc::DOMAttr* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMAttr* > (&i), true))); - this->any_attribute_ .insert (r); - continue; - } - } - } - - Uri_type* Uri_type:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class Uri_type (*this, f, c); - } - - Uri_type& Uri_type:: - operator= (const Uri_type& x) - { - if (this != &x) - { - static_cast< ::xml_schema::Type& > (*this) = x; - this->uri_ = x.uri_; - this->display_text_ = x.display_text_; - this->purpose_ = x.purpose_; - this->modified_ = x.modified_; - this->any_ = x.any_; - this->any_attribute_ = x.any_attribute_; - } - - return *this; - } - - Uri_type:: - ~Uri_type () - { - } - - // Keywords_type - // - - Keywords_type:: - Keywords_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::SimpleType (e, f, c), - ::xsd::cxx::tree::list< ::xml_schema::String, char > (e, f, this) - { - } - - Keywords_type:: - Keywords_type (const ::xercesc::DOMAttr& a, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::SimpleType (a, f, c), - ::xsd::cxx::tree::list< ::xml_schema::String, char > (a, f, this) - { - } - - Keywords_type:: - Keywords_type (const ::std::string& s, - const ::xercesc::DOMElement* e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::SimpleType (s, e, f, c), - ::xsd::cxx::tree::list< ::xml_schema::String, char > (s, e, f, this) - { - } - - Keywords_type* Keywords_type:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class Keywords_type (*this, f, c); - } - - Keywords_type:: - ~Keywords_type () - { - } - - // Users_type - // - - const Users_type::StateType Users_type::state_default_value_ ( - "full"); - - Users_type:: - Users_type () - : ::xml_schema::Type (), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - user_ (this), - any_ (this->getDomDocument ()), - state_ (getStateDefaultValue (), this), - any_attribute_ (this->getDomDocument ()) - { - } - - Users_type:: - Users_type (const Users_type& x, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (x, f, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - user_ (x.user_, f, this), - any_ (x.any_, this->getDomDocument ()), - state_ (x.state_, f, this), - any_attribute_ (x.any_attribute_, this->getDomDocument ()) - { - } - - Users_type:: - Users_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (e, f | ::xml_schema::Flags::base, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - user_ (this), - any_ (this->getDomDocument ()), - state_ (this), - any_attribute_ (this->getDomDocument ()) - { - if ((f & ::xml_schema::Flags::base) == 0) - { - ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); - this->parse (p, f); - } - } - - void Users_type:: - parse (::xsd::cxx::xml::dom::parser< char >& p, - ::xml_schema::Flags f) - { - for (; p.more_content (); p.next_content (false)) - { - const ::xercesc::DOMElement& i (p.cur_element ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // user - // - if (n.name () == "user" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< UserType > r ( - UserTraits::create (i, f, this)); - - this->user_.push_back (::std::move (r)); - continue; - } - - // any - // - if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:conference-info")) - { - ::xercesc::DOMElement* r ( - static_cast< ::xercesc::DOMElement* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMElement* > (&i), true))); - this->any_.push_back (r); - continue; - } - - break; - } - - while (p.more_attributes ()) - { - const ::xercesc::DOMAttr& i (p.next_attribute ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - if (n.name () == "state" && n.namespace_ ().empty ()) - { - this->state_.set (StateTraits::create (i, f, this)); - continue; - } - - // any_attribute - // - if ((!n.namespace_ ().empty () && - n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && - n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && - n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) - { - ::xercesc::DOMAttr* r ( - static_cast< ::xercesc::DOMAttr* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMAttr* > (&i), true))); - this->any_attribute_ .insert (r); - continue; - } - } - - if (!state_.present ()) - { - this->state_.set (getStateDefaultValue ()); - } - } - - Users_type* Users_type:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class Users_type (*this, f, c); - } - - Users_type& Users_type:: - operator= (const Users_type& x) - { - if (this != &x) - { - static_cast< ::xml_schema::Type& > (*this) = x; - this->user_ = x.user_; - this->any_ = x.any_; - this->state_ = x.state_; - this->any_attribute_ = x.any_attribute_; - } - - return *this; - } - - Users_type:: - ~Users_type () - { - } - - // User_type - // - - const User_type::StateType User_type::state_default_value_ ( - "full"); - - User_type:: - User_type () - : ::xml_schema::Type (), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_text_ (this), - associated_aors_ (this), - roles_ (this), - languages_ (this), - cascaded_focus_ (this), - endpoint_ (this), - any_ (this->getDomDocument ()), - entity_ (this), - state_ (getStateDefaultValue (), this), - any_attribute_ (this->getDomDocument ()) - { - } - - User_type:: - User_type (const User_type& x, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (x, f, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_text_ (x.display_text_, f, this), - associated_aors_ (x.associated_aors_, f, this), - roles_ (x.roles_, f, this), - languages_ (x.languages_, f, this), - cascaded_focus_ (x.cascaded_focus_, f, this), - endpoint_ (x.endpoint_, f, this), - any_ (x.any_, this->getDomDocument ()), - entity_ (x.entity_, f, this), - state_ (x.state_, f, this), - any_attribute_ (x.any_attribute_, this->getDomDocument ()) - { - } - - User_type:: - User_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (e, f | ::xml_schema::Flags::base, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_text_ (this), - associated_aors_ (this), - roles_ (this), - languages_ (this), - cascaded_focus_ (this), - endpoint_ (this), - any_ (this->getDomDocument ()), - entity_ (this), - state_ (this), - any_attribute_ (this->getDomDocument ()) - { - if ((f & ::xml_schema::Flags::base) == 0) - { - ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); - this->parse (p, f); - } - } - - void User_type:: - parse (::xsd::cxx::xml::dom::parser< char >& p, - ::xml_schema::Flags f) - { - for (; p.more_content (); p.next_content (false)) - { - const ::xercesc::DOMElement& i (p.cur_element ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // display-text - // - if (n.name () == "display-text" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< Display_textType > r ( - Display_textTraits::create (i, f, this)); - - if (!this->display_text_) + for (; p.more_content (); p.next_content (false)) { - this->display_text_.set (::std::move (r)); - continue; + const ::xercesc::DOMElement& i (p.cur_element ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // user + // + if (n.name () == "user" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< UserType > r ( + UserTraits::create (i, f, this)); + + this->user_.push_back (::std::move (r)); + continue; + } + + // any + // + if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:conference-info")) + { + ::xercesc::DOMElement* r ( + static_cast< ::xercesc::DOMElement* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMElement* > (&i), true))); + this->any_.push_back (r); + continue; + } + + break; } - } - // associated-aors - // - if (n.name () == "associated-aors" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< Associated_aorsType > r ( - Associated_aorsTraits::create (i, f, this)); - - if (!this->associated_aors_) + while (p.more_attributes ()) { - this->associated_aors_.set (::std::move (r)); - continue; + const ::xercesc::DOMAttr& i (p.next_attribute ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + if (n.name () == "state" && n.namespace_ ().empty ()) + { + this->state_.set (StateTraits::create (i, f, this)); + continue; + } + + // any_attribute + // + if ((!n.namespace_ ().empty () && + n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && + n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && + n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + { + ::xercesc::DOMAttr* r ( + static_cast< ::xercesc::DOMAttr* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMAttr* > (&i), true))); + this->any_attribute_ .insert (r); + continue; + } } - } - // roles - // - if (n.name () == "roles" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< RolesType > r ( - RolesTraits::create (i, f, this)); - - if (!this->roles_) + if (!state_.present ()) { - this->roles_.set (::std::move (r)); - continue; + this->state_.set (getStateDefaultValue ()); } } - // languages - // - if (n.name () == "languages" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + UsersType* UsersType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const { - ::std::unique_ptr< LanguagesType > r ( - LanguagesTraits::create (i, f, this)); + return new class UsersType (*this, f, c); + } - if (!this->languages_) + UsersType& UsersType:: + operator= (const UsersType& x) + { + if (this != &x) { - this->languages_.set (::std::move (r)); - continue; + static_cast< ::LinphonePrivate::Xsd::XmlSchema::Type& > (*this) = x; + this->user_ = x.user_; + this->any_ = x.any_; + this->state_ = x.state_; + this->any_attribute_ = x.any_attribute_; } + + return *this; } - // cascaded-focus - // - if (n.name () == "cascaded-focus" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + UsersType:: + ~UsersType () { - ::std::unique_ptr< Cascaded_focusType > r ( - Cascaded_focusTraits::create (i, f, this)); + } - if (!this->cascaded_focus_) + // UserType + // + + const UserType::StateType UserType::state_default_value_ ( + "full"); + + UserType:: + UserType () + : ::LinphonePrivate::Xsd::XmlSchema::Type (), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_text_ (this), + associated_aors_ (this), + roles_ (this), + languages_ (this), + cascaded_focus_ (this), + endpoint_ (this), + any_ (this->getDomDocument ()), + entity_ (this), + state_ (getStateDefaultValue (), this), + any_attribute_ (this->getDomDocument ()) + { + } + + UserType:: + UserType (const UserType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (x, f, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_text_ (x.display_text_, f, this), + associated_aors_ (x.associated_aors_, f, this), + roles_ (x.roles_, f, this), + languages_ (x.languages_, f, this), + cascaded_focus_ (x.cascaded_focus_, f, this), + endpoint_ (x.endpoint_, f, this), + any_ (x.any_, this->getDomDocument ()), + entity_ (x.entity_, f, this), + state_ (x.state_, f, this), + any_attribute_ (x.any_attribute_, this->getDomDocument ()) + { + } + + UserType:: + UserType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (e, f | ::LinphonePrivate::Xsd::XmlSchema::Flags::base, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_text_ (this), + associated_aors_ (this), + roles_ (this), + languages_ (this), + cascaded_focus_ (this), + endpoint_ (this), + any_ (this->getDomDocument ()), + entity_ (this), + state_ (this), + any_attribute_ (this->getDomDocument ()) + { + if ((f & ::LinphonePrivate::Xsd::XmlSchema::Flags::base) == 0) { - this->cascaded_focus_.set (::std::move (r)); - continue; + ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); + this->parse (p, f); } } - // endpoint - // - if (n.name () == "endpoint" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + void UserType:: + parse (::xsd::cxx::xml::dom::parser< char >& p, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) { - ::std::unique_ptr< EndpointType > r ( - EndpointTraits::create (i, f, this)); - - this->endpoint_.push_back (::std::move (r)); - continue; - } - - // any - // - if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:conference-info")) - { - ::xercesc::DOMElement* r ( - static_cast< ::xercesc::DOMElement* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMElement* > (&i), true))); - this->any_.push_back (r); - continue; - } - - break; - } - - while (p.more_attributes ()) - { - const ::xercesc::DOMAttr& i (p.next_attribute ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - if (n.name () == "entity" && n.namespace_ ().empty ()) - { - this->entity_.set (EntityTraits::create (i, f, this)); - continue; - } - - if (n.name () == "state" && n.namespace_ ().empty ()) - { - this->state_.set (StateTraits::create (i, f, this)); - continue; - } - - // any_attribute - // - if ((!n.namespace_ ().empty () && - n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && - n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && - n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) - { - ::xercesc::DOMAttr* r ( - static_cast< ::xercesc::DOMAttr* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMAttr* > (&i), true))); - this->any_attribute_ .insert (r); - continue; - } - } - - if (!state_.present ()) - { - this->state_.set (getStateDefaultValue ()); - } - } - - User_type* User_type:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class User_type (*this, f, c); - } - - User_type& User_type:: - operator= (const User_type& x) - { - if (this != &x) - { - static_cast< ::xml_schema::Type& > (*this) = x; - this->display_text_ = x.display_text_; - this->associated_aors_ = x.associated_aors_; - this->roles_ = x.roles_; - this->languages_ = x.languages_; - this->cascaded_focus_ = x.cascaded_focus_; - this->endpoint_ = x.endpoint_; - this->any_ = x.any_; - this->entity_ = x.entity_; - this->state_ = x.state_; - this->any_attribute_ = x.any_attribute_; - } - - return *this; - } - - User_type:: - ~User_type () - { - } - - // User_roles_type - // - - User_roles_type:: - User_roles_type () - : ::xml_schema::Type (), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - entry_ (this), - any_attribute_ (this->getDomDocument ()) - { - } - - User_roles_type:: - User_roles_type (const User_roles_type& x, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (x, f, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - entry_ (x.entry_, f, this), - any_attribute_ (x.any_attribute_, this->getDomDocument ()) - { - } - - User_roles_type:: - User_roles_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (e, f | ::xml_schema::Flags::base, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - entry_ (this), - any_attribute_ (this->getDomDocument ()) - { - if ((f & ::xml_schema::Flags::base) == 0) - { - ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); - this->parse (p, f); - } - } - - void User_roles_type:: - parse (::xsd::cxx::xml::dom::parser< char >& p, - ::xml_schema::Flags f) - { - for (; p.more_content (); p.next_content (false)) - { - const ::xercesc::DOMElement& i (p.cur_element ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // entry - // - if (n.name () == "entry" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< EntryType > r ( - EntryTraits::create (i, f, this)); - - this->entry_.push_back (::std::move (r)); - continue; - } - - break; - } - - while (p.more_attributes ()) - { - const ::xercesc::DOMAttr& i (p.next_attribute ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // any_attribute - // - if ((!n.namespace_ ().empty () && - n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && - n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && - n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) - { - ::xercesc::DOMAttr* r ( - static_cast< ::xercesc::DOMAttr* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMAttr* > (&i), true))); - this->any_attribute_ .insert (r); - continue; - } - } - } - - User_roles_type* User_roles_type:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class User_roles_type (*this, f, c); - } - - User_roles_type& User_roles_type:: - operator= (const User_roles_type& x) - { - if (this != &x) - { - static_cast< ::xml_schema::Type& > (*this) = x; - this->entry_ = x.entry_; - this->any_attribute_ = x.any_attribute_; - } - - return *this; - } - - User_roles_type:: - ~User_roles_type () - { - } - - // User_languages_type - // - - User_languages_type:: - User_languages_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::SimpleType (e, f, c), - ::xsd::cxx::tree::list< ::xml_schema::Language, char > (e, f, this) - { - } - - User_languages_type:: - User_languages_type (const ::xercesc::DOMAttr& a, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::SimpleType (a, f, c), - ::xsd::cxx::tree::list< ::xml_schema::Language, char > (a, f, this) - { - } - - User_languages_type:: - User_languages_type (const ::std::string& s, - const ::xercesc::DOMElement* e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::SimpleType (s, e, f, c), - ::xsd::cxx::tree::list< ::xml_schema::Language, char > (s, e, f, this) - { - } - - User_languages_type* User_languages_type:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class User_languages_type (*this, f, c); - } - - User_languages_type:: - ~User_languages_type () - { - } - - // Endpoint_type - // - - const Endpoint_type::StateType Endpoint_type::state_default_value_ ( - "full"); - - Endpoint_type:: - Endpoint_type () - : ::xml_schema::Type (), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_text_ (this), - referred_ (this), - status_ (this), - joining_method_ (this), - joining_info_ (this), - disconnection_method_ (this), - disconnection_info_ (this), - media_ (this), - call_info_ (this), - any_ (this->getDomDocument ()), - entity_ (this), - state_ (getStateDefaultValue (), this), - any_attribute_ (this->getDomDocument ()) - { - } - - Endpoint_type:: - Endpoint_type (const Endpoint_type& x, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (x, f, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_text_ (x.display_text_, f, this), - referred_ (x.referred_, f, this), - status_ (x.status_, f, this), - joining_method_ (x.joining_method_, f, this), - joining_info_ (x.joining_info_, f, this), - disconnection_method_ (x.disconnection_method_, f, this), - disconnection_info_ (x.disconnection_info_, f, this), - media_ (x.media_, f, this), - call_info_ (x.call_info_, f, this), - any_ (x.any_, this->getDomDocument ()), - entity_ (x.entity_, f, this), - state_ (x.state_, f, this), - any_attribute_ (x.any_attribute_, this->getDomDocument ()) - { - } - - Endpoint_type:: - Endpoint_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (e, f | ::xml_schema::Flags::base, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_text_ (this), - referred_ (this), - status_ (this), - joining_method_ (this), - joining_info_ (this), - disconnection_method_ (this), - disconnection_info_ (this), - media_ (this), - call_info_ (this), - any_ (this->getDomDocument ()), - entity_ (this), - state_ (this), - any_attribute_ (this->getDomDocument ()) - { - if ((f & ::xml_schema::Flags::base) == 0) - { - ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); - this->parse (p, f); - } - } - - void Endpoint_type:: - parse (::xsd::cxx::xml::dom::parser< char >& p, - ::xml_schema::Flags f) - { - for (; p.more_content (); p.next_content (false)) - { - const ::xercesc::DOMElement& i (p.cur_element ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // display-text - // - if (n.name () == "display-text" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< Display_textType > r ( - Display_textTraits::create (i, f, this)); - - if (!this->display_text_) + for (; p.more_content (); p.next_content (false)) { - this->display_text_.set (::std::move (r)); - continue; + const ::xercesc::DOMElement& i (p.cur_element ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // display-text + // + if (n.name () == "display-text" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< DisplayTextType > r ( + DisplayTextTraits::create (i, f, this)); + + if (!this->display_text_) + { + this->display_text_.set (::std::move (r)); + continue; + } + } + + // associated-aors + // + if (n.name () == "associated-aors" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< AssociatedAorsType > r ( + AssociatedAorsTraits::create (i, f, this)); + + if (!this->associated_aors_) + { + this->associated_aors_.set (::std::move (r)); + continue; + } + } + + // roles + // + if (n.name () == "roles" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< RolesType > r ( + RolesTraits::create (i, f, this)); + + if (!this->roles_) + { + this->roles_.set (::std::move (r)); + continue; + } + } + + // languages + // + if (n.name () == "languages" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< LanguagesType > r ( + LanguagesTraits::create (i, f, this)); + + if (!this->languages_) + { + this->languages_.set (::std::move (r)); + continue; + } + } + + // cascaded-focus + // + if (n.name () == "cascaded-focus" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< CascadedFocusType > r ( + CascadedFocusTraits::create (i, f, this)); + + if (!this->cascaded_focus_) + { + this->cascaded_focus_.set (::std::move (r)); + continue; + } + } + + // endpoint + // + if (n.name () == "endpoint" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< EndpointType > r ( + EndpointTraits::create (i, f, this)); + + this->endpoint_.push_back (::std::move (r)); + continue; + } + + // any + // + if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:conference-info")) + { + ::xercesc::DOMElement* r ( + static_cast< ::xercesc::DOMElement* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMElement* > (&i), true))); + this->any_.push_back (r); + continue; + } + + break; } - } - // referred - // - if (n.name () == "referred" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< ReferredType > r ( - ReferredTraits::create (i, f, this)); - - if (!this->referred_) + while (p.more_attributes ()) { - this->referred_.set (::std::move (r)); - continue; + const ::xercesc::DOMAttr& i (p.next_attribute ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + if (n.name () == "entity" && n.namespace_ ().empty ()) + { + this->entity_.set (EntityTraits::create (i, f, this)); + continue; + } + + if (n.name () == "state" && n.namespace_ ().empty ()) + { + this->state_.set (StateTraits::create (i, f, this)); + continue; + } + + // any_attribute + // + if ((!n.namespace_ ().empty () && + n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && + n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && + n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + { + ::xercesc::DOMAttr* r ( + static_cast< ::xercesc::DOMAttr* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMAttr* > (&i), true))); + this->any_attribute_ .insert (r); + continue; + } } - } - // status - // - if (n.name () == "status" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< StatusType > r ( - StatusTraits::create (i, f, this)); - - if (!this->status_) + if (!state_.present ()) { - this->status_.set (::std::move (r)); - continue; + this->state_.set (getStateDefaultValue ()); } } - // joining-method - // - if (n.name () == "joining-method" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + UserType* UserType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const { - ::std::unique_ptr< Joining_methodType > r ( - Joining_methodTraits::create (i, f, this)); + return new class UserType (*this, f, c); + } - if (!this->joining_method_) + UserType& UserType:: + operator= (const UserType& x) + { + if (this != &x) { - this->joining_method_.set (::std::move (r)); - continue; + static_cast< ::LinphonePrivate::Xsd::XmlSchema::Type& > (*this) = x; + this->display_text_ = x.display_text_; + this->associated_aors_ = x.associated_aors_; + this->roles_ = x.roles_; + this->languages_ = x.languages_; + this->cascaded_focus_ = x.cascaded_focus_; + this->endpoint_ = x.endpoint_; + this->any_ = x.any_; + this->entity_ = x.entity_; + this->state_ = x.state_; + this->any_attribute_ = x.any_attribute_; } + + return *this; } - // joining-info - // - if (n.name () == "joining-info" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + UserType:: + ~UserType () { - ::std::unique_ptr< Joining_infoType > r ( - Joining_infoTraits::create (i, f, this)); + } - if (!this->joining_info_) + // UserRolesType + // + + UserRolesType:: + UserRolesType () + : ::LinphonePrivate::Xsd::XmlSchema::Type (), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + entry_ (this), + any_attribute_ (this->getDomDocument ()) + { + } + + UserRolesType:: + UserRolesType (const UserRolesType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (x, f, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + entry_ (x.entry_, f, this), + any_attribute_ (x.any_attribute_, this->getDomDocument ()) + { + } + + UserRolesType:: + UserRolesType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (e, f | ::LinphonePrivate::Xsd::XmlSchema::Flags::base, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + entry_ (this), + any_attribute_ (this->getDomDocument ()) + { + if ((f & ::LinphonePrivate::Xsd::XmlSchema::Flags::base) == 0) { - this->joining_info_.set (::std::move (r)); - continue; + ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); + this->parse (p, f); } } - // disconnection-method - // - if (n.name () == "disconnection-method" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + void UserRolesType:: + parse (::xsd::cxx::xml::dom::parser< char >& p, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) { - ::std::unique_ptr< Disconnection_methodType > r ( - Disconnection_methodTraits::create (i, f, this)); - - if (!this->disconnection_method_) + for (; p.more_content (); p.next_content (false)) { - this->disconnection_method_.set (::std::move (r)); - continue; + const ::xercesc::DOMElement& i (p.cur_element ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // entry + // + if (n.name () == "entry" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< EntryType > r ( + EntryTraits::create (i, f, this)); + + this->entry_.push_back (::std::move (r)); + continue; + } + + break; } - } - // disconnection-info - // - if (n.name () == "disconnection-info" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< Disconnection_infoType > r ( - Disconnection_infoTraits::create (i, f, this)); - - if (!this->disconnection_info_) + while (p.more_attributes ()) { - this->disconnection_info_.set (::std::move (r)); - continue; + const ::xercesc::DOMAttr& i (p.next_attribute ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // any_attribute + // + if ((!n.namespace_ ().empty () && + n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && + n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && + n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + { + ::xercesc::DOMAttr* r ( + static_cast< ::xercesc::DOMAttr* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMAttr* > (&i), true))); + this->any_attribute_ .insert (r); + continue; + } } } - // media - // - if (n.name () == "media" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + UserRolesType* UserRolesType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const { - ::std::unique_ptr< MediaType > r ( - MediaTraits::create (i, f, this)); - - this->media_.push_back (::std::move (r)); - continue; + return new class UserRolesType (*this, f, c); } - // call-info - // - if (n.name () == "call-info" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + UserRolesType& UserRolesType:: + operator= (const UserRolesType& x) { - ::std::unique_ptr< Call_infoType > r ( - Call_infoTraits::create (i, f, this)); - - if (!this->call_info_) + if (this != &x) { - this->call_info_.set (::std::move (r)); - continue; + static_cast< ::LinphonePrivate::Xsd::XmlSchema::Type& > (*this) = x; + this->entry_ = x.entry_; + this->any_attribute_ = x.any_attribute_; } + + return *this; } - // any + UserRolesType:: + ~UserRolesType () + { + } + + // UserLanguagesType // - if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:conference-info")) + + UserLanguagesType:: + UserLanguagesType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::SimpleType (e, f, c), + ::xsd::cxx::tree::list< ::LinphonePrivate::Xsd::XmlSchema::Language, char > (e, f, this) { - ::xercesc::DOMElement* r ( - static_cast< ::xercesc::DOMElement* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMElement* > (&i), true))); - this->any_.push_back (r); - continue; } - break; - } - - while (p.more_attributes ()) - { - const ::xercesc::DOMAttr& i (p.next_attribute ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - if (n.name () == "entity" && n.namespace_ ().empty ()) + UserLanguagesType:: + UserLanguagesType (const ::xercesc::DOMAttr& a, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::SimpleType (a, f, c), + ::xsd::cxx::tree::list< ::LinphonePrivate::Xsd::XmlSchema::Language, char > (a, f, this) { - this->entity_.set (EntityTraits::create (i, f, this)); - continue; } - if (n.name () == "state" && n.namespace_ ().empty ()) + UserLanguagesType:: + UserLanguagesType (const ::std::string& s, + const ::xercesc::DOMElement* e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::SimpleType (s, e, f, c), + ::xsd::cxx::tree::list< ::LinphonePrivate::Xsd::XmlSchema::Language, char > (s, e, f, this) { - this->state_.set (StateTraits::create (i, f, this)); - continue; } - // any_attribute + UserLanguagesType* UserLanguagesType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const + { + return new class UserLanguagesType (*this, f, c); + } + + UserLanguagesType:: + ~UserLanguagesType () + { + } + + // EndpointType // - if ((!n.namespace_ ().empty () && - n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && - n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && - n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + + const EndpointType::StateType EndpointType::state_default_value_ ( + "full"); + + EndpointType:: + EndpointType () + : ::LinphonePrivate::Xsd::XmlSchema::Type (), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_text_ (this), + referred_ (this), + status_ (this), + joining_method_ (this), + joining_info_ (this), + disconnection_method_ (this), + disconnection_info_ (this), + media_ (this), + call_info_ (this), + any_ (this->getDomDocument ()), + entity_ (this), + state_ (getStateDefaultValue (), this), + any_attribute_ (this->getDomDocument ()) { - ::xercesc::DOMAttr* r ( - static_cast< ::xercesc::DOMAttr* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMAttr* > (&i), true))); - this->any_attribute_ .insert (r); - continue; } - } - if (!state_.present ()) - { - this->state_.set (getStateDefaultValue ()); - } - } - - Endpoint_type* Endpoint_type:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class Endpoint_type (*this, f, c); - } - - Endpoint_type& Endpoint_type:: - operator= (const Endpoint_type& x) - { - if (this != &x) - { - static_cast< ::xml_schema::Type& > (*this) = x; - this->display_text_ = x.display_text_; - this->referred_ = x.referred_; - this->status_ = x.status_; - this->joining_method_ = x.joining_method_; - this->joining_info_ = x.joining_info_; - this->disconnection_method_ = x.disconnection_method_; - this->disconnection_info_ = x.disconnection_info_; - this->media_ = x.media_; - this->call_info_ = x.call_info_; - this->any_ = x.any_; - this->entity_ = x.entity_; - this->state_ = x.state_; - this->any_attribute_ = x.any_attribute_; - } - - return *this; - } - - Endpoint_type:: - ~Endpoint_type () - { - } - - // Endpoint_status_type - // - - Endpoint_status_type:: - Endpoint_status_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (e, f, c) - { - _xsd_Endpoint_status_type_convert (); - } - - Endpoint_status_type:: - Endpoint_status_type (const ::xercesc::DOMAttr& a, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (a, f, c) - { - _xsd_Endpoint_status_type_convert (); - } - - Endpoint_status_type:: - Endpoint_status_type (const ::std::string& s, - const ::xercesc::DOMElement* e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (s, e, f, c) - { - _xsd_Endpoint_status_type_convert (); - } - - Endpoint_status_type* Endpoint_status_type:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class Endpoint_status_type (*this, f, c); - } - - Endpoint_status_type::Value Endpoint_status_type:: - _xsd_Endpoint_status_type_convert () const - { - ::xsd::cxx::tree::enum_comparator< char > c (_xsd_Endpoint_status_type_literals_); - const Value* i (::std::lower_bound ( - _xsd_Endpoint_status_type_indexes_, - _xsd_Endpoint_status_type_indexes_ + 9, - *this, - c)); - - if (i == _xsd_Endpoint_status_type_indexes_ + 9 || _xsd_Endpoint_status_type_literals_[*i] != *this) - { - throw ::xsd::cxx::tree::unexpected_enumerator < char > (*this); - } - - return *i; - } - - const char* const Endpoint_status_type:: - _xsd_Endpoint_status_type_literals_[9] = - { - "pending", - "dialing-out", - "dialing-in", - "alerting", - "on-hold", - "connected", - "muted-via-focus", - "disconnecting", - "disconnected" - }; - - const Endpoint_status_type::Value Endpoint_status_type:: - _xsd_Endpoint_status_type_indexes_[9] = - { - ::conference_info::Endpoint_status_type::alerting, - ::conference_info::Endpoint_status_type::connected, - ::conference_info::Endpoint_status_type::dialing_in, - ::conference_info::Endpoint_status_type::dialing_out, - ::conference_info::Endpoint_status_type::disconnected, - ::conference_info::Endpoint_status_type::disconnecting, - ::conference_info::Endpoint_status_type::muted_via_focus, - ::conference_info::Endpoint_status_type::on_hold, - ::conference_info::Endpoint_status_type::pending - }; - - // Joining_type - // - - Joining_type:: - Joining_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (e, f, c) - { - _xsd_Joining_type_convert (); - } - - Joining_type:: - Joining_type (const ::xercesc::DOMAttr& a, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (a, f, c) - { - _xsd_Joining_type_convert (); - } - - Joining_type:: - Joining_type (const ::std::string& s, - const ::xercesc::DOMElement* e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (s, e, f, c) - { - _xsd_Joining_type_convert (); - } - - Joining_type* Joining_type:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class Joining_type (*this, f, c); - } - - Joining_type::Value Joining_type:: - _xsd_Joining_type_convert () const - { - ::xsd::cxx::tree::enum_comparator< char > c (_xsd_Joining_type_literals_); - const Value* i (::std::lower_bound ( - _xsd_Joining_type_indexes_, - _xsd_Joining_type_indexes_ + 3, - *this, - c)); - - if (i == _xsd_Joining_type_indexes_ + 3 || _xsd_Joining_type_literals_[*i] != *this) - { - throw ::xsd::cxx::tree::unexpected_enumerator < char > (*this); - } - - return *i; - } - - const char* const Joining_type:: - _xsd_Joining_type_literals_[3] = - { - "dialed-in", - "dialed-out", - "focus-owner" - }; - - const Joining_type::Value Joining_type:: - _xsd_Joining_type_indexes_[3] = - { - ::conference_info::Joining_type::dialed_in, - ::conference_info::Joining_type::dialed_out, - ::conference_info::Joining_type::focus_owner - }; - - // Disconnection_type - // - - Disconnection_type:: - Disconnection_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (e, f, c) - { - _xsd_Disconnection_type_convert (); - } - - Disconnection_type:: - Disconnection_type (const ::xercesc::DOMAttr& a, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (a, f, c) - { - _xsd_Disconnection_type_convert (); - } - - Disconnection_type:: - Disconnection_type (const ::std::string& s, - const ::xercesc::DOMElement* e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (s, e, f, c) - { - _xsd_Disconnection_type_convert (); - } - - Disconnection_type* Disconnection_type:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class Disconnection_type (*this, f, c); - } - - Disconnection_type::Value Disconnection_type:: - _xsd_Disconnection_type_convert () const - { - ::xsd::cxx::tree::enum_comparator< char > c (_xsd_Disconnection_type_literals_); - const Value* i (::std::lower_bound ( - _xsd_Disconnection_type_indexes_, - _xsd_Disconnection_type_indexes_ + 4, - *this, - c)); - - if (i == _xsd_Disconnection_type_indexes_ + 4 || _xsd_Disconnection_type_literals_[*i] != *this) - { - throw ::xsd::cxx::tree::unexpected_enumerator < char > (*this); - } - - return *i; - } - - const char* const Disconnection_type:: - _xsd_Disconnection_type_literals_[4] = - { - "departed", - "booted", - "failed", - "busy" - }; - - const Disconnection_type::Value Disconnection_type:: - _xsd_Disconnection_type_indexes_[4] = - { - ::conference_info::Disconnection_type::booted, - ::conference_info::Disconnection_type::busy, - ::conference_info::Disconnection_type::departed, - ::conference_info::Disconnection_type::failed - }; - - // Execution_type - // - - Execution_type:: - Execution_type () - : ::xml_schema::Type (), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - when_ (this), - reason_ (this), - by_ (this), - any_attribute_ (this->getDomDocument ()) - { - } - - Execution_type:: - Execution_type (const Execution_type& x, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (x, f, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - when_ (x.when_, f, this), - reason_ (x.reason_, f, this), - by_ (x.by_, f, this), - any_attribute_ (x.any_attribute_, this->getDomDocument ()) - { - } - - Execution_type:: - Execution_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (e, f | ::xml_schema::Flags::base, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - when_ (this), - reason_ (this), - by_ (this), - any_attribute_ (this->getDomDocument ()) - { - if ((f & ::xml_schema::Flags::base) == 0) - { - ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); - this->parse (p, f); - } - } - - void Execution_type:: - parse (::xsd::cxx::xml::dom::parser< char >& p, - ::xml_schema::Flags f) - { - for (; p.more_content (); p.next_content (false)) - { - const ::xercesc::DOMElement& i (p.cur_element ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // when - // - if (n.name () == "when" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + EndpointType:: + EndpointType (const EndpointType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (x, f, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_text_ (x.display_text_, f, this), + referred_ (x.referred_, f, this), + status_ (x.status_, f, this), + joining_method_ (x.joining_method_, f, this), + joining_info_ (x.joining_info_, f, this), + disconnection_method_ (x.disconnection_method_, f, this), + disconnection_info_ (x.disconnection_info_, f, this), + media_ (x.media_, f, this), + call_info_ (x.call_info_, f, this), + any_ (x.any_, this->getDomDocument ()), + entity_ (x.entity_, f, this), + state_ (x.state_, f, this), + any_attribute_ (x.any_attribute_, this->getDomDocument ()) { - ::std::unique_ptr< WhenType > r ( - WhenTraits::create (i, f, this)); + } - if (!this->when_) + EndpointType:: + EndpointType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (e, f | ::LinphonePrivate::Xsd::XmlSchema::Flags::base, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_text_ (this), + referred_ (this), + status_ (this), + joining_method_ (this), + joining_info_ (this), + disconnection_method_ (this), + disconnection_info_ (this), + media_ (this), + call_info_ (this), + any_ (this->getDomDocument ()), + entity_ (this), + state_ (this), + any_attribute_ (this->getDomDocument ()) + { + if ((f & ::LinphonePrivate::Xsd::XmlSchema::Flags::base) == 0) { - this->when_.set (::std::move (r)); - continue; + ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); + this->parse (p, f); } } - // reason - // - if (n.name () == "reason" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + void EndpointType:: + parse (::xsd::cxx::xml::dom::parser< char >& p, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) { - ::std::unique_ptr< ReasonType > r ( - ReasonTraits::create (i, f, this)); - - if (!this->reason_) + for (; p.more_content (); p.next_content (false)) { - this->reason_.set (::std::move (r)); - continue; + const ::xercesc::DOMElement& i (p.cur_element ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // display-text + // + if (n.name () == "display-text" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< DisplayTextType > r ( + DisplayTextTraits::create (i, f, this)); + + if (!this->display_text_) + { + this->display_text_.set (::std::move (r)); + continue; + } + } + + // referred + // + if (n.name () == "referred" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< ReferredType > r ( + ReferredTraits::create (i, f, this)); + + if (!this->referred_) + { + this->referred_.set (::std::move (r)); + continue; + } + } + + // status + // + if (n.name () == "status" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< StatusType > r ( + StatusTraits::create (i, f, this)); + + if (!this->status_) + { + this->status_.set (::std::move (r)); + continue; + } + } + + // joining-method + // + if (n.name () == "joining-method" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< JoiningMethodType > r ( + JoiningMethodTraits::create (i, f, this)); + + if (!this->joining_method_) + { + this->joining_method_.set (::std::move (r)); + continue; + } + } + + // joining-info + // + if (n.name () == "joining-info" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< JoiningInfoType > r ( + JoiningInfoTraits::create (i, f, this)); + + if (!this->joining_info_) + { + this->joining_info_.set (::std::move (r)); + continue; + } + } + + // disconnection-method + // + if (n.name () == "disconnection-method" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< DisconnectionMethodType > r ( + DisconnectionMethodTraits::create (i, f, this)); + + if (!this->disconnection_method_) + { + this->disconnection_method_.set (::std::move (r)); + continue; + } + } + + // disconnection-info + // + if (n.name () == "disconnection-info" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< DisconnectionInfoType > r ( + DisconnectionInfoTraits::create (i, f, this)); + + if (!this->disconnection_info_) + { + this->disconnection_info_.set (::std::move (r)); + continue; + } + } + + // media + // + if (n.name () == "media" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< MediaType > r ( + MediaTraits::create (i, f, this)); + + this->media_.push_back (::std::move (r)); + continue; + } + + // call-info + // + if (n.name () == "call-info" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< CallInfoType > r ( + CallInfoTraits::create (i, f, this)); + + if (!this->call_info_) + { + this->call_info_.set (::std::move (r)); + continue; + } + } + + // any + // + if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:conference-info")) + { + ::xercesc::DOMElement* r ( + static_cast< ::xercesc::DOMElement* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMElement* > (&i), true))); + this->any_.push_back (r); + continue; + } + + break; } - } - // by - // - if (n.name () == "by" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< ByType > r ( - ByTraits::create (i, f, this)); - - if (!this->by_) + while (p.more_attributes ()) { - this->by_.set (::std::move (r)); - continue; + const ::xercesc::DOMAttr& i (p.next_attribute ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + if (n.name () == "entity" && n.namespace_ ().empty ()) + { + this->entity_.set (EntityTraits::create (i, f, this)); + continue; + } + + if (n.name () == "state" && n.namespace_ ().empty ()) + { + this->state_.set (StateTraits::create (i, f, this)); + continue; + } + + // any_attribute + // + if ((!n.namespace_ ().empty () && + n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && + n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && + n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + { + ::xercesc::DOMAttr* r ( + static_cast< ::xercesc::DOMAttr* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMAttr* > (&i), true))); + this->any_attribute_ .insert (r); + continue; + } } - } - break; - } - - while (p.more_attributes ()) - { - const ::xercesc::DOMAttr& i (p.next_attribute ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // any_attribute - // - if ((!n.namespace_ ().empty () && - n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && - n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && - n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) - { - ::xercesc::DOMAttr* r ( - static_cast< ::xercesc::DOMAttr* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMAttr* > (&i), true))); - this->any_attribute_ .insert (r); - continue; - } - } - } - - Execution_type* Execution_type:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class Execution_type (*this, f, c); - } - - Execution_type& Execution_type:: - operator= (const Execution_type& x) - { - if (this != &x) - { - static_cast< ::xml_schema::Type& > (*this) = x; - this->when_ = x.when_; - this->reason_ = x.reason_; - this->by_ = x.by_; - this->any_attribute_ = x.any_attribute_; - } - - return *this; - } - - Execution_type:: - ~Execution_type () - { - } - - // Call_type - // - - Call_type:: - Call_type () - : ::xml_schema::Type (), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - sip_ (this), - any_ (this->getDomDocument ()), - any_attribute_ (this->getDomDocument ()) - { - } - - Call_type:: - Call_type (const Call_type& x, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (x, f, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - sip_ (x.sip_, f, this), - any_ (x.any_, this->getDomDocument ()), - any_attribute_ (x.any_attribute_, this->getDomDocument ()) - { - } - - Call_type:: - Call_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (e, f | ::xml_schema::Flags::base, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - sip_ (this), - any_ (this->getDomDocument ()), - any_attribute_ (this->getDomDocument ()) - { - if ((f & ::xml_schema::Flags::base) == 0) - { - ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); - this->parse (p, f); - } - } - - void Call_type:: - parse (::xsd::cxx::xml::dom::parser< char >& p, - ::xml_schema::Flags f) - { - for (; p.more_content (); p.next_content (false)) - { - const ::xercesc::DOMElement& i (p.cur_element ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // sip - // - if (n.name () == "sip" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< SipType > r ( - SipTraits::create (i, f, this)); - - if (!this->sip_) + if (!state_.present ()) { - this->sip_.set (::std::move (r)); - continue; + this->state_.set (getStateDefaultValue ()); } } - // any - // - if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:conference-info")) + EndpointType* EndpointType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const { - ::xercesc::DOMElement* r ( - static_cast< ::xercesc::DOMElement* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMElement* > (&i), true))); - this->any_.push_back (r); - continue; + return new class EndpointType (*this, f, c); } - break; - } - - while (p.more_attributes ()) - { - const ::xercesc::DOMAttr& i (p.next_attribute ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // any_attribute - // - if ((!n.namespace_ ().empty () && - n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && - n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && - n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + EndpointType& EndpointType:: + operator= (const EndpointType& x) { - ::xercesc::DOMAttr* r ( - static_cast< ::xercesc::DOMAttr* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMAttr* > (&i), true))); - this->any_attribute_ .insert (r); - continue; - } - } - } - - Call_type* Call_type:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class Call_type (*this, f, c); - } - - Call_type& Call_type:: - operator= (const Call_type& x) - { - if (this != &x) - { - static_cast< ::xml_schema::Type& > (*this) = x; - this->sip_ = x.sip_; - this->any_ = x.any_; - this->any_attribute_ = x.any_attribute_; - } - - return *this; - } - - Call_type:: - ~Call_type () - { - } - - // Sip_dialog_id_type - // - - Sip_dialog_id_type:: - Sip_dialog_id_type (const Call_idType& call_id, - const From_tagType& from_tag, - const To_tagType& to_tag) - : ::xml_schema::Type (), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_text_ (this), - call_id_ (call_id, this), - from_tag_ (from_tag, this), - to_tag_ (to_tag, this), - any_ (this->getDomDocument ()), - any_attribute_ (this->getDomDocument ()) - { - } - - Sip_dialog_id_type:: - Sip_dialog_id_type (const Sip_dialog_id_type& x, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (x, f, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_text_ (x.display_text_, f, this), - call_id_ (x.call_id_, f, this), - from_tag_ (x.from_tag_, f, this), - to_tag_ (x.to_tag_, f, this), - any_ (x.any_, this->getDomDocument ()), - any_attribute_ (x.any_attribute_, this->getDomDocument ()) - { - } - - Sip_dialog_id_type:: - Sip_dialog_id_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (e, f | ::xml_schema::Flags::base, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_text_ (this), - call_id_ (this), - from_tag_ (this), - to_tag_ (this), - any_ (this->getDomDocument ()), - any_attribute_ (this->getDomDocument ()) - { - if ((f & ::xml_schema::Flags::base) == 0) - { - ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); - this->parse (p, f); - } - } - - void Sip_dialog_id_type:: - parse (::xsd::cxx::xml::dom::parser< char >& p, - ::xml_schema::Flags f) - { - for (; p.more_content (); p.next_content (false)) - { - const ::xercesc::DOMElement& i (p.cur_element ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // display-text - // - if (n.name () == "display-text" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< Display_textType > r ( - Display_textTraits::create (i, f, this)); - - if (!this->display_text_) + if (this != &x) { - this->display_text_.set (::std::move (r)); - continue; + static_cast< ::LinphonePrivate::Xsd::XmlSchema::Type& > (*this) = x; + this->display_text_ = x.display_text_; + this->referred_ = x.referred_; + this->status_ = x.status_; + this->joining_method_ = x.joining_method_; + this->joining_info_ = x.joining_info_; + this->disconnection_method_ = x.disconnection_method_; + this->disconnection_info_ = x.disconnection_info_; + this->media_ = x.media_; + this->call_info_ = x.call_info_; + this->any_ = x.any_; + this->entity_ = x.entity_; + this->state_ = x.state_; + this->any_attribute_ = x.any_attribute_; + } + + return *this; + } + + EndpointType:: + ~EndpointType () + { + } + + // EndpointStatusType + // + + EndpointStatusType:: + EndpointStatusType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (e, f, c) + { + _xsd_EndpointStatusType_convert (); + } + + EndpointStatusType:: + EndpointStatusType (const ::xercesc::DOMAttr& a, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (a, f, c) + { + _xsd_EndpointStatusType_convert (); + } + + EndpointStatusType:: + EndpointStatusType (const ::std::string& s, + const ::xercesc::DOMElement* e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (s, e, f, c) + { + _xsd_EndpointStatusType_convert (); + } + + EndpointStatusType* EndpointStatusType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const + { + return new class EndpointStatusType (*this, f, c); + } + + EndpointStatusType::Value EndpointStatusType:: + _xsd_EndpointStatusType_convert () const + { + ::xsd::cxx::tree::enum_comparator< char > c (_xsd_EndpointStatusType_literals_); + const Value* i (::std::lower_bound ( + _xsd_EndpointStatusType_indexes_, + _xsd_EndpointStatusType_indexes_ + 9, + *this, + c)); + + if (i == _xsd_EndpointStatusType_indexes_ + 9 || _xsd_EndpointStatusType_literals_[*i] != *this) + { + throw ::xsd::cxx::tree::unexpected_enumerator < char > (*this); + } + + return *i; + } + + const char* const EndpointStatusType:: + _xsd_EndpointStatusType_literals_[9] = + { + "pending", + "dialing-out", + "dialing-in", + "alerting", + "on-hold", + "connected", + "muted-via-focus", + "disconnecting", + "disconnected" + }; + + const EndpointStatusType::Value EndpointStatusType:: + _xsd_EndpointStatusType_indexes_[9] = + { + ::LinphonePrivate::Xsd::ConferenceInfo::EndpointStatusType::alerting, + ::LinphonePrivate::Xsd::ConferenceInfo::EndpointStatusType::connected, + ::LinphonePrivate::Xsd::ConferenceInfo::EndpointStatusType::dialing_in, + ::LinphonePrivate::Xsd::ConferenceInfo::EndpointStatusType::dialing_out, + ::LinphonePrivate::Xsd::ConferenceInfo::EndpointStatusType::disconnected, + ::LinphonePrivate::Xsd::ConferenceInfo::EndpointStatusType::disconnecting, + ::LinphonePrivate::Xsd::ConferenceInfo::EndpointStatusType::muted_via_focus, + ::LinphonePrivate::Xsd::ConferenceInfo::EndpointStatusType::on_hold, + ::LinphonePrivate::Xsd::ConferenceInfo::EndpointStatusType::pending + }; + + // JoiningType + // + + JoiningType:: + JoiningType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (e, f, c) + { + _xsd_JoiningType_convert (); + } + + JoiningType:: + JoiningType (const ::xercesc::DOMAttr& a, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (a, f, c) + { + _xsd_JoiningType_convert (); + } + + JoiningType:: + JoiningType (const ::std::string& s, + const ::xercesc::DOMElement* e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (s, e, f, c) + { + _xsd_JoiningType_convert (); + } + + JoiningType* JoiningType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const + { + return new class JoiningType (*this, f, c); + } + + JoiningType::Value JoiningType:: + _xsd_JoiningType_convert () const + { + ::xsd::cxx::tree::enum_comparator< char > c (_xsd_JoiningType_literals_); + const Value* i (::std::lower_bound ( + _xsd_JoiningType_indexes_, + _xsd_JoiningType_indexes_ + 3, + *this, + c)); + + if (i == _xsd_JoiningType_indexes_ + 3 || _xsd_JoiningType_literals_[*i] != *this) + { + throw ::xsd::cxx::tree::unexpected_enumerator < char > (*this); + } + + return *i; + } + + const char* const JoiningType:: + _xsd_JoiningType_literals_[3] = + { + "dialed-in", + "dialed-out", + "focus-owner" + }; + + const JoiningType::Value JoiningType:: + _xsd_JoiningType_indexes_[3] = + { + ::LinphonePrivate::Xsd::ConferenceInfo::JoiningType::dialed_in, + ::LinphonePrivate::Xsd::ConferenceInfo::JoiningType::dialed_out, + ::LinphonePrivate::Xsd::ConferenceInfo::JoiningType::focus_owner + }; + + // DisconnectionType + // + + DisconnectionType:: + DisconnectionType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (e, f, c) + { + _xsd_DisconnectionType_convert (); + } + + DisconnectionType:: + DisconnectionType (const ::xercesc::DOMAttr& a, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (a, f, c) + { + _xsd_DisconnectionType_convert (); + } + + DisconnectionType:: + DisconnectionType (const ::std::string& s, + const ::xercesc::DOMElement* e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (s, e, f, c) + { + _xsd_DisconnectionType_convert (); + } + + DisconnectionType* DisconnectionType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const + { + return new class DisconnectionType (*this, f, c); + } + + DisconnectionType::Value DisconnectionType:: + _xsd_DisconnectionType_convert () const + { + ::xsd::cxx::tree::enum_comparator< char > c (_xsd_DisconnectionType_literals_); + const Value* i (::std::lower_bound ( + _xsd_DisconnectionType_indexes_, + _xsd_DisconnectionType_indexes_ + 4, + *this, + c)); + + if (i == _xsd_DisconnectionType_indexes_ + 4 || _xsd_DisconnectionType_literals_[*i] != *this) + { + throw ::xsd::cxx::tree::unexpected_enumerator < char > (*this); + } + + return *i; + } + + const char* const DisconnectionType:: + _xsd_DisconnectionType_literals_[4] = + { + "departed", + "booted", + "failed", + "busy" + }; + + const DisconnectionType::Value DisconnectionType:: + _xsd_DisconnectionType_indexes_[4] = + { + ::LinphonePrivate::Xsd::ConferenceInfo::DisconnectionType::booted, + ::LinphonePrivate::Xsd::ConferenceInfo::DisconnectionType::busy, + ::LinphonePrivate::Xsd::ConferenceInfo::DisconnectionType::departed, + ::LinphonePrivate::Xsd::ConferenceInfo::DisconnectionType::failed + }; + + // ExecutionType + // + + ExecutionType:: + ExecutionType () + : ::LinphonePrivate::Xsd::XmlSchema::Type (), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + when_ (this), + reason_ (this), + by_ (this), + any_attribute_ (this->getDomDocument ()) + { + } + + ExecutionType:: + ExecutionType (const ExecutionType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (x, f, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + when_ (x.when_, f, this), + reason_ (x.reason_, f, this), + by_ (x.by_, f, this), + any_attribute_ (x.any_attribute_, this->getDomDocument ()) + { + } + + ExecutionType:: + ExecutionType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (e, f | ::LinphonePrivate::Xsd::XmlSchema::Flags::base, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + when_ (this), + reason_ (this), + by_ (this), + any_attribute_ (this->getDomDocument ()) + { + if ((f & ::LinphonePrivate::Xsd::XmlSchema::Flags::base) == 0) + { + ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); + this->parse (p, f); } } - // call-id - // - if (n.name () == "call-id" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + void ExecutionType:: + parse (::xsd::cxx::xml::dom::parser< char >& p, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) { - ::std::unique_ptr< Call_idType > r ( - Call_idTraits::create (i, f, this)); + for (; p.more_content (); p.next_content (false)) + { + const ::xercesc::DOMElement& i (p.cur_element ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // when + // + if (n.name () == "when" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< WhenType > r ( + WhenTraits::create (i, f, this)); + + if (!this->when_) + { + this->when_.set (::std::move (r)); + continue; + } + } + + // reason + // + if (n.name () == "reason" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< ReasonType > r ( + ReasonTraits::create (i, f, this)); + + if (!this->reason_) + { + this->reason_.set (::std::move (r)); + continue; + } + } + + // by + // + if (n.name () == "by" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< ByType > r ( + ByTraits::create (i, f, this)); + + if (!this->by_) + { + this->by_.set (::std::move (r)); + continue; + } + } + + break; + } + + while (p.more_attributes ()) + { + const ::xercesc::DOMAttr& i (p.next_attribute ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // any_attribute + // + if ((!n.namespace_ ().empty () && + n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && + n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && + n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + { + ::xercesc::DOMAttr* r ( + static_cast< ::xercesc::DOMAttr* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMAttr* > (&i), true))); + this->any_attribute_ .insert (r); + continue; + } + } + } + + ExecutionType* ExecutionType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const + { + return new class ExecutionType (*this, f, c); + } + + ExecutionType& ExecutionType:: + operator= (const ExecutionType& x) + { + if (this != &x) + { + static_cast< ::LinphonePrivate::Xsd::XmlSchema::Type& > (*this) = x; + this->when_ = x.when_; + this->reason_ = x.reason_; + this->by_ = x.by_; + this->any_attribute_ = x.any_attribute_; + } + + return *this; + } + + ExecutionType:: + ~ExecutionType () + { + } + + // CallType + // + + CallType:: + CallType () + : ::LinphonePrivate::Xsd::XmlSchema::Type (), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + sip_ (this), + any_ (this->getDomDocument ()), + any_attribute_ (this->getDomDocument ()) + { + } + + CallType:: + CallType (const CallType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (x, f, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + sip_ (x.sip_, f, this), + any_ (x.any_, this->getDomDocument ()), + any_attribute_ (x.any_attribute_, this->getDomDocument ()) + { + } + + CallType:: + CallType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (e, f | ::LinphonePrivate::Xsd::XmlSchema::Flags::base, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + sip_ (this), + any_ (this->getDomDocument ()), + any_attribute_ (this->getDomDocument ()) + { + if ((f & ::LinphonePrivate::Xsd::XmlSchema::Flags::base) == 0) + { + ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); + this->parse (p, f); + } + } + + void CallType:: + parse (::xsd::cxx::xml::dom::parser< char >& p, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) + { + for (; p.more_content (); p.next_content (false)) + { + const ::xercesc::DOMElement& i (p.cur_element ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // sip + // + if (n.name () == "sip" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< SipType > r ( + SipTraits::create (i, f, this)); + + if (!this->sip_) + { + this->sip_.set (::std::move (r)); + continue; + } + } + + // any + // + if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:conference-info")) + { + ::xercesc::DOMElement* r ( + static_cast< ::xercesc::DOMElement* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMElement* > (&i), true))); + this->any_.push_back (r); + continue; + } + + break; + } + + while (p.more_attributes ()) + { + const ::xercesc::DOMAttr& i (p.next_attribute ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // any_attribute + // + if ((!n.namespace_ ().empty () && + n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && + n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && + n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + { + ::xercesc::DOMAttr* r ( + static_cast< ::xercesc::DOMAttr* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMAttr* > (&i), true))); + this->any_attribute_ .insert (r); + continue; + } + } + } + + CallType* CallType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const + { + return new class CallType (*this, f, c); + } + + CallType& CallType:: + operator= (const CallType& x) + { + if (this != &x) + { + static_cast< ::LinphonePrivate::Xsd::XmlSchema::Type& > (*this) = x; + this->sip_ = x.sip_; + this->any_ = x.any_; + this->any_attribute_ = x.any_attribute_; + } + + return *this; + } + + CallType:: + ~CallType () + { + } + + // SipDialogIdType + // + + SipDialogIdType:: + SipDialogIdType (const CallIdType& call_id, + const FromTagType& from_tag, + const ToTagType& to_tag) + : ::LinphonePrivate::Xsd::XmlSchema::Type (), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_text_ (this), + call_id_ (call_id, this), + from_tag_ (from_tag, this), + to_tag_ (to_tag, this), + any_ (this->getDomDocument ()), + any_attribute_ (this->getDomDocument ()) + { + } + + SipDialogIdType:: + SipDialogIdType (const SipDialogIdType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (x, f, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_text_ (x.display_text_, f, this), + call_id_ (x.call_id_, f, this), + from_tag_ (x.from_tag_, f, this), + to_tag_ (x.to_tag_, f, this), + any_ (x.any_, this->getDomDocument ()), + any_attribute_ (x.any_attribute_, this->getDomDocument ()) + { + } + + SipDialogIdType:: + SipDialogIdType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (e, f | ::LinphonePrivate::Xsd::XmlSchema::Flags::base, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_text_ (this), + call_id_ (this), + from_tag_ (this), + to_tag_ (this), + any_ (this->getDomDocument ()), + any_attribute_ (this->getDomDocument ()) + { + if ((f & ::LinphonePrivate::Xsd::XmlSchema::Flags::base) == 0) + { + ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); + this->parse (p, f); + } + } + + void SipDialogIdType:: + parse (::xsd::cxx::xml::dom::parser< char >& p, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) + { + for (; p.more_content (); p.next_content (false)) + { + const ::xercesc::DOMElement& i (p.cur_element ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // display-text + // + if (n.name () == "display-text" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< DisplayTextType > r ( + DisplayTextTraits::create (i, f, this)); + + if (!this->display_text_) + { + this->display_text_.set (::std::move (r)); + continue; + } + } + + // call-id + // + if (n.name () == "call-id" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< CallIdType > r ( + CallIdTraits::create (i, f, this)); + + if (!call_id_.present ()) + { + this->call_id_.set (::std::move (r)); + continue; + } + } + + // from-tag + // + if (n.name () == "from-tag" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< FromTagType > r ( + FromTagTraits::create (i, f, this)); + + if (!from_tag_.present ()) + { + this->from_tag_.set (::std::move (r)); + continue; + } + } + + // to-tag + // + if (n.name () == "to-tag" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< ToTagType > r ( + ToTagTraits::create (i, f, this)); + + if (!to_tag_.present ()) + { + this->to_tag_.set (::std::move (r)); + continue; + } + } + + // any + // + if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:conference-info")) + { + ::xercesc::DOMElement* r ( + static_cast< ::xercesc::DOMElement* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMElement* > (&i), true))); + this->any_.push_back (r); + continue; + } + + break; + } if (!call_id_.present ()) { - this->call_id_.set (::std::move (r)); - continue; + throw ::xsd::cxx::tree::expected_element< char > ( + "call-id", + "urn:ietf:params:xml:ns:conference-info"); } - } - - // from-tag - // - if (n.name () == "from-tag" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< From_tagType > r ( - From_tagTraits::create (i, f, this)); if (!from_tag_.present ()) { - this->from_tag_.set (::std::move (r)); - continue; + throw ::xsd::cxx::tree::expected_element< char > ( + "from-tag", + "urn:ietf:params:xml:ns:conference-info"); } - } - - // to-tag - // - if (n.name () == "to-tag" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< To_tagType > r ( - To_tagTraits::create (i, f, this)); if (!to_tag_.present ()) { - this->to_tag_.set (::std::move (r)); - continue; + throw ::xsd::cxx::tree::expected_element< char > ( + "to-tag", + "urn:ietf:params:xml:ns:conference-info"); } - } - // any - // - if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:conference-info")) - { - ::xercesc::DOMElement* r ( - static_cast< ::xercesc::DOMElement* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMElement* > (&i), true))); - this->any_.push_back (r); - continue; - } - - break; - } - - if (!call_id_.present ()) - { - throw ::xsd::cxx::tree::expected_element< char > ( - "call-id", - "urn:ietf:params:xml:ns:conference-info"); - } - - if (!from_tag_.present ()) - { - throw ::xsd::cxx::tree::expected_element< char > ( - "from-tag", - "urn:ietf:params:xml:ns:conference-info"); - } - - if (!to_tag_.present ()) - { - throw ::xsd::cxx::tree::expected_element< char > ( - "to-tag", - "urn:ietf:params:xml:ns:conference-info"); - } - - while (p.more_attributes ()) - { - const ::xercesc::DOMAttr& i (p.next_attribute ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // any_attribute - // - if ((!n.namespace_ ().empty () && - n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && - n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && - n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) - { - ::xercesc::DOMAttr* r ( - static_cast< ::xercesc::DOMAttr* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMAttr* > (&i), true))); - this->any_attribute_ .insert (r); - continue; - } - } - } - - Sip_dialog_id_type* Sip_dialog_id_type:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class Sip_dialog_id_type (*this, f, c); - } - - Sip_dialog_id_type& Sip_dialog_id_type:: - operator= (const Sip_dialog_id_type& x) - { - if (this != &x) - { - static_cast< ::xml_schema::Type& > (*this) = x; - this->display_text_ = x.display_text_; - this->call_id_ = x.call_id_; - this->from_tag_ = x.from_tag_; - this->to_tag_ = x.to_tag_; - this->any_ = x.any_; - this->any_attribute_ = x.any_attribute_; - } - - return *this; - } - - Sip_dialog_id_type:: - ~Sip_dialog_id_type () - { - } - - // Media_type - // - - Media_type:: - Media_type (const IdType& id) - : ::xml_schema::Type (), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_text_ (this), - type_ (this), - label_ (this), - src_id_ (this), - status_ (this), - any_ (this->getDomDocument ()), - id_ (id, this), - any_attribute_ (this->getDomDocument ()) - { - } - - Media_type:: - Media_type (const Media_type& x, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (x, f, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_text_ (x.display_text_, f, this), - type_ (x.type_, f, this), - label_ (x.label_, f, this), - src_id_ (x.src_id_, f, this), - status_ (x.status_, f, this), - any_ (x.any_, this->getDomDocument ()), - id_ (x.id_, f, this), - any_attribute_ (x.any_attribute_, this->getDomDocument ()) - { - } - - Media_type:: - Media_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (e, f | ::xml_schema::Flags::base, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_text_ (this), - type_ (this), - label_ (this), - src_id_ (this), - status_ (this), - any_ (this->getDomDocument ()), - id_ (this), - any_attribute_ (this->getDomDocument ()) - { - if ((f & ::xml_schema::Flags::base) == 0) - { - ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); - this->parse (p, f); - } - } - - void Media_type:: - parse (::xsd::cxx::xml::dom::parser< char >& p, - ::xml_schema::Flags f) - { - for (; p.more_content (); p.next_content (false)) - { - const ::xercesc::DOMElement& i (p.cur_element ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // display-text - // - if (n.name () == "display-text" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< Display_textType > r ( - Display_textTraits::create (i, f, this)); - - if (!this->display_text_) + while (p.more_attributes ()) { - this->display_text_.set (::std::move (r)); - continue; + const ::xercesc::DOMAttr& i (p.next_attribute ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // any_attribute + // + if ((!n.namespace_ ().empty () && + n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && + n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && + n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + { + ::xercesc::DOMAttr* r ( + static_cast< ::xercesc::DOMAttr* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMAttr* > (&i), true))); + this->any_attribute_ .insert (r); + continue; + } } } - // type - // - if (n.name () == "type" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + SipDialogIdType* SipDialogIdType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const { - ::std::unique_ptr< TypeType > r ( - TypeTraits::create (i, f, this)); + return new class SipDialogIdType (*this, f, c); + } - if (!this->type_) + SipDialogIdType& SipDialogIdType:: + operator= (const SipDialogIdType& x) + { + if (this != &x) { - this->type_.set (::std::move (r)); - continue; + static_cast< ::LinphonePrivate::Xsd::XmlSchema::Type& > (*this) = x; + this->display_text_ = x.display_text_; + this->call_id_ = x.call_id_; + this->from_tag_ = x.from_tag_; + this->to_tag_ = x.to_tag_; + this->any_ = x.any_; + this->any_attribute_ = x.any_attribute_; } + + return *this; } - // label - // - if (n.name () == "label" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + SipDialogIdType:: + ~SipDialogIdType () { - ::std::unique_ptr< LabelType > r ( - LabelTraits::create (i, f, this)); + } - if (!this->label_) + // MediaType + // + + MediaType:: + MediaType (const IdType& id) + : ::LinphonePrivate::Xsd::XmlSchema::Type (), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_text_ (this), + type_ (this), + label_ (this), + src_id_ (this), + status_ (this), + any_ (this->getDomDocument ()), + id_ (id, this), + any_attribute_ (this->getDomDocument ()) + { + } + + MediaType:: + MediaType (const MediaType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (x, f, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_text_ (x.display_text_, f, this), + type_ (x.type_, f, this), + label_ (x.label_, f, this), + src_id_ (x.src_id_, f, this), + status_ (x.status_, f, this), + any_ (x.any_, this->getDomDocument ()), + id_ (x.id_, f, this), + any_attribute_ (x.any_attribute_, this->getDomDocument ()) + { + } + + MediaType:: + MediaType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (e, f | ::LinphonePrivate::Xsd::XmlSchema::Flags::base, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_text_ (this), + type_ (this), + label_ (this), + src_id_ (this), + status_ (this), + any_ (this->getDomDocument ()), + id_ (this), + any_attribute_ (this->getDomDocument ()) + { + if ((f & ::LinphonePrivate::Xsd::XmlSchema::Flags::base) == 0) { - this->label_.set (::std::move (r)); - continue; + ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); + this->parse (p, f); } } - // src-id - // - if (n.name () == "src-id" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + void MediaType:: + parse (::xsd::cxx::xml::dom::parser< char >& p, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) { - ::std::unique_ptr< Src_idType > r ( - Src_idTraits::create (i, f, this)); - - if (!this->src_id_) + for (; p.more_content (); p.next_content (false)) { - this->src_id_.set (::std::move (r)); - continue; + const ::xercesc::DOMElement& i (p.cur_element ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // display-text + // + if (n.name () == "display-text" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< DisplayTextType > r ( + DisplayTextTraits::create (i, f, this)); + + if (!this->display_text_) + { + this->display_text_.set (::std::move (r)); + continue; + } + } + + // type + // + if (n.name () == "type" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< TypeType > r ( + TypeTraits::create (i, f, this)); + + if (!this->type_) + { + this->type_.set (::std::move (r)); + continue; + } + } + + // label + // + if (n.name () == "label" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< LabelType > r ( + LabelTraits::create (i, f, this)); + + if (!this->label_) + { + this->label_.set (::std::move (r)); + continue; + } + } + + // src-id + // + if (n.name () == "src-id" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< SrcIdType > r ( + SrcIdTraits::create (i, f, this)); + + if (!this->src_id_) + { + this->src_id_.set (::std::move (r)); + continue; + } + } + + // status + // + if (n.name () == "status" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< StatusType > r ( + StatusTraits::create (i, f, this)); + + if (!this->status_) + { + this->status_.set (::std::move (r)); + continue; + } + } + + // any + // + if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:conference-info")) + { + ::xercesc::DOMElement* r ( + static_cast< ::xercesc::DOMElement* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMElement* > (&i), true))); + this->any_.push_back (r); + continue; + } + + break; } - } - // status - // - if (n.name () == "status" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< StatusType > r ( - StatusTraits::create (i, f, this)); - - if (!this->status_) + while (p.more_attributes ()) { - this->status_.set (::std::move (r)); - continue; + const ::xercesc::DOMAttr& i (p.next_attribute ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + if (n.name () == "id" && n.namespace_ ().empty ()) + { + this->id_.set (IdTraits::create (i, f, this)); + continue; + } + + // any_attribute + // + if ((!n.namespace_ ().empty () && + n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && + n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && + n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + { + ::xercesc::DOMAttr* r ( + static_cast< ::xercesc::DOMAttr* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMAttr* > (&i), true))); + this->any_attribute_ .insert (r); + continue; + } + } + + if (!id_.present ()) + { + throw ::xsd::cxx::tree::expected_attribute< char > ( + "id", + ""); } } - // any + MediaType* MediaType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const + { + return new class MediaType (*this, f, c); + } + + MediaType& MediaType:: + operator= (const MediaType& x) + { + if (this != &x) + { + static_cast< ::LinphonePrivate::Xsd::XmlSchema::Type& > (*this) = x; + this->display_text_ = x.display_text_; + this->type_ = x.type_; + this->label_ = x.label_; + this->src_id_ = x.src_id_; + this->status_ = x.status_; + this->any_ = x.any_; + this->id_ = x.id_; + this->any_attribute_ = x.any_attribute_; + } + + return *this; + } + + MediaType:: + ~MediaType () + { + } + + // MediaStatusType // - if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:conference-info")) + + MediaStatusType:: + MediaStatusType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (e, f, c) { - ::xercesc::DOMElement* r ( - static_cast< ::xercesc::DOMElement* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMElement* > (&i), true))); - this->any_.push_back (r); - continue; + _xsd_MediaStatusType_convert (); } - break; - } - - while (p.more_attributes ()) - { - const ::xercesc::DOMAttr& i (p.next_attribute ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - if (n.name () == "id" && n.namespace_ ().empty ()) + MediaStatusType:: + MediaStatusType (const ::xercesc::DOMAttr& a, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (a, f, c) { - this->id_.set (IdTraits::create (i, f, this)); - continue; + _xsd_MediaStatusType_convert (); } - // any_attribute + MediaStatusType:: + MediaStatusType (const ::std::string& s, + const ::xercesc::DOMElement* e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (s, e, f, c) + { + _xsd_MediaStatusType_convert (); + } + + MediaStatusType* MediaStatusType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const + { + return new class MediaStatusType (*this, f, c); + } + + MediaStatusType::Value MediaStatusType:: + _xsd_MediaStatusType_convert () const + { + ::xsd::cxx::tree::enum_comparator< char > c (_xsd_MediaStatusType_literals_); + const Value* i (::std::lower_bound ( + _xsd_MediaStatusType_indexes_, + _xsd_MediaStatusType_indexes_ + 4, + *this, + c)); + + if (i == _xsd_MediaStatusType_indexes_ + 4 || _xsd_MediaStatusType_literals_[*i] != *this) + { + throw ::xsd::cxx::tree::unexpected_enumerator < char > (*this); + } + + return *i; + } + + const char* const MediaStatusType:: + _xsd_MediaStatusType_literals_[4] = + { + "recvonly", + "sendonly", + "sendrecv", + "inactive" + }; + + const MediaStatusType::Value MediaStatusType:: + _xsd_MediaStatusType_indexes_[4] = + { + ::LinphonePrivate::Xsd::ConferenceInfo::MediaStatusType::inactive, + ::LinphonePrivate::Xsd::ConferenceInfo::MediaStatusType::recvonly, + ::LinphonePrivate::Xsd::ConferenceInfo::MediaStatusType::sendonly, + ::LinphonePrivate::Xsd::ConferenceInfo::MediaStatusType::sendrecv + }; + + // SidebarsByValType // - if ((!n.namespace_ ().empty () && - n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && - n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && - n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + + const SidebarsByValType::StateType SidebarsByValType::state_default_value_ ( + "full"); + + SidebarsByValType:: + SidebarsByValType () + : ::LinphonePrivate::Xsd::XmlSchema::Type (), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + entry_ (this), + state_ (getStateDefaultValue (), this), + any_attribute_ (this->getDomDocument ()) { - ::xercesc::DOMAttr* r ( - static_cast< ::xercesc::DOMAttr* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMAttr* > (&i), true))); - this->any_attribute_ .insert (r); - continue; - } - } - - if (!id_.present ()) - { - throw ::xsd::cxx::tree::expected_attribute< char > ( - "id", - ""); - } - } - - Media_type* Media_type:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class Media_type (*this, f, c); - } - - Media_type& Media_type:: - operator= (const Media_type& x) - { - if (this != &x) - { - static_cast< ::xml_schema::Type& > (*this) = x; - this->display_text_ = x.display_text_; - this->type_ = x.type_; - this->label_ = x.label_; - this->src_id_ = x.src_id_; - this->status_ = x.status_; - this->any_ = x.any_; - this->id_ = x.id_; - this->any_attribute_ = x.any_attribute_; - } - - return *this; - } - - Media_type:: - ~Media_type () - { - } - - // Media_status_type - // - - Media_status_type:: - Media_status_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (e, f, c) - { - _xsd_Media_status_type_convert (); - } - - Media_status_type:: - Media_status_type (const ::xercesc::DOMAttr& a, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (a, f, c) - { - _xsd_Media_status_type_convert (); - } - - Media_status_type:: - Media_status_type (const ::std::string& s, - const ::xercesc::DOMElement* e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (s, e, f, c) - { - _xsd_Media_status_type_convert (); - } - - Media_status_type* Media_status_type:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class Media_status_type (*this, f, c); - } - - Media_status_type::Value Media_status_type:: - _xsd_Media_status_type_convert () const - { - ::xsd::cxx::tree::enum_comparator< char > c (_xsd_Media_status_type_literals_); - const Value* i (::std::lower_bound ( - _xsd_Media_status_type_indexes_, - _xsd_Media_status_type_indexes_ + 4, - *this, - c)); - - if (i == _xsd_Media_status_type_indexes_ + 4 || _xsd_Media_status_type_literals_[*i] != *this) - { - throw ::xsd::cxx::tree::unexpected_enumerator < char > (*this); - } - - return *i; - } - - const char* const Media_status_type:: - _xsd_Media_status_type_literals_[4] = - { - "recvonly", - "sendonly", - "sendrecv", - "inactive" - }; - - const Media_status_type::Value Media_status_type:: - _xsd_Media_status_type_indexes_[4] = - { - ::conference_info::Media_status_type::inactive, - ::conference_info::Media_status_type::recvonly, - ::conference_info::Media_status_type::sendonly, - ::conference_info::Media_status_type::sendrecv - }; - - // Sidebars_by_val_type - // - - const Sidebars_by_val_type::StateType Sidebars_by_val_type::state_default_value_ ( - "full"); - - Sidebars_by_val_type:: - Sidebars_by_val_type () - : ::xml_schema::Type (), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - entry_ (this), - state_ (getStateDefaultValue (), this), - any_attribute_ (this->getDomDocument ()) - { - } - - Sidebars_by_val_type:: - Sidebars_by_val_type (const Sidebars_by_val_type& x, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (x, f, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - entry_ (x.entry_, f, this), - state_ (x.state_, f, this), - any_attribute_ (x.any_attribute_, this->getDomDocument ()) - { - } - - Sidebars_by_val_type:: - Sidebars_by_val_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (e, f | ::xml_schema::Flags::base, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - entry_ (this), - state_ (this), - any_attribute_ (this->getDomDocument ()) - { - if ((f & ::xml_schema::Flags::base) == 0) - { - ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); - this->parse (p, f); - } - } - - void Sidebars_by_val_type:: - parse (::xsd::cxx::xml::dom::parser< char >& p, - ::xml_schema::Flags f) - { - for (; p.more_content (); p.next_content (false)) - { - const ::xercesc::DOMElement& i (p.cur_element ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // entry - // - if (n.name () == "entry" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< EntryType > r ( - EntryTraits::create (i, f, this)); - - this->entry_.push_back (::std::move (r)); - continue; } - break; - } - - while (p.more_attributes ()) - { - const ::xercesc::DOMAttr& i (p.next_attribute ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - if (n.name () == "state" && n.namespace_ ().empty ()) + SidebarsByValType:: + SidebarsByValType (const SidebarsByValType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (x, f, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + entry_ (x.entry_, f, this), + state_ (x.state_, f, this), + any_attribute_ (x.any_attribute_, this->getDomDocument ()) { - this->state_.set (StateTraits::create (i, f, this)); - continue; } - // any_attribute - // - if ((!n.namespace_ ().empty () && - n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && - n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && - n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + SidebarsByValType:: + SidebarsByValType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (e, f | ::LinphonePrivate::Xsd::XmlSchema::Flags::base, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + entry_ (this), + state_ (this), + any_attribute_ (this->getDomDocument ()) + { + if ((f & ::LinphonePrivate::Xsd::XmlSchema::Flags::base) == 0) + { + ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); + this->parse (p, f); + } + } + + void SidebarsByValType:: + parse (::xsd::cxx::xml::dom::parser< char >& p, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) + { + for (; p.more_content (); p.next_content (false)) + { + const ::xercesc::DOMElement& i (p.cur_element ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // entry + // + if (n.name () == "entry" && n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< EntryType > r ( + EntryTraits::create (i, f, this)); + + this->entry_.push_back (::std::move (r)); + continue; + } + + break; + } + + while (p.more_attributes ()) + { + const ::xercesc::DOMAttr& i (p.next_attribute ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + if (n.name () == "state" && n.namespace_ ().empty ()) + { + this->state_.set (StateTraits::create (i, f, this)); + continue; + } + + // any_attribute + // + if ((!n.namespace_ ().empty () && + n.namespace_ () != "urn:ietf:params:xml:ns:conference-info" && + n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && + n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + { + ::xercesc::DOMAttr* r ( + static_cast< ::xercesc::DOMAttr* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMAttr* > (&i), true))); + this->any_attribute_ .insert (r); + continue; + } + } + + if (!state_.present ()) + { + this->state_.set (getStateDefaultValue ()); + } + } + + SidebarsByValType* SidebarsByValType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const + { + return new class SidebarsByValType (*this, f, c); + } + + SidebarsByValType& SidebarsByValType:: + operator= (const SidebarsByValType& x) + { + if (this != &x) + { + static_cast< ::LinphonePrivate::Xsd::XmlSchema::Type& > (*this) = x; + this->entry_ = x.entry_; + this->state_ = x.state_; + this->any_attribute_ = x.any_attribute_; + } + + return *this; + } + + SidebarsByValType:: + ~SidebarsByValType () { - ::xercesc::DOMAttr* r ( - static_cast< ::xercesc::DOMAttr* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMAttr* > (&i), true))); - this->any_attribute_ .insert (r); - continue; } } - - if (!state_.present ()) - { - this->state_.set (getStateDefaultValue ()); - } - } - - Sidebars_by_val_type* Sidebars_by_val_type:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class Sidebars_by_val_type (*this, f, c); - } - - Sidebars_by_val_type& Sidebars_by_val_type:: - operator= (const Sidebars_by_val_type& x) - { - if (this != &x) - { - static_cast< ::xml_schema::Type& > (*this) = x; - this->entry_ = x.entry_; - this->state_ = x.state_; - this->any_attribute_ = x.any_attribute_; - } - - return *this; - } - - Sidebars_by_val_type:: - ~Sidebars_by_val_type () - { } } #include -namespace conference_info +namespace LinphonePrivate { - ::std::ostream& - operator<< (::std::ostream& o, const Conference_type& i) + namespace Xsd { - if (i.getConference_description ()) + namespace ConferenceInfo { - o << ::std::endl << "conference-description: " << *i.getConference_description (); + ::std::ostream& + operator<< (::std::ostream& o, const ConferenceType& i) + { + if (i.getConferenceDescription ()) + { + o << ::std::endl << "conference-description: " << *i.getConferenceDescription (); + } + + if (i.getHostInfo ()) + { + o << ::std::endl << "host-info: " << *i.getHostInfo (); + } + + if (i.getConferenceState ()) + { + o << ::std::endl << "conference-state: " << *i.getConferenceState (); + } + + if (i.getUsers ()) + { + o << ::std::endl << "users: " << *i.getUsers (); + } + + if (i.getSidebarsByRef ()) + { + o << ::std::endl << "sidebars-by-ref: " << *i.getSidebarsByRef (); + } + + if (i.getSidebarsByVal ()) + { + o << ::std::endl << "sidebars-by-val: " << *i.getSidebarsByVal (); + } + + o << ::std::endl << "entity: " << i.getEntity (); + o << ::std::endl << "state: " << i.getState (); + if (i.getVersion ()) + { + o << ::std::endl << "version: " << *i.getVersion (); + } + + return o; + } + + ::std::ostream& + operator<< (::std::ostream& o, StateType::Value i) + { + return o << StateType::_xsd_StateType_literals_[i]; + } + + ::std::ostream& + operator<< (::std::ostream& o, const StateType& i) + { + return o << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); + } + + ::std::ostream& + operator<< (::std::ostream& o, const ConferenceDescriptionType& i) + { + if (i.getDisplayText ()) + { + o << ::std::endl << "display-text: " << *i.getDisplayText (); + } + + if (i.getSubject ()) + { + o << ::std::endl << "subject: " << *i.getSubject (); + } + + if (i.getFreeText ()) + { + o << ::std::endl << "free-text: " << *i.getFreeText (); + } + + if (i.getKeywords ()) + { + o << ::std::endl << "keywords: " << *i.getKeywords (); + } + + if (i.getConfUris ()) + { + o << ::std::endl << "conf-uris: " << *i.getConfUris (); + } + + if (i.getServiceUris ()) + { + o << ::std::endl << "service-uris: " << *i.getServiceUris (); + } + + if (i.getMaximumUserCount ()) + { + o << ::std::endl << "maximum-user-count: " << *i.getMaximumUserCount (); + } + + if (i.getAvailableMedia ()) + { + o << ::std::endl << "available-media: " << *i.getAvailableMedia (); + } + + return o; + } + + ::std::ostream& + operator<< (::std::ostream& o, const HostType& i) + { + if (i.getDisplayText ()) + { + o << ::std::endl << "display-text: " << *i.getDisplayText (); + } + + if (i.getWebPage ()) + { + o << ::std::endl << "web-page: " << *i.getWebPage (); + } + + if (i.getUris ()) + { + o << ::std::endl << "uris: " << *i.getUris (); + } + + return o; + } + + ::std::ostream& + operator<< (::std::ostream& o, const ConferenceStateType& i) + { + if (i.getUserCount ()) + { + o << ::std::endl << "user-count: " << *i.getUserCount (); + } + + if (i.getActive ()) + { + o << ::std::endl << "active: " << *i.getActive (); + } + + if (i.getLocked ()) + { + o << ::std::endl << "locked: " << *i.getLocked (); + } + + return o; + } + + ::std::ostream& + operator<< (::std::ostream& o, const ConferenceMediaType& i) + { + for (ConferenceMediaType::EntryConstIterator + b (i.getEntry ().begin ()), e (i.getEntry ().end ()); + b != e; ++b) + { + o << ::std::endl << "entry: " << *b; + } + + return o; + } + + ::std::ostream& + operator<< (::std::ostream& o, const ConferenceMediumType& i) + { + if (i.getDisplayText ()) + { + o << ::std::endl << "display-text: " << *i.getDisplayText (); + } + + o << ::std::endl << "type: " << i.getType (); + if (i.getStatus ()) + { + o << ::std::endl << "status: " << *i.getStatus (); + } + + o << ::std::endl << "label: " << i.getLabel (); + return o; + } + + ::std::ostream& + operator<< (::std::ostream& o, const UrisType& i) + { + for (UrisType::EntryConstIterator + b (i.getEntry ().begin ()), e (i.getEntry ().end ()); + b != e; ++b) + { + o << ::std::endl << "entry: " << *b; + } + + o << ::std::endl << "state: " << i.getState (); + return o; + } + + ::std::ostream& + operator<< (::std::ostream& o, const UriType& i) + { + o << ::std::endl << "uri: " << i.getUri (); + if (i.getDisplayText ()) + { + o << ::std::endl << "display-text: " << *i.getDisplayText (); + } + + if (i.getPurpose ()) + { + o << ::std::endl << "purpose: " << *i.getPurpose (); + } + + if (i.getModified ()) + { + o << ::std::endl << "modified: " << *i.getModified (); + } + + return o; + } + + ::std::ostream& + operator<< (::std::ostream& o, const KeywordsType& i) + { + return o << static_cast< const ::xsd::cxx::tree::list< ::LinphonePrivate::Xsd::XmlSchema::String, char >& > (i); + } + + ::std::ostream& + operator<< (::std::ostream& o, const UsersType& i) + { + for (UsersType::UserConstIterator + b (i.getUser ().begin ()), e (i.getUser ().end ()); + b != e; ++b) + { + o << ::std::endl << "user: " << *b; + } + + o << ::std::endl << "state: " << i.getState (); + return o; + } + + ::std::ostream& + operator<< (::std::ostream& o, const UserType& i) + { + if (i.getDisplayText ()) + { + o << ::std::endl << "display-text: " << *i.getDisplayText (); + } + + if (i.getAssociatedAors ()) + { + o << ::std::endl << "associated-aors: " << *i.getAssociatedAors (); + } + + if (i.getRoles ()) + { + o << ::std::endl << "roles: " << *i.getRoles (); + } + + if (i.getLanguages ()) + { + o << ::std::endl << "languages: " << *i.getLanguages (); + } + + if (i.getCascadedFocus ()) + { + o << ::std::endl << "cascaded-focus: " << *i.getCascadedFocus (); + } + + for (UserType::EndpointConstIterator + b (i.getEndpoint ().begin ()), e (i.getEndpoint ().end ()); + b != e; ++b) + { + o << ::std::endl << "endpoint: " << *b; + } + + if (i.getEntity ()) + { + o << ::std::endl << "entity: " << *i.getEntity (); + } + + o << ::std::endl << "state: " << i.getState (); + return o; + } + + ::std::ostream& + operator<< (::std::ostream& o, const UserRolesType& i) + { + for (UserRolesType::EntryConstIterator + b (i.getEntry ().begin ()), e (i.getEntry ().end ()); + b != e; ++b) + { + o << ::std::endl << "entry: " << *b; + } + + return o; + } + + ::std::ostream& + operator<< (::std::ostream& o, const UserLanguagesType& i) + { + return o << static_cast< const ::xsd::cxx::tree::list< ::LinphonePrivate::Xsd::XmlSchema::Language, char >& > (i); + } + + ::std::ostream& + operator<< (::std::ostream& o, const EndpointType& i) + { + if (i.getDisplayText ()) + { + o << ::std::endl << "display-text: " << *i.getDisplayText (); + } + + if (i.getReferred ()) + { + o << ::std::endl << "referred: " << *i.getReferred (); + } + + if (i.getStatus ()) + { + o << ::std::endl << "status: " << *i.getStatus (); + } + + if (i.getJoiningMethod ()) + { + o << ::std::endl << "joining-method: " << *i.getJoiningMethod (); + } + + if (i.getJoiningInfo ()) + { + o << ::std::endl << "joining-info: " << *i.getJoiningInfo (); + } + + if (i.getDisconnectionMethod ()) + { + o << ::std::endl << "disconnection-method: " << *i.getDisconnectionMethod (); + } + + if (i.getDisconnectionInfo ()) + { + o << ::std::endl << "disconnection-info: " << *i.getDisconnectionInfo (); + } + + for (EndpointType::MediaConstIterator + b (i.getMedia ().begin ()), e (i.getMedia ().end ()); + b != e; ++b) + { + o << ::std::endl << "media: " << *b; + } + + if (i.getCallInfo ()) + { + o << ::std::endl << "call-info: " << *i.getCallInfo (); + } + + if (i.getEntity ()) + { + o << ::std::endl << "entity: " << *i.getEntity (); + } + + o << ::std::endl << "state: " << i.getState (); + return o; + } + + ::std::ostream& + operator<< (::std::ostream& o, EndpointStatusType::Value i) + { + return o << EndpointStatusType::_xsd_EndpointStatusType_literals_[i]; + } + + ::std::ostream& + operator<< (::std::ostream& o, const EndpointStatusType& i) + { + return o << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); + } + + ::std::ostream& + operator<< (::std::ostream& o, JoiningType::Value i) + { + return o << JoiningType::_xsd_JoiningType_literals_[i]; + } + + ::std::ostream& + operator<< (::std::ostream& o, const JoiningType& i) + { + return o << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); + } + + ::std::ostream& + operator<< (::std::ostream& o, DisconnectionType::Value i) + { + return o << DisconnectionType::_xsd_DisconnectionType_literals_[i]; + } + + ::std::ostream& + operator<< (::std::ostream& o, const DisconnectionType& i) + { + return o << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); + } + + ::std::ostream& + operator<< (::std::ostream& o, const ExecutionType& i) + { + if (i.getWhen ()) + { + o << ::std::endl << "when: " << *i.getWhen (); + } + + if (i.getReason ()) + { + o << ::std::endl << "reason: " << *i.getReason (); + } + + if (i.getBy ()) + { + o << ::std::endl << "by: " << *i.getBy (); + } + + return o; + } + + ::std::ostream& + operator<< (::std::ostream& o, const CallType& i) + { + if (i.getSip ()) + { + o << ::std::endl << "sip: " << *i.getSip (); + } + + return o; + } + + ::std::ostream& + operator<< (::std::ostream& o, const SipDialogIdType& i) + { + if (i.getDisplayText ()) + { + o << ::std::endl << "display-text: " << *i.getDisplayText (); + } + + o << ::std::endl << "call-id: " << i.getCallId (); + o << ::std::endl << "from-tag: " << i.getFromTag (); + o << ::std::endl << "to-tag: " << i.getToTag (); + return o; + } + + ::std::ostream& + operator<< (::std::ostream& o, const MediaType& i) + { + if (i.getDisplayText ()) + { + o << ::std::endl << "display-text: " << *i.getDisplayText (); + } + + if (i.getType ()) + { + o << ::std::endl << "type: " << *i.getType (); + } + + if (i.getLabel ()) + { + o << ::std::endl << "label: " << *i.getLabel (); + } + + if (i.getSrcId ()) + { + o << ::std::endl << "src-id: " << *i.getSrcId (); + } + + if (i.getStatus ()) + { + o << ::std::endl << "status: " << *i.getStatus (); + } + + o << ::std::endl << "id: " << i.getId (); + return o; + } + + ::std::ostream& + operator<< (::std::ostream& o, MediaStatusType::Value i) + { + return o << MediaStatusType::_xsd_MediaStatusType_literals_[i]; + } + + ::std::ostream& + operator<< (::std::ostream& o, const MediaStatusType& i) + { + return o << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); + } + + ::std::ostream& + operator<< (::std::ostream& o, const SidebarsByValType& i) + { + for (SidebarsByValType::EntryConstIterator + b (i.getEntry ().begin ()), e (i.getEntry ().end ()); + b != e; ++b) + { + o << ::std::endl << "entry: " << *b; + } + + o << ::std::endl << "state: " << i.getState (); + return o; + } } - - if (i.getHost_info ()) - { - o << ::std::endl << "host-info: " << *i.getHost_info (); - } - - if (i.getConference_state ()) - { - o << ::std::endl << "conference-state: " << *i.getConference_state (); - } - - if (i.getUsers ()) - { - o << ::std::endl << "users: " << *i.getUsers (); - } - - if (i.getSidebars_by_ref ()) - { - o << ::std::endl << "sidebars-by-ref: " << *i.getSidebars_by_ref (); - } - - if (i.getSidebars_by_val ()) - { - o << ::std::endl << "sidebars-by-val: " << *i.getSidebars_by_val (); - } - - o << ::std::endl << "entity: " << i.getEntity (); - o << ::std::endl << "state: " << i.getState (); - if (i.getVersion ()) - { - o << ::std::endl << "version: " << *i.getVersion (); - } - - return o; - } - - ::std::ostream& - operator<< (::std::ostream& o, State_type::Value i) - { - return o << State_type::_xsd_State_type_literals_[i]; - } - - ::std::ostream& - operator<< (::std::ostream& o, const State_type& i) - { - return o << static_cast< const ::xml_schema::String& > (i); - } - - ::std::ostream& - operator<< (::std::ostream& o, const Conference_description_type& i) - { - if (i.getDisplay_text ()) - { - o << ::std::endl << "display-text: " << *i.getDisplay_text (); - } - - if (i.getSubject ()) - { - o << ::std::endl << "subject: " << *i.getSubject (); - } - - if (i.getFree_text ()) - { - o << ::std::endl << "free-text: " << *i.getFree_text (); - } - - if (i.getKeywords ()) - { - o << ::std::endl << "keywords: " << *i.getKeywords (); - } - - if (i.getConf_uris ()) - { - o << ::std::endl << "conf-uris: " << *i.getConf_uris (); - } - - if (i.getService_uris ()) - { - o << ::std::endl << "service-uris: " << *i.getService_uris (); - } - - if (i.getMaximum_user_count ()) - { - o << ::std::endl << "maximum-user-count: " << *i.getMaximum_user_count (); - } - - if (i.getAvailable_media ()) - { - o << ::std::endl << "available-media: " << *i.getAvailable_media (); - } - - return o; - } - - ::std::ostream& - operator<< (::std::ostream& o, const Host_type& i) - { - if (i.getDisplay_text ()) - { - o << ::std::endl << "display-text: " << *i.getDisplay_text (); - } - - if (i.getWeb_page ()) - { - o << ::std::endl << "web-page: " << *i.getWeb_page (); - } - - if (i.getUris ()) - { - o << ::std::endl << "uris: " << *i.getUris (); - } - - return o; - } - - ::std::ostream& - operator<< (::std::ostream& o, const Conference_state_type& i) - { - if (i.getUser_count ()) - { - o << ::std::endl << "user-count: " << *i.getUser_count (); - } - - if (i.getActive ()) - { - o << ::std::endl << "active: " << *i.getActive (); - } - - if (i.getLocked ()) - { - o << ::std::endl << "locked: " << *i.getLocked (); - } - - return o; - } - - ::std::ostream& - operator<< (::std::ostream& o, const Conference_media_type& i) - { - for (Conference_media_type::EntryConstIterator - b (i.getEntry ().begin ()), e (i.getEntry ().end ()); - b != e; ++b) - { - o << ::std::endl << "entry: " << *b; - } - - return o; - } - - ::std::ostream& - operator<< (::std::ostream& o, const Conference_medium_type& i) - { - if (i.getDisplay_text ()) - { - o << ::std::endl << "display-text: " << *i.getDisplay_text (); - } - - o << ::std::endl << "type: " << i.getType (); - if (i.getStatus ()) - { - o << ::std::endl << "status: " << *i.getStatus (); - } - - o << ::std::endl << "label: " << i.getLabel (); - return o; - } - - ::std::ostream& - operator<< (::std::ostream& o, const Uris_type& i) - { - for (Uris_type::EntryConstIterator - b (i.getEntry ().begin ()), e (i.getEntry ().end ()); - b != e; ++b) - { - o << ::std::endl << "entry: " << *b; - } - - o << ::std::endl << "state: " << i.getState (); - return o; - } - - ::std::ostream& - operator<< (::std::ostream& o, const Uri_type& i) - { - o << ::std::endl << "uri: " << i.getUri (); - if (i.getDisplay_text ()) - { - o << ::std::endl << "display-text: " << *i.getDisplay_text (); - } - - if (i.getPurpose ()) - { - o << ::std::endl << "purpose: " << *i.getPurpose (); - } - - if (i.getModified ()) - { - o << ::std::endl << "modified: " << *i.getModified (); - } - - return o; - } - - ::std::ostream& - operator<< (::std::ostream& o, const Keywords_type& i) - { - return o << static_cast< const ::xsd::cxx::tree::list< ::xml_schema::String, char >& > (i); - } - - ::std::ostream& - operator<< (::std::ostream& o, const Users_type& i) - { - for (Users_type::UserConstIterator - b (i.getUser ().begin ()), e (i.getUser ().end ()); - b != e; ++b) - { - o << ::std::endl << "user: " << *b; - } - - o << ::std::endl << "state: " << i.getState (); - return o; - } - - ::std::ostream& - operator<< (::std::ostream& o, const User_type& i) - { - if (i.getDisplay_text ()) - { - o << ::std::endl << "display-text: " << *i.getDisplay_text (); - } - - if (i.getAssociated_aors ()) - { - o << ::std::endl << "associated-aors: " << *i.getAssociated_aors (); - } - - if (i.getRoles ()) - { - o << ::std::endl << "roles: " << *i.getRoles (); - } - - if (i.getLanguages ()) - { - o << ::std::endl << "languages: " << *i.getLanguages (); - } - - if (i.getCascaded_focus ()) - { - o << ::std::endl << "cascaded-focus: " << *i.getCascaded_focus (); - } - - for (User_type::EndpointConstIterator - b (i.getEndpoint ().begin ()), e (i.getEndpoint ().end ()); - b != e; ++b) - { - o << ::std::endl << "endpoint: " << *b; - } - - if (i.getEntity ()) - { - o << ::std::endl << "entity: " << *i.getEntity (); - } - - o << ::std::endl << "state: " << i.getState (); - return o; - } - - ::std::ostream& - operator<< (::std::ostream& o, const User_roles_type& i) - { - for (User_roles_type::EntryConstIterator - b (i.getEntry ().begin ()), e (i.getEntry ().end ()); - b != e; ++b) - { - o << ::std::endl << "entry: " << *b; - } - - return o; - } - - ::std::ostream& - operator<< (::std::ostream& o, const User_languages_type& i) - { - return o << static_cast< const ::xsd::cxx::tree::list< ::xml_schema::Language, char >& > (i); - } - - ::std::ostream& - operator<< (::std::ostream& o, const Endpoint_type& i) - { - if (i.getDisplay_text ()) - { - o << ::std::endl << "display-text: " << *i.getDisplay_text (); - } - - if (i.getReferred ()) - { - o << ::std::endl << "referred: " << *i.getReferred (); - } - - if (i.getStatus ()) - { - o << ::std::endl << "status: " << *i.getStatus (); - } - - if (i.getJoining_method ()) - { - o << ::std::endl << "joining-method: " << *i.getJoining_method (); - } - - if (i.getJoining_info ()) - { - o << ::std::endl << "joining-info: " << *i.getJoining_info (); - } - - if (i.getDisconnection_method ()) - { - o << ::std::endl << "disconnection-method: " << *i.getDisconnection_method (); - } - - if (i.getDisconnection_info ()) - { - o << ::std::endl << "disconnection-info: " << *i.getDisconnection_info (); - } - - for (Endpoint_type::MediaConstIterator - b (i.getMedia ().begin ()), e (i.getMedia ().end ()); - b != e; ++b) - { - o << ::std::endl << "media: " << *b; - } - - if (i.getCall_info ()) - { - o << ::std::endl << "call-info: " << *i.getCall_info (); - } - - if (i.getEntity ()) - { - o << ::std::endl << "entity: " << *i.getEntity (); - } - - o << ::std::endl << "state: " << i.getState (); - return o; - } - - ::std::ostream& - operator<< (::std::ostream& o, Endpoint_status_type::Value i) - { - return o << Endpoint_status_type::_xsd_Endpoint_status_type_literals_[i]; - } - - ::std::ostream& - operator<< (::std::ostream& o, const Endpoint_status_type& i) - { - return o << static_cast< const ::xml_schema::String& > (i); - } - - ::std::ostream& - operator<< (::std::ostream& o, Joining_type::Value i) - { - return o << Joining_type::_xsd_Joining_type_literals_[i]; - } - - ::std::ostream& - operator<< (::std::ostream& o, const Joining_type& i) - { - return o << static_cast< const ::xml_schema::String& > (i); - } - - ::std::ostream& - operator<< (::std::ostream& o, Disconnection_type::Value i) - { - return o << Disconnection_type::_xsd_Disconnection_type_literals_[i]; - } - - ::std::ostream& - operator<< (::std::ostream& o, const Disconnection_type& i) - { - return o << static_cast< const ::xml_schema::String& > (i); - } - - ::std::ostream& - operator<< (::std::ostream& o, const Execution_type& i) - { - if (i.getWhen ()) - { - o << ::std::endl << "when: " << *i.getWhen (); - } - - if (i.getReason ()) - { - o << ::std::endl << "reason: " << *i.getReason (); - } - - if (i.getBy ()) - { - o << ::std::endl << "by: " << *i.getBy (); - } - - return o; - } - - ::std::ostream& - operator<< (::std::ostream& o, const Call_type& i) - { - if (i.getSip ()) - { - o << ::std::endl << "sip: " << *i.getSip (); - } - - return o; - } - - ::std::ostream& - operator<< (::std::ostream& o, const Sip_dialog_id_type& i) - { - if (i.getDisplay_text ()) - { - o << ::std::endl << "display-text: " << *i.getDisplay_text (); - } - - o << ::std::endl << "call-id: " << i.getCall_id (); - o << ::std::endl << "from-tag: " << i.getFrom_tag (); - o << ::std::endl << "to-tag: " << i.getTo_tag (); - return o; - } - - ::std::ostream& - operator<< (::std::ostream& o, const Media_type& i) - { - if (i.getDisplay_text ()) - { - o << ::std::endl << "display-text: " << *i.getDisplay_text (); - } - - if (i.getType ()) - { - o << ::std::endl << "type: " << *i.getType (); - } - - if (i.getLabel ()) - { - o << ::std::endl << "label: " << *i.getLabel (); - } - - if (i.getSrc_id ()) - { - o << ::std::endl << "src-id: " << *i.getSrc_id (); - } - - if (i.getStatus ()) - { - o << ::std::endl << "status: " << *i.getStatus (); - } - - o << ::std::endl << "id: " << i.getId (); - return o; - } - - ::std::ostream& - operator<< (::std::ostream& o, Media_status_type::Value i) - { - return o << Media_status_type::_xsd_Media_status_type_literals_[i]; - } - - ::std::ostream& - operator<< (::std::ostream& o, const Media_status_type& i) - { - return o << static_cast< const ::xml_schema::String& > (i); - } - - ::std::ostream& - operator<< (::std::ostream& o, const Sidebars_by_val_type& i) - { - for (Sidebars_by_val_type::EntryConstIterator - b (i.getEntry ().begin ()), e (i.getEntry ().end ()); - b != e; ++b) - { - o << ::std::endl << "entry: " << *b; - } - - o << ::std::endl << "state: " << i.getState (); - return o; } } @@ -7265,272 +7281,278 @@ namespace conference_info #include #include -namespace conference_info +namespace LinphonePrivate { - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (const ::std::string& u, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) + namespace Xsd { - ::xsd::cxx::xml::auto_initializer i ( - (f & ::xml_schema::Flags::dont_initialize) == 0, - (f & ::xml_schema::Flags::keep_dom) == 0); - - ::xsd::cxx::tree::error_handler< char > h; - - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::xsd::cxx::xml::dom::parse< char > ( - u, h, p, f)); - - h.throw_if_failed< ::xsd::cxx::tree::parsing< char > > (); - - return ::std::unique_ptr< ::conference_info::Conference_type > ( - ::conference_info::parseConference_info ( - std::move (d), f | ::xml_schema::Flags::own_dom, p)); - } - - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (const ::std::string& u, - ::xml_schema::ErrorHandler& h, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) - { - ::xsd::cxx::xml::auto_initializer i ( - (f & ::xml_schema::Flags::dont_initialize) == 0, - (f & ::xml_schema::Flags::keep_dom) == 0); - - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::xsd::cxx::xml::dom::parse< char > ( - u, h, p, f)); - - if (!d.get ()) - throw ::xsd::cxx::tree::parsing< char > (); - - return ::std::unique_ptr< ::conference_info::Conference_type > ( - ::conference_info::parseConference_info ( - std::move (d), f | ::xml_schema::Flags::own_dom, p)); - } - - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (const ::std::string& u, - ::xercesc::DOMErrorHandler& h, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) - { - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::xsd::cxx::xml::dom::parse< char > ( - u, h, p, f)); - - if (!d.get ()) - throw ::xsd::cxx::tree::parsing< char > (); - - return ::std::unique_ptr< ::conference_info::Conference_type > ( - ::conference_info::parseConference_info ( - std::move (d), f | ::xml_schema::Flags::own_dom, p)); - } - - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (::std::istream& is, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) - { - ::xsd::cxx::xml::auto_initializer i ( - (f & ::xml_schema::Flags::dont_initialize) == 0, - (f & ::xml_schema::Flags::keep_dom) == 0); - - ::xsd::cxx::xml::sax::std_input_source isrc (is); - return ::conference_info::parseConference_info (isrc, f, p); - } - - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (::std::istream& is, - ::xml_schema::ErrorHandler& h, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) - { - ::xsd::cxx::xml::auto_initializer i ( - (f & ::xml_schema::Flags::dont_initialize) == 0, - (f & ::xml_schema::Flags::keep_dom) == 0); - - ::xsd::cxx::xml::sax::std_input_source isrc (is); - return ::conference_info::parseConference_info (isrc, h, f, p); - } - - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (::std::istream& is, - ::xercesc::DOMErrorHandler& h, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) - { - ::xsd::cxx::xml::sax::std_input_source isrc (is); - return ::conference_info::parseConference_info (isrc, h, f, p); - } - - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (::std::istream& is, - const ::std::string& sid, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) - { - ::xsd::cxx::xml::auto_initializer i ( - (f & ::xml_schema::Flags::dont_initialize) == 0, - (f & ::xml_schema::Flags::keep_dom) == 0); - - ::xsd::cxx::xml::sax::std_input_source isrc (is, sid); - return ::conference_info::parseConference_info (isrc, f, p); - } - - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (::std::istream& is, - const ::std::string& sid, - ::xml_schema::ErrorHandler& h, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) - { - ::xsd::cxx::xml::auto_initializer i ( - (f & ::xml_schema::Flags::dont_initialize) == 0, - (f & ::xml_schema::Flags::keep_dom) == 0); - - ::xsd::cxx::xml::sax::std_input_source isrc (is, sid); - return ::conference_info::parseConference_info (isrc, h, f, p); - } - - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (::std::istream& is, - const ::std::string& sid, - ::xercesc::DOMErrorHandler& h, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) - { - ::xsd::cxx::xml::sax::std_input_source isrc (is, sid); - return ::conference_info::parseConference_info (isrc, h, f, p); - } - - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (::xercesc::InputSource& i, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) - { - ::xsd::cxx::tree::error_handler< char > h; - - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::xsd::cxx::xml::dom::parse< char > ( - i, h, p, f)); - - h.throw_if_failed< ::xsd::cxx::tree::parsing< char > > (); - - return ::std::unique_ptr< ::conference_info::Conference_type > ( - ::conference_info::parseConference_info ( - std::move (d), f | ::xml_schema::Flags::own_dom, p)); - } - - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (::xercesc::InputSource& i, - ::xml_schema::ErrorHandler& h, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) - { - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::xsd::cxx::xml::dom::parse< char > ( - i, h, p, f)); - - if (!d.get ()) - throw ::xsd::cxx::tree::parsing< char > (); - - return ::std::unique_ptr< ::conference_info::Conference_type > ( - ::conference_info::parseConference_info ( - std::move (d), f | ::xml_schema::Flags::own_dom, p)); - } - - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (::xercesc::InputSource& i, - ::xercesc::DOMErrorHandler& h, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) - { - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::xsd::cxx::xml::dom::parse< char > ( - i, h, p, f)); - - if (!d.get ()) - throw ::xsd::cxx::tree::parsing< char > (); - - return ::std::unique_ptr< ::conference_info::Conference_type > ( - ::conference_info::parseConference_info ( - std::move (d), f | ::xml_schema::Flags::own_dom, p)); - } - - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (const ::xercesc::DOMDocument& doc, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) - { - if (f & ::xml_schema::Flags::keep_dom) + namespace ConferenceInfo { - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - static_cast< ::xercesc::DOMDocument* > (doc.cloneNode (true))); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (const ::std::string& u, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + ::xsd::cxx::xml::auto_initializer i ( + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::dont_initialize) == 0, + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::keep_dom) == 0); - return ::std::unique_ptr< ::conference_info::Conference_type > ( - ::conference_info::parseConference_info ( - std::move (d), f | ::xml_schema::Flags::own_dom, p)); + ::xsd::cxx::tree::error_handler< char > h; + + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::xsd::cxx::xml::dom::parse< char > ( + u, h, p, f)); + + h.throw_if_failed< ::xsd::cxx::tree::parsing< char > > (); + + return ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > ( + ::LinphonePrivate::Xsd::ConferenceInfo::parseConferenceInfo ( + std::move (d), f | ::LinphonePrivate::Xsd::XmlSchema::Flags::own_dom, p)); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (const ::std::string& u, + ::LinphonePrivate::Xsd::XmlSchema::ErrorHandler& h, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + ::xsd::cxx::xml::auto_initializer i ( + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::dont_initialize) == 0, + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::keep_dom) == 0); + + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::xsd::cxx::xml::dom::parse< char > ( + u, h, p, f)); + + if (!d.get ()) + throw ::xsd::cxx::tree::parsing< char > (); + + return ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > ( + ::LinphonePrivate::Xsd::ConferenceInfo::parseConferenceInfo ( + std::move (d), f | ::LinphonePrivate::Xsd::XmlSchema::Flags::own_dom, p)); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (const ::std::string& u, + ::xercesc::DOMErrorHandler& h, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::xsd::cxx::xml::dom::parse< char > ( + u, h, p, f)); + + if (!d.get ()) + throw ::xsd::cxx::tree::parsing< char > (); + + return ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > ( + ::LinphonePrivate::Xsd::ConferenceInfo::parseConferenceInfo ( + std::move (d), f | ::LinphonePrivate::Xsd::XmlSchema::Flags::own_dom, p)); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (::std::istream& is, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + ::xsd::cxx::xml::auto_initializer i ( + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::dont_initialize) == 0, + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::keep_dom) == 0); + + ::xsd::cxx::xml::sax::std_input_source isrc (is); + return ::LinphonePrivate::Xsd::ConferenceInfo::parseConferenceInfo (isrc, f, p); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (::std::istream& is, + ::LinphonePrivate::Xsd::XmlSchema::ErrorHandler& h, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + ::xsd::cxx::xml::auto_initializer i ( + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::dont_initialize) == 0, + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::keep_dom) == 0); + + ::xsd::cxx::xml::sax::std_input_source isrc (is); + return ::LinphonePrivate::Xsd::ConferenceInfo::parseConferenceInfo (isrc, h, f, p); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (::std::istream& is, + ::xercesc::DOMErrorHandler& h, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + ::xsd::cxx::xml::sax::std_input_source isrc (is); + return ::LinphonePrivate::Xsd::ConferenceInfo::parseConferenceInfo (isrc, h, f, p); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (::std::istream& is, + const ::std::string& sid, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + ::xsd::cxx::xml::auto_initializer i ( + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::dont_initialize) == 0, + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::keep_dom) == 0); + + ::xsd::cxx::xml::sax::std_input_source isrc (is, sid); + return ::LinphonePrivate::Xsd::ConferenceInfo::parseConferenceInfo (isrc, f, p); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (::std::istream& is, + const ::std::string& sid, + ::LinphonePrivate::Xsd::XmlSchema::ErrorHandler& h, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + ::xsd::cxx::xml::auto_initializer i ( + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::dont_initialize) == 0, + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::keep_dom) == 0); + + ::xsd::cxx::xml::sax::std_input_source isrc (is, sid); + return ::LinphonePrivate::Xsd::ConferenceInfo::parseConferenceInfo (isrc, h, f, p); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (::std::istream& is, + const ::std::string& sid, + ::xercesc::DOMErrorHandler& h, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + ::xsd::cxx::xml::sax::std_input_source isrc (is, sid); + return ::LinphonePrivate::Xsd::ConferenceInfo::parseConferenceInfo (isrc, h, f, p); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (::xercesc::InputSource& i, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + ::xsd::cxx::tree::error_handler< char > h; + + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::xsd::cxx::xml::dom::parse< char > ( + i, h, p, f)); + + h.throw_if_failed< ::xsd::cxx::tree::parsing< char > > (); + + return ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > ( + ::LinphonePrivate::Xsd::ConferenceInfo::parseConferenceInfo ( + std::move (d), f | ::LinphonePrivate::Xsd::XmlSchema::Flags::own_dom, p)); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (::xercesc::InputSource& i, + ::LinphonePrivate::Xsd::XmlSchema::ErrorHandler& h, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::xsd::cxx::xml::dom::parse< char > ( + i, h, p, f)); + + if (!d.get ()) + throw ::xsd::cxx::tree::parsing< char > (); + + return ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > ( + ::LinphonePrivate::Xsd::ConferenceInfo::parseConferenceInfo ( + std::move (d), f | ::LinphonePrivate::Xsd::XmlSchema::Flags::own_dom, p)); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (::xercesc::InputSource& i, + ::xercesc::DOMErrorHandler& h, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::xsd::cxx::xml::dom::parse< char > ( + i, h, p, f)); + + if (!d.get ()) + throw ::xsd::cxx::tree::parsing< char > (); + + return ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > ( + ::LinphonePrivate::Xsd::ConferenceInfo::parseConferenceInfo ( + std::move (d), f | ::LinphonePrivate::Xsd::XmlSchema::Flags::own_dom, p)); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (const ::xercesc::DOMDocument& doc, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + if (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::keep_dom) + { + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + static_cast< ::xercesc::DOMDocument* > (doc.cloneNode (true))); + + return ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > ( + ::LinphonePrivate::Xsd::ConferenceInfo::parseConferenceInfo ( + std::move (d), f | ::LinphonePrivate::Xsd::XmlSchema::Flags::own_dom, p)); + } + + const ::xercesc::DOMElement& e (*doc.getDocumentElement ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (e)); + + if (n.name () == "conference-info" && + n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > r ( + ::xsd::cxx::tree::traits< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType, char >::create ( + e, f, 0)); + return r; + } + + throw ::xsd::cxx::tree::unexpected_element < char > ( + n.name (), + n.namespace_ (), + "conference-info", + "urn:ietf:params:xml:ns:conference-info"); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties&) + { + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > c ( + ((f & ::LinphonePrivate::Xsd::XmlSchema::Flags::keep_dom) && + !(f & ::LinphonePrivate::Xsd::XmlSchema::Flags::own_dom)) + ? static_cast< ::xercesc::DOMDocument* > (d->cloneNode (true)) + : 0); + + ::xercesc::DOMDocument& doc (c.get () ? *c : *d); + const ::xercesc::DOMElement& e (*doc.getDocumentElement ()); + + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (e)); + + if (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::keep_dom) + doc.setUserData (::LinphonePrivate::Xsd::XmlSchema::dom::treeNodeKey, + (c.get () ? &c : &d), + 0); + + if (n.name () == "conference-info" && + n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > r ( + ::xsd::cxx::tree::traits< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType, char >::create ( + e, f, 0)); + return r; + } + + throw ::xsd::cxx::tree::unexpected_element < char > ( + n.name (), + n.namespace_ (), + "conference-info", + "urn:ietf:params:xml:ns:conference-info"); + } } - - const ::xercesc::DOMElement& e (*doc.getDocumentElement ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (e)); - - if (n.name () == "conference-info" && - n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< ::conference_info::Conference_type > r ( - ::xsd::cxx::tree::traits< ::conference_info::Conference_type, char >::create ( - e, f, 0)); - return r; - } - - throw ::xsd::cxx::tree::unexpected_element < char > ( - n.name (), - n.namespace_ (), - "conference-info", - "urn:ietf:params:xml:ns:conference-info"); - } - - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d, - ::xml_schema::Flags f, - const ::xml_schema::Properties&) - { - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > c ( - ((f & ::xml_schema::Flags::keep_dom) && - !(f & ::xml_schema::Flags::own_dom)) - ? static_cast< ::xercesc::DOMDocument* > (d->cloneNode (true)) - : 0); - - ::xercesc::DOMDocument& doc (c.get () ? *c : *d); - const ::xercesc::DOMElement& e (*doc.getDocumentElement ()); - - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (e)); - - if (f & ::xml_schema::Flags::keep_dom) - doc.setUserData (::xml_schema::dom::treeNodeKey, - (c.get () ? &c : &d), - 0); - - if (n.name () == "conference-info" && - n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - ::std::unique_ptr< ::conference_info::Conference_type > r ( - ::xsd::cxx::tree::traits< ::conference_info::Conference_type, char >::create ( - e, f, 0)); - return r; - } - - throw ::xsd::cxx::tree::unexpected_element < char > ( - n.name (), - n.namespace_ (), - "conference-info", - "urn:ietf:params:xml:ns:conference-info"); } } @@ -7538,1733 +7560,1739 @@ namespace conference_info #include #include -namespace conference_info +namespace LinphonePrivate { - void - serializeConference_info (::std::ostream& o, - const ::conference_info::Conference_type& s, - const ::xml_schema::NamespaceInfomap& m, - const ::std::string& e, - ::xml_schema::Flags f) + namespace Xsd { - ::xsd::cxx::xml::auto_initializer i ( - (f & ::xml_schema::Flags::dont_initialize) == 0); - - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::conference_info::serializeConference_info (s, m, f)); - - ::xsd::cxx::tree::error_handler< char > h; - - ::xsd::cxx::xml::dom::ostream_format_target t (o); - if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f)) - { - h.throw_if_failed< ::xsd::cxx::tree::serialization< char > > (); - } - } - - void - serializeConference_info (::std::ostream& o, - const ::conference_info::Conference_type& s, - ::xml_schema::ErrorHandler& h, - const ::xml_schema::NamespaceInfomap& m, - const ::std::string& e, - ::xml_schema::Flags f) - { - ::xsd::cxx::xml::auto_initializer i ( - (f & ::xml_schema::Flags::dont_initialize) == 0); - - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::conference_info::serializeConference_info (s, m, f)); - ::xsd::cxx::xml::dom::ostream_format_target t (o); - if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f)) - { - throw ::xsd::cxx::tree::serialization< char > (); - } - } - - void - serializeConference_info (::std::ostream& o, - const ::conference_info::Conference_type& s, - ::xercesc::DOMErrorHandler& h, - const ::xml_schema::NamespaceInfomap& m, - const ::std::string& e, - ::xml_schema::Flags f) - { - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::conference_info::serializeConference_info (s, m, f)); - ::xsd::cxx::xml::dom::ostream_format_target t (o); - if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f)) - { - throw ::xsd::cxx::tree::serialization< char > (); - } - } - - void - serializeConference_info (::xercesc::XMLFormatTarget& t, - const ::conference_info::Conference_type& s, - const ::xml_schema::NamespaceInfomap& m, - const ::std::string& e, - ::xml_schema::Flags f) - { - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::conference_info::serializeConference_info (s, m, f)); - - ::xsd::cxx::tree::error_handler< char > h; - - if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f)) - { - h.throw_if_failed< ::xsd::cxx::tree::serialization< char > > (); - } - } - - void - serializeConference_info (::xercesc::XMLFormatTarget& t, - const ::conference_info::Conference_type& s, - ::xml_schema::ErrorHandler& h, - const ::xml_schema::NamespaceInfomap& m, - const ::std::string& e, - ::xml_schema::Flags f) - { - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::conference_info::serializeConference_info (s, m, f)); - if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f)) - { - throw ::xsd::cxx::tree::serialization< char > (); - } - } - - void - serializeConference_info (::xercesc::XMLFormatTarget& t, - const ::conference_info::Conference_type& s, - ::xercesc::DOMErrorHandler& h, - const ::xml_schema::NamespaceInfomap& m, - const ::std::string& e, - ::xml_schema::Flags f) - { - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::conference_info::serializeConference_info (s, m, f)); - if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f)) - { - throw ::xsd::cxx::tree::serialization< char > (); - } - } - - void - serializeConference_info (::xercesc::DOMDocument& d, - const ::conference_info::Conference_type& s, - ::xml_schema::Flags) - { - ::xercesc::DOMElement& e (*d.getDocumentElement ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (e)); - - if (n.name () == "conference-info" && - n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") - { - e << s; - } - else - { - throw ::xsd::cxx::tree::unexpected_element < char > ( - n.name (), - n.namespace_ (), - "conference-info", - "urn:ietf:params:xml:ns:conference-info"); - } - } - - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > - serializeConference_info (const ::conference_info::Conference_type& s, - const ::xml_schema::NamespaceInfomap& m, - ::xml_schema::Flags f) - { - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::xsd::cxx::xml::dom::serialize< char > ( - "conference-info", - "urn:ietf:params:xml:ns:conference-info", - m, f)); - - ::conference_info::serializeConference_info (*d, s, f); - return d; - } - - void - operator<< (::xercesc::DOMElement& e, const Conference_type& i) - { - e << static_cast< const ::xml_schema::Type& > (i); - - // any_attribute - // - for (Conference_type::AnyAttributeConstIterator - b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); - b != n; ++b) - { - ::xercesc::DOMAttr* a ( - static_cast< ::xercesc::DOMAttr* > ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); - - if (a->getLocalName () == 0) - e.setAttributeNode (a); - else - e.setAttributeNodeNS (a); - } - - // conference-description - // - if (i.getConference_description ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "conference-description", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getConference_description (); - } - - // host-info - // - if (i.getHost_info ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "host-info", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getHost_info (); - } - - // conference-state - // - if (i.getConference_state ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "conference-state", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getConference_state (); - } - - // users - // - if (i.getUsers ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "users", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getUsers (); - } - - // sidebars-by-ref - // - if (i.getSidebars_by_ref ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "sidebars-by-ref", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getSidebars_by_ref (); - } - - // sidebars-by-val - // - if (i.getSidebars_by_val ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "sidebars-by-val", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getSidebars_by_val (); - } - - // any - // - for (Conference_type::AnyConstIterator - b (i.getAny ().begin ()), n (i.getAny ().end ()); - b != n; ++b) - { - e.appendChild ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMElement* > (&(*b)), true)); - } - - // entity - // - { - ::xercesc::DOMAttr& a ( - ::xsd::cxx::xml::dom::create_attribute ( - "entity", - e)); - - a << i.getEntity (); - } - - // state - // - { - ::xercesc::DOMAttr& a ( - ::xsd::cxx::xml::dom::create_attribute ( - "state", - e)); - - a << i.getState (); - } - - // version - // - if (i.getVersion ()) - { - ::xercesc::DOMAttr& a ( - ::xsd::cxx::xml::dom::create_attribute ( - "version", - e)); - - a << *i.getVersion (); - } - } - - void - operator<< (::xercesc::DOMElement& e, const State_type& i) - { - e << static_cast< const ::xml_schema::String& > (i); - } - - void - operator<< (::xercesc::DOMAttr& a, const State_type& i) - { - a << static_cast< const ::xml_schema::String& > (i); - } - - void - operator<< (::xml_schema::ListStream& l, - const State_type& i) - { - l << static_cast< const ::xml_schema::String& > (i); - } - - void - operator<< (::xercesc::DOMElement& e, const Conference_description_type& i) - { - e << static_cast< const ::xml_schema::Type& > (i); - - // any_attribute - // - for (Conference_description_type::AnyAttributeConstIterator - b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); - b != n; ++b) - { - ::xercesc::DOMAttr* a ( - static_cast< ::xercesc::DOMAttr* > ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); - - if (a->getLocalName () == 0) - e.setAttributeNode (a); - else - e.setAttributeNodeNS (a); - } - - // display-text - // - if (i.getDisplay_text ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "display-text", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getDisplay_text (); - } - - // subject - // - if (i.getSubject ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "subject", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getSubject (); - } - - // free-text - // - if (i.getFree_text ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "free-text", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getFree_text (); - } - - // keywords - // - if (i.getKeywords ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "keywords", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getKeywords (); - } - - // conf-uris - // - if (i.getConf_uris ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "conf-uris", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getConf_uris (); - } - - // service-uris - // - if (i.getService_uris ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "service-uris", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getService_uris (); - } - - // maximum-user-count - // - if (i.getMaximum_user_count ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "maximum-user-count", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getMaximum_user_count (); - } - - // available-media - // - if (i.getAvailable_media ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "available-media", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getAvailable_media (); - } - - // any - // - for (Conference_description_type::AnyConstIterator - b (i.getAny ().begin ()), n (i.getAny ().end ()); - b != n; ++b) - { - e.appendChild ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMElement* > (&(*b)), true)); - } - } - - void - operator<< (::xercesc::DOMElement& e, const Host_type& i) - { - e << static_cast< const ::xml_schema::Type& > (i); - - // any_attribute - // - for (Host_type::AnyAttributeConstIterator - b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); - b != n; ++b) - { - ::xercesc::DOMAttr* a ( - static_cast< ::xercesc::DOMAttr* > ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); - - if (a->getLocalName () == 0) - e.setAttributeNode (a); - else - e.setAttributeNodeNS (a); - } - - // display-text - // - if (i.getDisplay_text ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "display-text", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getDisplay_text (); - } - - // web-page - // - if (i.getWeb_page ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "web-page", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getWeb_page (); - } - - // uris - // - if (i.getUris ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "uris", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getUris (); - } - - // any - // - for (Host_type::AnyConstIterator - b (i.getAny ().begin ()), n (i.getAny ().end ()); - b != n; ++b) - { - e.appendChild ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMElement* > (&(*b)), true)); - } - } - - void - operator<< (::xercesc::DOMElement& e, const Conference_state_type& i) - { - e << static_cast< const ::xml_schema::Type& > (i); - - // any_attribute - // - for (Conference_state_type::AnyAttributeConstIterator - b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); - b != n; ++b) - { - ::xercesc::DOMAttr* a ( - static_cast< ::xercesc::DOMAttr* > ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); - - if (a->getLocalName () == 0) - e.setAttributeNode (a); - else - e.setAttributeNodeNS (a); - } - - // user-count - // - if (i.getUser_count ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "user-count", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getUser_count (); - } - - // active - // - if (i.getActive ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "active", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getActive (); - } - - // locked - // - if (i.getLocked ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "locked", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getLocked (); - } - - // any - // - for (Conference_state_type::AnyConstIterator - b (i.getAny ().begin ()), n (i.getAny ().end ()); - b != n; ++b) - { - e.appendChild ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMElement* > (&(*b)), true)); - } - } - - void - operator<< (::xercesc::DOMElement& e, const Conference_media_type& i) - { - e << static_cast< const ::xml_schema::Type& > (i); - - // any_attribute - // - for (Conference_media_type::AnyAttributeConstIterator - b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); - b != n; ++b) - { - ::xercesc::DOMAttr* a ( - static_cast< ::xercesc::DOMAttr* > ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); - - if (a->getLocalName () == 0) - e.setAttributeNode (a); - else - e.setAttributeNodeNS (a); - } - - // entry - // - for (Conference_media_type::EntryConstIterator - b (i.getEntry ().begin ()), n (i.getEntry ().end ()); - b != n; ++b) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "entry", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *b; - } - } - - void - operator<< (::xercesc::DOMElement& e, const Conference_medium_type& i) - { - e << static_cast< const ::xml_schema::Type& > (i); - - // any_attribute - // - for (Conference_medium_type::AnyAttributeConstIterator - b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); - b != n; ++b) - { - ::xercesc::DOMAttr* a ( - static_cast< ::xercesc::DOMAttr* > ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); - - if (a->getLocalName () == 0) - e.setAttributeNode (a); - else - e.setAttributeNodeNS (a); - } - - // display-text - // - if (i.getDisplay_text ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "display-text", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getDisplay_text (); - } - - // type - // - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "type", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << i.getType (); - } - - // status - // - if (i.getStatus ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "status", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getStatus (); - } - - // any - // - for (Conference_medium_type::AnyConstIterator - b (i.getAny ().begin ()), n (i.getAny ().end ()); - b != n; ++b) - { - e.appendChild ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMElement* > (&(*b)), true)); - } - - // label - // - { - ::xercesc::DOMAttr& a ( - ::xsd::cxx::xml::dom::create_attribute ( - "label", - e)); - - a << i.getLabel (); - } - } - - void - operator<< (::xercesc::DOMElement& e, const Uris_type& i) - { - e << static_cast< const ::xml_schema::Type& > (i); - - // any_attribute - // - for (Uris_type::AnyAttributeConstIterator - b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); - b != n; ++b) - { - ::xercesc::DOMAttr* a ( - static_cast< ::xercesc::DOMAttr* > ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); - - if (a->getLocalName () == 0) - e.setAttributeNode (a); - else - e.setAttributeNodeNS (a); - } - - // entry - // - for (Uris_type::EntryConstIterator - b (i.getEntry ().begin ()), n (i.getEntry ().end ()); - b != n; ++b) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "entry", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *b; - } - - // state - // - { - ::xercesc::DOMAttr& a ( - ::xsd::cxx::xml::dom::create_attribute ( - "state", - e)); - - a << i.getState (); - } - } - - void - operator<< (::xercesc::DOMElement& e, const Uri_type& i) - { - e << static_cast< const ::xml_schema::Type& > (i); - - // any_attribute - // - for (Uri_type::AnyAttributeConstIterator - b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); - b != n; ++b) - { - ::xercesc::DOMAttr* a ( - static_cast< ::xercesc::DOMAttr* > ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); - - if (a->getLocalName () == 0) - e.setAttributeNode (a); - else - e.setAttributeNodeNS (a); - } - - // uri - // - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "uri", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << i.getUri (); - } - - // display-text - // - if (i.getDisplay_text ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "display-text", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getDisplay_text (); - } - - // purpose - // - if (i.getPurpose ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "purpose", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getPurpose (); - } - - // modified - // - if (i.getModified ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "modified", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getModified (); - } - - // any - // - for (Uri_type::AnyConstIterator - b (i.getAny ().begin ()), n (i.getAny ().end ()); - b != n; ++b) - { - e.appendChild ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMElement* > (&(*b)), true)); - } - } - - void - operator<< (::xercesc::DOMElement& e, const Keywords_type& i) - { - e << static_cast< const ::xsd::cxx::tree::list< ::xml_schema::String, char >& > (i); - } - - void - operator<< (::xercesc::DOMAttr& a, const Keywords_type& i) - { - a << static_cast< const ::xsd::cxx::tree::list< ::xml_schema::String, char >& > (i); - } - - void - operator<< (::xml_schema::ListStream& l, - const Keywords_type& i) - { - l << static_cast< const ::xsd::cxx::tree::list< ::xml_schema::String, char >& > (i); - } - - void - operator<< (::xercesc::DOMElement& e, const Users_type& i) - { - e << static_cast< const ::xml_schema::Type& > (i); - - // any_attribute - // - for (Users_type::AnyAttributeConstIterator - b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); - b != n; ++b) - { - ::xercesc::DOMAttr* a ( - static_cast< ::xercesc::DOMAttr* > ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); - - if (a->getLocalName () == 0) - e.setAttributeNode (a); - else - e.setAttributeNodeNS (a); - } - - // user - // - for (Users_type::UserConstIterator - b (i.getUser ().begin ()), n (i.getUser ().end ()); - b != n; ++b) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "user", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *b; - } - - // any - // - for (Users_type::AnyConstIterator - b (i.getAny ().begin ()), n (i.getAny ().end ()); - b != n; ++b) - { - e.appendChild ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMElement* > (&(*b)), true)); - } - - // state - // - { - ::xercesc::DOMAttr& a ( - ::xsd::cxx::xml::dom::create_attribute ( - "state", - e)); - - a << i.getState (); - } - } - - void - operator<< (::xercesc::DOMElement& e, const User_type& i) - { - e << static_cast< const ::xml_schema::Type& > (i); - - // any_attribute - // - for (User_type::AnyAttributeConstIterator - b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); - b != n; ++b) - { - ::xercesc::DOMAttr* a ( - static_cast< ::xercesc::DOMAttr* > ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); - - if (a->getLocalName () == 0) - e.setAttributeNode (a); - else - e.setAttributeNodeNS (a); - } - - // display-text - // - if (i.getDisplay_text ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "display-text", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getDisplay_text (); - } - - // associated-aors - // - if (i.getAssociated_aors ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "associated-aors", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getAssociated_aors (); - } - - // roles - // - if (i.getRoles ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "roles", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getRoles (); - } - - // languages - // - if (i.getLanguages ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "languages", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getLanguages (); - } - - // cascaded-focus - // - if (i.getCascaded_focus ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "cascaded-focus", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getCascaded_focus (); - } - - // endpoint - // - for (User_type::EndpointConstIterator - b (i.getEndpoint ().begin ()), n (i.getEndpoint ().end ()); - b != n; ++b) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "endpoint", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *b; - } - - // any - // - for (User_type::AnyConstIterator - b (i.getAny ().begin ()), n (i.getAny ().end ()); - b != n; ++b) - { - e.appendChild ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMElement* > (&(*b)), true)); - } - - // entity - // - if (i.getEntity ()) - { - ::xercesc::DOMAttr& a ( - ::xsd::cxx::xml::dom::create_attribute ( - "entity", - e)); - - a << *i.getEntity (); - } - - // state - // - { - ::xercesc::DOMAttr& a ( - ::xsd::cxx::xml::dom::create_attribute ( - "state", - e)); - - a << i.getState (); - } - } - - void - operator<< (::xercesc::DOMElement& e, const User_roles_type& i) - { - e << static_cast< const ::xml_schema::Type& > (i); - - // any_attribute - // - for (User_roles_type::AnyAttributeConstIterator - b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); - b != n; ++b) - { - ::xercesc::DOMAttr* a ( - static_cast< ::xercesc::DOMAttr* > ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); - - if (a->getLocalName () == 0) - e.setAttributeNode (a); - else - e.setAttributeNodeNS (a); - } - - // entry - // - for (User_roles_type::EntryConstIterator - b (i.getEntry ().begin ()), n (i.getEntry ().end ()); - b != n; ++b) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "entry", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *b; - } - } - - void - operator<< (::xercesc::DOMElement& e, const User_languages_type& i) - { - e << static_cast< const ::xsd::cxx::tree::list< ::xml_schema::Language, char >& > (i); - } - - void - operator<< (::xercesc::DOMAttr& a, const User_languages_type& i) - { - a << static_cast< const ::xsd::cxx::tree::list< ::xml_schema::Language, char >& > (i); - } - - void - operator<< (::xml_schema::ListStream& l, - const User_languages_type& i) - { - l << static_cast< const ::xsd::cxx::tree::list< ::xml_schema::Language, char >& > (i); - } - - void - operator<< (::xercesc::DOMElement& e, const Endpoint_type& i) - { - e << static_cast< const ::xml_schema::Type& > (i); - - // any_attribute - // - for (Endpoint_type::AnyAttributeConstIterator - b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); - b != n; ++b) - { - ::xercesc::DOMAttr* a ( - static_cast< ::xercesc::DOMAttr* > ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); - - if (a->getLocalName () == 0) - e.setAttributeNode (a); - else - e.setAttributeNodeNS (a); - } - - // display-text - // - if (i.getDisplay_text ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "display-text", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getDisplay_text (); - } - - // referred - // - if (i.getReferred ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "referred", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getReferred (); - } - - // status - // - if (i.getStatus ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "status", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getStatus (); - } - - // joining-method - // - if (i.getJoining_method ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "joining-method", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getJoining_method (); - } - - // joining-info - // - if (i.getJoining_info ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "joining-info", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getJoining_info (); - } - - // disconnection-method - // - if (i.getDisconnection_method ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "disconnection-method", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getDisconnection_method (); - } - - // disconnection-info - // - if (i.getDisconnection_info ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "disconnection-info", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getDisconnection_info (); - } - - // media - // - for (Endpoint_type::MediaConstIterator - b (i.getMedia ().begin ()), n (i.getMedia ().end ()); - b != n; ++b) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "media", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *b; - } - - // call-info - // - if (i.getCall_info ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "call-info", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getCall_info (); - } - - // any - // - for (Endpoint_type::AnyConstIterator - b (i.getAny ().begin ()), n (i.getAny ().end ()); - b != n; ++b) - { - e.appendChild ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMElement* > (&(*b)), true)); - } - - // entity - // - if (i.getEntity ()) - { - ::xercesc::DOMAttr& a ( - ::xsd::cxx::xml::dom::create_attribute ( - "entity", - e)); - - a << *i.getEntity (); - } - - // state - // - { - ::xercesc::DOMAttr& a ( - ::xsd::cxx::xml::dom::create_attribute ( - "state", - e)); - - a << i.getState (); - } - } - - void - operator<< (::xercesc::DOMElement& e, const Endpoint_status_type& i) - { - e << static_cast< const ::xml_schema::String& > (i); - } - - void - operator<< (::xercesc::DOMAttr& a, const Endpoint_status_type& i) - { - a << static_cast< const ::xml_schema::String& > (i); - } - - void - operator<< (::xml_schema::ListStream& l, - const Endpoint_status_type& i) - { - l << static_cast< const ::xml_schema::String& > (i); - } - - void - operator<< (::xercesc::DOMElement& e, const Joining_type& i) - { - e << static_cast< const ::xml_schema::String& > (i); - } - - void - operator<< (::xercesc::DOMAttr& a, const Joining_type& i) - { - a << static_cast< const ::xml_schema::String& > (i); - } - - void - operator<< (::xml_schema::ListStream& l, - const Joining_type& i) - { - l << static_cast< const ::xml_schema::String& > (i); - } - - void - operator<< (::xercesc::DOMElement& e, const Disconnection_type& i) - { - e << static_cast< const ::xml_schema::String& > (i); - } - - void - operator<< (::xercesc::DOMAttr& a, const Disconnection_type& i) - { - a << static_cast< const ::xml_schema::String& > (i); - } - - void - operator<< (::xml_schema::ListStream& l, - const Disconnection_type& i) - { - l << static_cast< const ::xml_schema::String& > (i); - } - - void - operator<< (::xercesc::DOMElement& e, const Execution_type& i) - { - e << static_cast< const ::xml_schema::Type& > (i); - - // any_attribute - // - for (Execution_type::AnyAttributeConstIterator - b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); - b != n; ++b) - { - ::xercesc::DOMAttr* a ( - static_cast< ::xercesc::DOMAttr* > ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); - - if (a->getLocalName () == 0) - e.setAttributeNode (a); - else - e.setAttributeNodeNS (a); - } - - // when - // - if (i.getWhen ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "when", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getWhen (); - } - - // reason - // - if (i.getReason ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "reason", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getReason (); - } - - // by - // - if (i.getBy ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "by", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getBy (); - } - } - - void - operator<< (::xercesc::DOMElement& e, const Call_type& i) - { - e << static_cast< const ::xml_schema::Type& > (i); - - // any_attribute - // - for (Call_type::AnyAttributeConstIterator - b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); - b != n; ++b) - { - ::xercesc::DOMAttr* a ( - static_cast< ::xercesc::DOMAttr* > ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); - - if (a->getLocalName () == 0) - e.setAttributeNode (a); - else - e.setAttributeNodeNS (a); - } - - // sip - // - if (i.getSip ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "sip", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getSip (); - } - - // any - // - for (Call_type::AnyConstIterator - b (i.getAny ().begin ()), n (i.getAny ().end ()); - b != n; ++b) - { - e.appendChild ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMElement* > (&(*b)), true)); - } - } - - void - operator<< (::xercesc::DOMElement& e, const Sip_dialog_id_type& i) - { - e << static_cast< const ::xml_schema::Type& > (i); - - // any_attribute - // - for (Sip_dialog_id_type::AnyAttributeConstIterator - b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); - b != n; ++b) - { - ::xercesc::DOMAttr* a ( - static_cast< ::xercesc::DOMAttr* > ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); - - if (a->getLocalName () == 0) - e.setAttributeNode (a); - else - e.setAttributeNodeNS (a); - } - - // display-text - // - if (i.getDisplay_text ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "display-text", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getDisplay_text (); - } - - // call-id - // - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "call-id", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << i.getCall_id (); - } - - // from-tag - // - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "from-tag", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << i.getFrom_tag (); - } - - // to-tag - // - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "to-tag", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << i.getTo_tag (); - } - - // any - // - for (Sip_dialog_id_type::AnyConstIterator - b (i.getAny ().begin ()), n (i.getAny ().end ()); - b != n; ++b) - { - e.appendChild ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMElement* > (&(*b)), true)); - } - } - - void - operator<< (::xercesc::DOMElement& e, const Media_type& i) - { - e << static_cast< const ::xml_schema::Type& > (i); - - // any_attribute - // - for (Media_type::AnyAttributeConstIterator - b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); - b != n; ++b) - { - ::xercesc::DOMAttr* a ( - static_cast< ::xercesc::DOMAttr* > ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); - - if (a->getLocalName () == 0) - e.setAttributeNode (a); - else - e.setAttributeNodeNS (a); - } - - // display-text - // - if (i.getDisplay_text ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "display-text", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getDisplay_text (); - } - - // type - // - if (i.getType ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "type", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getType (); - } - - // label - // - if (i.getLabel ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "label", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getLabel (); - } - - // src-id - // - if (i.getSrc_id ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "src-id", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getSrc_id (); - } - - // status - // - if (i.getStatus ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "status", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *i.getStatus (); - } - - // any - // - for (Media_type::AnyConstIterator - b (i.getAny ().begin ()), n (i.getAny ().end ()); - b != n; ++b) - { - e.appendChild ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMElement* > (&(*b)), true)); - } - - // id - // - { - ::xercesc::DOMAttr& a ( - ::xsd::cxx::xml::dom::create_attribute ( - "id", - e)); - - a << i.getId (); - } - } - - void - operator<< (::xercesc::DOMElement& e, const Media_status_type& i) - { - e << static_cast< const ::xml_schema::String& > (i); - } - - void - operator<< (::xercesc::DOMAttr& a, const Media_status_type& i) - { - a << static_cast< const ::xml_schema::String& > (i); - } - - void - operator<< (::xml_schema::ListStream& l, - const Media_status_type& i) - { - l << static_cast< const ::xml_schema::String& > (i); - } - - void - operator<< (::xercesc::DOMElement& e, const Sidebars_by_val_type& i) - { - e << static_cast< const ::xml_schema::Type& > (i); - - // any_attribute - // - for (Sidebars_by_val_type::AnyAttributeConstIterator - b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); - b != n; ++b) - { - ::xercesc::DOMAttr* a ( - static_cast< ::xercesc::DOMAttr* > ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); - - if (a->getLocalName () == 0) - e.setAttributeNode (a); - else - e.setAttributeNodeNS (a); - } - - // entry - // - for (Sidebars_by_val_type::EntryConstIterator - b (i.getEntry ().begin ()), n (i.getEntry ().end ()); - b != n; ++b) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "entry", - "urn:ietf:params:xml:ns:conference-info", - e)); - - s << *b; - } - - // state - // - { - ::xercesc::DOMAttr& a ( - ::xsd::cxx::xml::dom::create_attribute ( - "state", - e)); - - a << i.getState (); + namespace ConferenceInfo + { + void + serializeConferenceInfo (::std::ostream& o, + const ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType& s, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m, + const ::std::string& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) + { + ::xsd::cxx::xml::auto_initializer i ( + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::dont_initialize) == 0); + + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::LinphonePrivate::Xsd::ConferenceInfo::serializeConferenceInfo (s, m, f)); + + ::xsd::cxx::tree::error_handler< char > h; + + ::xsd::cxx::xml::dom::ostream_format_target t (o); + if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f)) + { + h.throw_if_failed< ::xsd::cxx::tree::serialization< char > > (); + } + } + + void + serializeConferenceInfo (::std::ostream& o, + const ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType& s, + ::LinphonePrivate::Xsd::XmlSchema::ErrorHandler& h, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m, + const ::std::string& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) + { + ::xsd::cxx::xml::auto_initializer i ( + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::dont_initialize) == 0); + + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::LinphonePrivate::Xsd::ConferenceInfo::serializeConferenceInfo (s, m, f)); + ::xsd::cxx::xml::dom::ostream_format_target t (o); + if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f)) + { + throw ::xsd::cxx::tree::serialization< char > (); + } + } + + void + serializeConferenceInfo (::std::ostream& o, + const ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType& s, + ::xercesc::DOMErrorHandler& h, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m, + const ::std::string& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) + { + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::LinphonePrivate::Xsd::ConferenceInfo::serializeConferenceInfo (s, m, f)); + ::xsd::cxx::xml::dom::ostream_format_target t (o); + if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f)) + { + throw ::xsd::cxx::tree::serialization< char > (); + } + } + + void + serializeConferenceInfo (::xercesc::XMLFormatTarget& t, + const ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType& s, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m, + const ::std::string& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) + { + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::LinphonePrivate::Xsd::ConferenceInfo::serializeConferenceInfo (s, m, f)); + + ::xsd::cxx::tree::error_handler< char > h; + + if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f)) + { + h.throw_if_failed< ::xsd::cxx::tree::serialization< char > > (); + } + } + + void + serializeConferenceInfo (::xercesc::XMLFormatTarget& t, + const ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType& s, + ::LinphonePrivate::Xsd::XmlSchema::ErrorHandler& h, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m, + const ::std::string& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) + { + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::LinphonePrivate::Xsd::ConferenceInfo::serializeConferenceInfo (s, m, f)); + if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f)) + { + throw ::xsd::cxx::tree::serialization< char > (); + } + } + + void + serializeConferenceInfo (::xercesc::XMLFormatTarget& t, + const ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType& s, + ::xercesc::DOMErrorHandler& h, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m, + const ::std::string& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) + { + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::LinphonePrivate::Xsd::ConferenceInfo::serializeConferenceInfo (s, m, f)); + if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f)) + { + throw ::xsd::cxx::tree::serialization< char > (); + } + } + + void + serializeConferenceInfo (::xercesc::DOMDocument& d, + const ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType& s, + ::LinphonePrivate::Xsd::XmlSchema::Flags) + { + ::xercesc::DOMElement& e (*d.getDocumentElement ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (e)); + + if (n.name () == "conference-info" && + n.namespace_ () == "urn:ietf:params:xml:ns:conference-info") + { + e << s; + } + else + { + throw ::xsd::cxx::tree::unexpected_element < char > ( + n.name (), + n.namespace_ (), + "conference-info", + "urn:ietf:params:xml:ns:conference-info"); + } + } + + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > + serializeConferenceInfo (const ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType& s, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) + { + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::xsd::cxx::xml::dom::serialize< char > ( + "conference-info", + "urn:ietf:params:xml:ns:conference-info", + m, f)); + + ::LinphonePrivate::Xsd::ConferenceInfo::serializeConferenceInfo (*d, s, f); + return d; + } + + void + operator<< (::xercesc::DOMElement& e, const ConferenceType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Type& > (i); + + // any_attribute + // + for (ConferenceType::AnyAttributeConstIterator + b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); + b != n; ++b) + { + ::xercesc::DOMAttr* a ( + static_cast< ::xercesc::DOMAttr* > ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); + + if (a->getLocalName () == 0) + e.setAttributeNode (a); + else + e.setAttributeNodeNS (a); + } + + // conference-description + // + if (i.getConferenceDescription ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "conference-description", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getConferenceDescription (); + } + + // host-info + // + if (i.getHostInfo ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "host-info", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getHostInfo (); + } + + // conference-state + // + if (i.getConferenceState ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "conference-state", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getConferenceState (); + } + + // users + // + if (i.getUsers ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "users", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getUsers (); + } + + // sidebars-by-ref + // + if (i.getSidebarsByRef ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "sidebars-by-ref", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getSidebarsByRef (); + } + + // sidebars-by-val + // + if (i.getSidebarsByVal ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "sidebars-by-val", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getSidebarsByVal (); + } + + // any + // + for (ConferenceType::AnyConstIterator + b (i.getAny ().begin ()), n (i.getAny ().end ()); + b != n; ++b) + { + e.appendChild ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMElement* > (&(*b)), true)); + } + + // entity + // + { + ::xercesc::DOMAttr& a ( + ::xsd::cxx::xml::dom::create_attribute ( + "entity", + e)); + + a << i.getEntity (); + } + + // state + // + { + ::xercesc::DOMAttr& a ( + ::xsd::cxx::xml::dom::create_attribute ( + "state", + e)); + + a << i.getState (); + } + + // version + // + if (i.getVersion ()) + { + ::xercesc::DOMAttr& a ( + ::xsd::cxx::xml::dom::create_attribute ( + "version", + e)); + + a << *i.getVersion (); + } + } + + void + operator<< (::xercesc::DOMElement& e, const StateType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); + } + + void + operator<< (::xercesc::DOMAttr& a, const StateType& i) + { + a << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); + } + + void + operator<< (::LinphonePrivate::Xsd::XmlSchema::ListStream& l, + const StateType& i) + { + l << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); + } + + void + operator<< (::xercesc::DOMElement& e, const ConferenceDescriptionType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Type& > (i); + + // any_attribute + // + for (ConferenceDescriptionType::AnyAttributeConstIterator + b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); + b != n; ++b) + { + ::xercesc::DOMAttr* a ( + static_cast< ::xercesc::DOMAttr* > ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); + + if (a->getLocalName () == 0) + e.setAttributeNode (a); + else + e.setAttributeNodeNS (a); + } + + // display-text + // + if (i.getDisplayText ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "display-text", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getDisplayText (); + } + + // subject + // + if (i.getSubject ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "subject", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getSubject (); + } + + // free-text + // + if (i.getFreeText ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "free-text", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getFreeText (); + } + + // keywords + // + if (i.getKeywords ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "keywords", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getKeywords (); + } + + // conf-uris + // + if (i.getConfUris ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "conf-uris", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getConfUris (); + } + + // service-uris + // + if (i.getServiceUris ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "service-uris", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getServiceUris (); + } + + // maximum-user-count + // + if (i.getMaximumUserCount ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "maximum-user-count", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getMaximumUserCount (); + } + + // available-media + // + if (i.getAvailableMedia ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "available-media", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getAvailableMedia (); + } + + // any + // + for (ConferenceDescriptionType::AnyConstIterator + b (i.getAny ().begin ()), n (i.getAny ().end ()); + b != n; ++b) + { + e.appendChild ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMElement* > (&(*b)), true)); + } + } + + void + operator<< (::xercesc::DOMElement& e, const HostType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Type& > (i); + + // any_attribute + // + for (HostType::AnyAttributeConstIterator + b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); + b != n; ++b) + { + ::xercesc::DOMAttr* a ( + static_cast< ::xercesc::DOMAttr* > ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); + + if (a->getLocalName () == 0) + e.setAttributeNode (a); + else + e.setAttributeNodeNS (a); + } + + // display-text + // + if (i.getDisplayText ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "display-text", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getDisplayText (); + } + + // web-page + // + if (i.getWebPage ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "web-page", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getWebPage (); + } + + // uris + // + if (i.getUris ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "uris", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getUris (); + } + + // any + // + for (HostType::AnyConstIterator + b (i.getAny ().begin ()), n (i.getAny ().end ()); + b != n; ++b) + { + e.appendChild ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMElement* > (&(*b)), true)); + } + } + + void + operator<< (::xercesc::DOMElement& e, const ConferenceStateType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Type& > (i); + + // any_attribute + // + for (ConferenceStateType::AnyAttributeConstIterator + b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); + b != n; ++b) + { + ::xercesc::DOMAttr* a ( + static_cast< ::xercesc::DOMAttr* > ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); + + if (a->getLocalName () == 0) + e.setAttributeNode (a); + else + e.setAttributeNodeNS (a); + } + + // user-count + // + if (i.getUserCount ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "user-count", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getUserCount (); + } + + // active + // + if (i.getActive ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "active", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getActive (); + } + + // locked + // + if (i.getLocked ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "locked", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getLocked (); + } + + // any + // + for (ConferenceStateType::AnyConstIterator + b (i.getAny ().begin ()), n (i.getAny ().end ()); + b != n; ++b) + { + e.appendChild ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMElement* > (&(*b)), true)); + } + } + + void + operator<< (::xercesc::DOMElement& e, const ConferenceMediaType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Type& > (i); + + // any_attribute + // + for (ConferenceMediaType::AnyAttributeConstIterator + b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); + b != n; ++b) + { + ::xercesc::DOMAttr* a ( + static_cast< ::xercesc::DOMAttr* > ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); + + if (a->getLocalName () == 0) + e.setAttributeNode (a); + else + e.setAttributeNodeNS (a); + } + + // entry + // + for (ConferenceMediaType::EntryConstIterator + b (i.getEntry ().begin ()), n (i.getEntry ().end ()); + b != n; ++b) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "entry", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *b; + } + } + + void + operator<< (::xercesc::DOMElement& e, const ConferenceMediumType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Type& > (i); + + // any_attribute + // + for (ConferenceMediumType::AnyAttributeConstIterator + b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); + b != n; ++b) + { + ::xercesc::DOMAttr* a ( + static_cast< ::xercesc::DOMAttr* > ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); + + if (a->getLocalName () == 0) + e.setAttributeNode (a); + else + e.setAttributeNodeNS (a); + } + + // display-text + // + if (i.getDisplayText ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "display-text", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getDisplayText (); + } + + // type + // + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "type", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << i.getType (); + } + + // status + // + if (i.getStatus ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "status", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getStatus (); + } + + // any + // + for (ConferenceMediumType::AnyConstIterator + b (i.getAny ().begin ()), n (i.getAny ().end ()); + b != n; ++b) + { + e.appendChild ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMElement* > (&(*b)), true)); + } + + // label + // + { + ::xercesc::DOMAttr& a ( + ::xsd::cxx::xml::dom::create_attribute ( + "label", + e)); + + a << i.getLabel (); + } + } + + void + operator<< (::xercesc::DOMElement& e, const UrisType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Type& > (i); + + // any_attribute + // + for (UrisType::AnyAttributeConstIterator + b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); + b != n; ++b) + { + ::xercesc::DOMAttr* a ( + static_cast< ::xercesc::DOMAttr* > ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); + + if (a->getLocalName () == 0) + e.setAttributeNode (a); + else + e.setAttributeNodeNS (a); + } + + // entry + // + for (UrisType::EntryConstIterator + b (i.getEntry ().begin ()), n (i.getEntry ().end ()); + b != n; ++b) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "entry", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *b; + } + + // state + // + { + ::xercesc::DOMAttr& a ( + ::xsd::cxx::xml::dom::create_attribute ( + "state", + e)); + + a << i.getState (); + } + } + + void + operator<< (::xercesc::DOMElement& e, const UriType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Type& > (i); + + // any_attribute + // + for (UriType::AnyAttributeConstIterator + b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); + b != n; ++b) + { + ::xercesc::DOMAttr* a ( + static_cast< ::xercesc::DOMAttr* > ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); + + if (a->getLocalName () == 0) + e.setAttributeNode (a); + else + e.setAttributeNodeNS (a); + } + + // uri + // + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "uri", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << i.getUri (); + } + + // display-text + // + if (i.getDisplayText ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "display-text", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getDisplayText (); + } + + // purpose + // + if (i.getPurpose ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "purpose", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getPurpose (); + } + + // modified + // + if (i.getModified ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "modified", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getModified (); + } + + // any + // + for (UriType::AnyConstIterator + b (i.getAny ().begin ()), n (i.getAny ().end ()); + b != n; ++b) + { + e.appendChild ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMElement* > (&(*b)), true)); + } + } + + void + operator<< (::xercesc::DOMElement& e, const KeywordsType& i) + { + e << static_cast< const ::xsd::cxx::tree::list< ::LinphonePrivate::Xsd::XmlSchema::String, char >& > (i); + } + + void + operator<< (::xercesc::DOMAttr& a, const KeywordsType& i) + { + a << static_cast< const ::xsd::cxx::tree::list< ::LinphonePrivate::Xsd::XmlSchema::String, char >& > (i); + } + + void + operator<< (::LinphonePrivate::Xsd::XmlSchema::ListStream& l, + const KeywordsType& i) + { + l << static_cast< const ::xsd::cxx::tree::list< ::LinphonePrivate::Xsd::XmlSchema::String, char >& > (i); + } + + void + operator<< (::xercesc::DOMElement& e, const UsersType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Type& > (i); + + // any_attribute + // + for (UsersType::AnyAttributeConstIterator + b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); + b != n; ++b) + { + ::xercesc::DOMAttr* a ( + static_cast< ::xercesc::DOMAttr* > ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); + + if (a->getLocalName () == 0) + e.setAttributeNode (a); + else + e.setAttributeNodeNS (a); + } + + // user + // + for (UsersType::UserConstIterator + b (i.getUser ().begin ()), n (i.getUser ().end ()); + b != n; ++b) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "user", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *b; + } + + // any + // + for (UsersType::AnyConstIterator + b (i.getAny ().begin ()), n (i.getAny ().end ()); + b != n; ++b) + { + e.appendChild ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMElement* > (&(*b)), true)); + } + + // state + // + { + ::xercesc::DOMAttr& a ( + ::xsd::cxx::xml::dom::create_attribute ( + "state", + e)); + + a << i.getState (); + } + } + + void + operator<< (::xercesc::DOMElement& e, const UserType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Type& > (i); + + // any_attribute + // + for (UserType::AnyAttributeConstIterator + b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); + b != n; ++b) + { + ::xercesc::DOMAttr* a ( + static_cast< ::xercesc::DOMAttr* > ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); + + if (a->getLocalName () == 0) + e.setAttributeNode (a); + else + e.setAttributeNodeNS (a); + } + + // display-text + // + if (i.getDisplayText ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "display-text", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getDisplayText (); + } + + // associated-aors + // + if (i.getAssociatedAors ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "associated-aors", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getAssociatedAors (); + } + + // roles + // + if (i.getRoles ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "roles", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getRoles (); + } + + // languages + // + if (i.getLanguages ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "languages", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getLanguages (); + } + + // cascaded-focus + // + if (i.getCascadedFocus ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "cascaded-focus", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getCascadedFocus (); + } + + // endpoint + // + for (UserType::EndpointConstIterator + b (i.getEndpoint ().begin ()), n (i.getEndpoint ().end ()); + b != n; ++b) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "endpoint", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *b; + } + + // any + // + for (UserType::AnyConstIterator + b (i.getAny ().begin ()), n (i.getAny ().end ()); + b != n; ++b) + { + e.appendChild ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMElement* > (&(*b)), true)); + } + + // entity + // + if (i.getEntity ()) + { + ::xercesc::DOMAttr& a ( + ::xsd::cxx::xml::dom::create_attribute ( + "entity", + e)); + + a << *i.getEntity (); + } + + // state + // + { + ::xercesc::DOMAttr& a ( + ::xsd::cxx::xml::dom::create_attribute ( + "state", + e)); + + a << i.getState (); + } + } + + void + operator<< (::xercesc::DOMElement& e, const UserRolesType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Type& > (i); + + // any_attribute + // + for (UserRolesType::AnyAttributeConstIterator + b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); + b != n; ++b) + { + ::xercesc::DOMAttr* a ( + static_cast< ::xercesc::DOMAttr* > ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); + + if (a->getLocalName () == 0) + e.setAttributeNode (a); + else + e.setAttributeNodeNS (a); + } + + // entry + // + for (UserRolesType::EntryConstIterator + b (i.getEntry ().begin ()), n (i.getEntry ().end ()); + b != n; ++b) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "entry", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *b; + } + } + + void + operator<< (::xercesc::DOMElement& e, const UserLanguagesType& i) + { + e << static_cast< const ::xsd::cxx::tree::list< ::LinphonePrivate::Xsd::XmlSchema::Language, char >& > (i); + } + + void + operator<< (::xercesc::DOMAttr& a, const UserLanguagesType& i) + { + a << static_cast< const ::xsd::cxx::tree::list< ::LinphonePrivate::Xsd::XmlSchema::Language, char >& > (i); + } + + void + operator<< (::LinphonePrivate::Xsd::XmlSchema::ListStream& l, + const UserLanguagesType& i) + { + l << static_cast< const ::xsd::cxx::tree::list< ::LinphonePrivate::Xsd::XmlSchema::Language, char >& > (i); + } + + void + operator<< (::xercesc::DOMElement& e, const EndpointType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Type& > (i); + + // any_attribute + // + for (EndpointType::AnyAttributeConstIterator + b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); + b != n; ++b) + { + ::xercesc::DOMAttr* a ( + static_cast< ::xercesc::DOMAttr* > ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); + + if (a->getLocalName () == 0) + e.setAttributeNode (a); + else + e.setAttributeNodeNS (a); + } + + // display-text + // + if (i.getDisplayText ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "display-text", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getDisplayText (); + } + + // referred + // + if (i.getReferred ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "referred", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getReferred (); + } + + // status + // + if (i.getStatus ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "status", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getStatus (); + } + + // joining-method + // + if (i.getJoiningMethod ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "joining-method", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getJoiningMethod (); + } + + // joining-info + // + if (i.getJoiningInfo ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "joining-info", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getJoiningInfo (); + } + + // disconnection-method + // + if (i.getDisconnectionMethod ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "disconnection-method", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getDisconnectionMethod (); + } + + // disconnection-info + // + if (i.getDisconnectionInfo ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "disconnection-info", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getDisconnectionInfo (); + } + + // media + // + for (EndpointType::MediaConstIterator + b (i.getMedia ().begin ()), n (i.getMedia ().end ()); + b != n; ++b) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "media", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *b; + } + + // call-info + // + if (i.getCallInfo ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "call-info", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getCallInfo (); + } + + // any + // + for (EndpointType::AnyConstIterator + b (i.getAny ().begin ()), n (i.getAny ().end ()); + b != n; ++b) + { + e.appendChild ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMElement* > (&(*b)), true)); + } + + // entity + // + if (i.getEntity ()) + { + ::xercesc::DOMAttr& a ( + ::xsd::cxx::xml::dom::create_attribute ( + "entity", + e)); + + a << *i.getEntity (); + } + + // state + // + { + ::xercesc::DOMAttr& a ( + ::xsd::cxx::xml::dom::create_attribute ( + "state", + e)); + + a << i.getState (); + } + } + + void + operator<< (::xercesc::DOMElement& e, const EndpointStatusType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); + } + + void + operator<< (::xercesc::DOMAttr& a, const EndpointStatusType& i) + { + a << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); + } + + void + operator<< (::LinphonePrivate::Xsd::XmlSchema::ListStream& l, + const EndpointStatusType& i) + { + l << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); + } + + void + operator<< (::xercesc::DOMElement& e, const JoiningType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); + } + + void + operator<< (::xercesc::DOMAttr& a, const JoiningType& i) + { + a << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); + } + + void + operator<< (::LinphonePrivate::Xsd::XmlSchema::ListStream& l, + const JoiningType& i) + { + l << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); + } + + void + operator<< (::xercesc::DOMElement& e, const DisconnectionType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); + } + + void + operator<< (::xercesc::DOMAttr& a, const DisconnectionType& i) + { + a << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); + } + + void + operator<< (::LinphonePrivate::Xsd::XmlSchema::ListStream& l, + const DisconnectionType& i) + { + l << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); + } + + void + operator<< (::xercesc::DOMElement& e, const ExecutionType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Type& > (i); + + // any_attribute + // + for (ExecutionType::AnyAttributeConstIterator + b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); + b != n; ++b) + { + ::xercesc::DOMAttr* a ( + static_cast< ::xercesc::DOMAttr* > ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); + + if (a->getLocalName () == 0) + e.setAttributeNode (a); + else + e.setAttributeNodeNS (a); + } + + // when + // + if (i.getWhen ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "when", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getWhen (); + } + + // reason + // + if (i.getReason ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "reason", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getReason (); + } + + // by + // + if (i.getBy ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "by", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getBy (); + } + } + + void + operator<< (::xercesc::DOMElement& e, const CallType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Type& > (i); + + // any_attribute + // + for (CallType::AnyAttributeConstIterator + b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); + b != n; ++b) + { + ::xercesc::DOMAttr* a ( + static_cast< ::xercesc::DOMAttr* > ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); + + if (a->getLocalName () == 0) + e.setAttributeNode (a); + else + e.setAttributeNodeNS (a); + } + + // sip + // + if (i.getSip ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "sip", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getSip (); + } + + // any + // + for (CallType::AnyConstIterator + b (i.getAny ().begin ()), n (i.getAny ().end ()); + b != n; ++b) + { + e.appendChild ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMElement* > (&(*b)), true)); + } + } + + void + operator<< (::xercesc::DOMElement& e, const SipDialogIdType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Type& > (i); + + // any_attribute + // + for (SipDialogIdType::AnyAttributeConstIterator + b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); + b != n; ++b) + { + ::xercesc::DOMAttr* a ( + static_cast< ::xercesc::DOMAttr* > ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); + + if (a->getLocalName () == 0) + e.setAttributeNode (a); + else + e.setAttributeNodeNS (a); + } + + // display-text + // + if (i.getDisplayText ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "display-text", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getDisplayText (); + } + + // call-id + // + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "call-id", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << i.getCallId (); + } + + // from-tag + // + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "from-tag", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << i.getFromTag (); + } + + // to-tag + // + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "to-tag", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << i.getToTag (); + } + + // any + // + for (SipDialogIdType::AnyConstIterator + b (i.getAny ().begin ()), n (i.getAny ().end ()); + b != n; ++b) + { + e.appendChild ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMElement* > (&(*b)), true)); + } + } + + void + operator<< (::xercesc::DOMElement& e, const MediaType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Type& > (i); + + // any_attribute + // + for (MediaType::AnyAttributeConstIterator + b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); + b != n; ++b) + { + ::xercesc::DOMAttr* a ( + static_cast< ::xercesc::DOMAttr* > ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); + + if (a->getLocalName () == 0) + e.setAttributeNode (a); + else + e.setAttributeNodeNS (a); + } + + // display-text + // + if (i.getDisplayText ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "display-text", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getDisplayText (); + } + + // type + // + if (i.getType ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "type", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getType (); + } + + // label + // + if (i.getLabel ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "label", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getLabel (); + } + + // src-id + // + if (i.getSrcId ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "src-id", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getSrcId (); + } + + // status + // + if (i.getStatus ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "status", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *i.getStatus (); + } + + // any + // + for (MediaType::AnyConstIterator + b (i.getAny ().begin ()), n (i.getAny ().end ()); + b != n; ++b) + { + e.appendChild ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMElement* > (&(*b)), true)); + } + + // id + // + { + ::xercesc::DOMAttr& a ( + ::xsd::cxx::xml::dom::create_attribute ( + "id", + e)); + + a << i.getId (); + } + } + + void + operator<< (::xercesc::DOMElement& e, const MediaStatusType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); + } + + void + operator<< (::xercesc::DOMAttr& a, const MediaStatusType& i) + { + a << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); + } + + void + operator<< (::LinphonePrivate::Xsd::XmlSchema::ListStream& l, + const MediaStatusType& i) + { + l << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); + } + + void + operator<< (::xercesc::DOMElement& e, const SidebarsByValType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Type& > (i); + + // any_attribute + // + for (SidebarsByValType::AnyAttributeConstIterator + b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); + b != n; ++b) + { + ::xercesc::DOMAttr* a ( + static_cast< ::xercesc::DOMAttr* > ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); + + if (a->getLocalName () == 0) + e.setAttributeNode (a); + else + e.setAttributeNodeNS (a); + } + + // entry + // + for (SidebarsByValType::EntryConstIterator + b (i.getEntry ().begin ()), n (i.getEntry ().end ()); + b != n; ++b) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "entry", + "urn:ietf:params:xml:ns:conference-info", + e)); + + s << *b; + } + + // state + // + { + ::xercesc::DOMAttr& a ( + ::xsd::cxx::xml::dom::create_attribute ( + "state", + e)); + + a << i.getState (); + } + } } } } @@ -9273,11 +9301,9 @@ namespace conference_info // Begin epilogue. // - #if __clang__ || __GNUC__ >= 4 #pragma GCC diagnostic pop #endif - // // End epilogue. diff --git a/src/xml/conference-info.h b/src/xml/conference-info.h index f950882c9..a8bef962a 100644 --- a/src/xml/conference-info.h +++ b/src/xml/conference-info.h @@ -48,12 +48,10 @@ // Begin prologue. // - #if __clang__ || __GNUC__ >= 4 #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wsuggest-override" #endif - // // End prologue. @@ -106,186 +104,198 @@ #include -namespace xml_schema +namespace LinphonePrivate { - // anyType and anySimpleType. - // - typedef ::xsd::cxx::tree::type Type; - typedef ::xsd::cxx::tree::simple_type< char, Type > SimpleType; - typedef ::xsd::cxx::tree::type Container; - - // 8-bit - // - typedef signed char Byte; - typedef unsigned char UnsignedByte; - - // 16-bit - // - typedef short Short; - typedef unsigned short UnsignedShort; - - // 32-bit - // - typedef int Int; - typedef unsigned int UnsignedInt; - - // 64-bit - // - typedef long long Long; - typedef unsigned long long UnsignedLong; - - // Supposed to be arbitrary-length integral types. - // - typedef long long Integer; - typedef long long NonPositiveInteger; - typedef unsigned long long NonNegativeInteger; - typedef unsigned long long PositiveInteger; - typedef long long NegativeInteger; - - // Boolean. - // - typedef bool Boolean; - - // Floating-point types. - // - typedef float Float; - typedef double Double; - typedef double Decimal; - - // String types. - // - typedef ::xsd::cxx::tree::string< char, SimpleType > String; - typedef ::xsd::cxx::tree::normalized_string< char, String > NormalizedString; - typedef ::xsd::cxx::tree::token< char, NormalizedString > Token; - typedef ::xsd::cxx::tree::name< char, Token > Name; - typedef ::xsd::cxx::tree::nmtoken< char, Token > Nmtoken; - typedef ::xsd::cxx::tree::nmtokens< char, SimpleType, Nmtoken > Nmtokens; - typedef ::xsd::cxx::tree::ncname< char, Name > Ncname; - typedef ::xsd::cxx::tree::language< char, Token > Language; - - // ID/IDREF. - // - typedef ::xsd::cxx::tree::id< char, Ncname > Id; - typedef ::xsd::cxx::tree::idref< char, Ncname, Type > Idref; - typedef ::xsd::cxx::tree::idrefs< char, SimpleType, Idref > Idrefs; - - // URI. - // - typedef ::xsd::cxx::tree::uri< char, SimpleType > Uri; - - // Qualified name. - // - typedef ::xsd::cxx::tree::qname< char, SimpleType, Uri, Ncname > Qname; - - // Binary. - // - typedef ::xsd::cxx::tree::buffer< char > Buffer; - typedef ::xsd::cxx::tree::base64_binary< char, SimpleType > Base64Binary; - typedef ::xsd::cxx::tree::hex_binary< char, SimpleType > HexBinary; - - // Date/time. - // - typedef ::xsd::cxx::tree::time_zone TimeZone; - typedef ::xsd::cxx::tree::date< char, SimpleType > Date; - typedef ::xsd::cxx::tree::date_time< char, SimpleType > DateTime; - typedef ::xsd::cxx::tree::duration< char, SimpleType > Duration; - typedef ::xsd::cxx::tree::gday< char, SimpleType > Gday; - typedef ::xsd::cxx::tree::gmonth< char, SimpleType > Gmonth; - typedef ::xsd::cxx::tree::gmonth_day< char, SimpleType > GmonthDay; - typedef ::xsd::cxx::tree::gyear< char, SimpleType > Gyear; - typedef ::xsd::cxx::tree::gyear_month< char, SimpleType > GyearMonth; - typedef ::xsd::cxx::tree::time< char, SimpleType > Time; - - // Entity. - // - typedef ::xsd::cxx::tree::entity< char, Ncname > Entity; - typedef ::xsd::cxx::tree::entities< char, SimpleType, Entity > Entities; - - typedef ::xsd::cxx::tree::content_order ContentOrder; - // Namespace information and list stream. Used in - // serialization functions. - // - typedef ::xsd::cxx::xml::dom::namespace_info< char > NamespaceInfo; - typedef ::xsd::cxx::xml::dom::namespace_infomap< char > NamespaceInfomap; - typedef ::xsd::cxx::tree::list_stream< char > ListStream; - typedef ::xsd::cxx::tree::as_double< Double > AsDouble; - typedef ::xsd::cxx::tree::as_decimal< Decimal > AsDecimal; - typedef ::xsd::cxx::tree::facet Facet; - - // Flags and properties. - // - typedef ::xsd::cxx::tree::flags Flags; - typedef ::xsd::cxx::tree::properties< char > Properties; - - // Parsing/serialization diagnostics. - // - typedef ::xsd::cxx::tree::severity Severity; - typedef ::xsd::cxx::tree::error< char > Error; - typedef ::xsd::cxx::tree::diagnostics< char > Diagnostics; - - // Exceptions. - // - typedef ::xsd::cxx::tree::exception< char > Exception; - typedef ::xsd::cxx::tree::bounds< char > Bounds; - typedef ::xsd::cxx::tree::duplicate_id< char > DuplicateId; - typedef ::xsd::cxx::tree::parsing< char > Parsing; - typedef ::xsd::cxx::tree::expected_element< char > ExpectedElement; - typedef ::xsd::cxx::tree::unexpected_element< char > UnexpectedElement; - typedef ::xsd::cxx::tree::expected_attribute< char > ExpectedAttribute; - typedef ::xsd::cxx::tree::unexpected_enumerator< char > UnexpectedEnumerator; - typedef ::xsd::cxx::tree::expected_text_content< char > ExpectedTextContent; - typedef ::xsd::cxx::tree::no_prefix_mapping< char > NoPrefixMapping; - typedef ::xsd::cxx::tree::serialization< char > Serialization; - - // Error handler callback interface. - // - typedef ::xsd::cxx::xml::error_handler< char > ErrorHandler; - - // DOM interaction. - // - namespace dom + namespace Xsd { - // Automatic pointer for DOMDocument. - // - using ::xsd::cxx::xml::dom::unique_ptr; + namespace XmlSchema + { + // anyType and anySimpleType. + // + typedef ::xsd::cxx::tree::type Type; + typedef ::xsd::cxx::tree::simple_type< char, Type > SimpleType; + typedef ::xsd::cxx::tree::type Container; -#ifndef XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA -#define XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA - // DOM user data key for back pointers to tree nodes. - // - const XMLCh* const treeNodeKey = ::xsd::cxx::tree::user_data_keys::node; + // 8-bit + // + typedef signed char Byte; + typedef unsigned char UnsignedByte; + + // 16-bit + // + typedef short Short; + typedef unsigned short UnsignedShort; + + // 32-bit + // + typedef int Int; + typedef unsigned int UnsignedInt; + + // 64-bit + // + typedef long long Long; + typedef unsigned long long UnsignedLong; + + // Supposed to be arbitrary-length integral types. + // + typedef long long Integer; + typedef long long NonPositiveInteger; + typedef unsigned long long NonNegativeInteger; + typedef unsigned long long PositiveInteger; + typedef long long NegativeInteger; + + // Boolean. + // + typedef bool Boolean; + + // Floating-point types. + // + typedef float Float; + typedef double Double; + typedef double Decimal; + + // String types. + // + typedef ::xsd::cxx::tree::string< char, SimpleType > String; + typedef ::xsd::cxx::tree::normalized_string< char, String > NormalizedString; + typedef ::xsd::cxx::tree::token< char, NormalizedString > Token; + typedef ::xsd::cxx::tree::name< char, Token > Name; + typedef ::xsd::cxx::tree::nmtoken< char, Token > Nmtoken; + typedef ::xsd::cxx::tree::nmtokens< char, SimpleType, Nmtoken > Nmtokens; + typedef ::xsd::cxx::tree::ncname< char, Name > Ncname; + typedef ::xsd::cxx::tree::language< char, Token > Language; + + // ID/IDREF. + // + typedef ::xsd::cxx::tree::id< char, Ncname > Id; + typedef ::xsd::cxx::tree::idref< char, Ncname, Type > Idref; + typedef ::xsd::cxx::tree::idrefs< char, SimpleType, Idref > Idrefs; + + // URI. + // + typedef ::xsd::cxx::tree::uri< char, SimpleType > Uri; + + // Qualified name. + // + typedef ::xsd::cxx::tree::qname< char, SimpleType, Uri, Ncname > Qname; + + // Binary. + // + typedef ::xsd::cxx::tree::buffer< char > Buffer; + typedef ::xsd::cxx::tree::base64_binary< char, SimpleType > Base64Binary; + typedef ::xsd::cxx::tree::hex_binary< char, SimpleType > HexBinary; + + // Date/time. + // + typedef ::xsd::cxx::tree::time_zone TimeZone; + typedef ::xsd::cxx::tree::date< char, SimpleType > Date; + typedef ::xsd::cxx::tree::date_time< char, SimpleType > DateTime; + typedef ::xsd::cxx::tree::duration< char, SimpleType > Duration; + typedef ::xsd::cxx::tree::gday< char, SimpleType > Gday; + typedef ::xsd::cxx::tree::gmonth< char, SimpleType > Gmonth; + typedef ::xsd::cxx::tree::gmonth_day< char, SimpleType > GmonthDay; + typedef ::xsd::cxx::tree::gyear< char, SimpleType > Gyear; + typedef ::xsd::cxx::tree::gyear_month< char, SimpleType > GyearMonth; + typedef ::xsd::cxx::tree::time< char, SimpleType > Time; + + // Entity. + // + typedef ::xsd::cxx::tree::entity< char, Ncname > Entity; + typedef ::xsd::cxx::tree::entities< char, SimpleType, Entity > Entities; + + typedef ::xsd::cxx::tree::content_order ContentOrder; + // Namespace information and list stream. Used in + // serialization functions. + // + typedef ::xsd::cxx::xml::dom::namespace_info< char > NamespaceInfo; + typedef ::xsd::cxx::xml::dom::namespace_infomap< char > NamespaceInfomap; + typedef ::xsd::cxx::tree::list_stream< char > ListStream; + typedef ::xsd::cxx::tree::as_double< Double > AsDouble; + typedef ::xsd::cxx::tree::as_decimal< Decimal > AsDecimal; + typedef ::xsd::cxx::tree::facet Facet; + + // Flags and properties. + // + typedef ::xsd::cxx::tree::flags Flags; + typedef ::xsd::cxx::tree::properties< char > Properties; + + // Parsing/serialization diagnostics. + // + typedef ::xsd::cxx::tree::severity Severity; + typedef ::xsd::cxx::tree::error< char > Error; + typedef ::xsd::cxx::tree::diagnostics< char > Diagnostics; + + // Exceptions. + // + typedef ::xsd::cxx::tree::exception< char > Exception; + typedef ::xsd::cxx::tree::bounds< char > Bounds; + typedef ::xsd::cxx::tree::duplicate_id< char > DuplicateId; + typedef ::xsd::cxx::tree::parsing< char > Parsing; + typedef ::xsd::cxx::tree::expected_element< char > ExpectedElement; + typedef ::xsd::cxx::tree::unexpected_element< char > UnexpectedElement; + typedef ::xsd::cxx::tree::expected_attribute< char > ExpectedAttribute; + typedef ::xsd::cxx::tree::unexpected_enumerator< char > UnexpectedEnumerator; + typedef ::xsd::cxx::tree::expected_text_content< char > ExpectedTextContent; + typedef ::xsd::cxx::tree::no_prefix_mapping< char > NoPrefixMapping; + typedef ::xsd::cxx::tree::serialization< char > Serialization; + + // Error handler callback interface. + // + typedef ::xsd::cxx::xml::error_handler< char > ErrorHandler; + + // DOM interaction. + // + namespace dom + { + // Automatic pointer for DOMDocument. + // + using ::xsd::cxx::xml::dom::unique_ptr; + +#ifndef XSD_CXX_TREE_TREE_NODE_KEY__LINPHONEPRIVATE__XSD__XMLSCHEMA +#define XSD_CXX_TREE_TREE_NODE_KEY__LINPHONEPRIVATE__XSD__XMLSCHEMA + // DOM user data key for back pointers to tree nodes. + // + const XMLCh* const treeNodeKey = ::xsd::cxx::tree::user_data_keys::node; #endif + } + } } } // Forward declarations. // -namespace conference_info +namespace LinphonePrivate { - class Conference_type; - class State_type; - class Conference_description_type; - class Host_type; - class Conference_state_type; - class Conference_media_type; - class Conference_medium_type; - class Uris_type; - class Uri_type; - class Keywords_type; - class Users_type; - class User_type; - class User_roles_type; - class User_languages_type; - class Endpoint_type; - class Endpoint_status_type; - class Joining_type; - class Disconnection_type; - class Execution_type; - class Call_type; - class Sip_dialog_id_type; - class Media_type; - class Media_status_type; - class Sidebars_by_val_type; + namespace Xsd + { + namespace ConferenceInfo + { + class ConferenceType; + class StateType; + class ConferenceDescriptionType; + class HostType; + class ConferenceStateType; + class ConferenceMediaType; + class ConferenceMediumType; + class UrisType; + class UriType; + class KeywordsType; + class UsersType; + class UserType; + class UserRolesType; + class UserLanguagesType; + class EndpointType; + class EndpointStatusType; + class JoiningType; + class DisconnectionType; + class ExecutionType; + class CallType; + class SipDialogIdType; + class MediaType; + class MediaStatusType; + class SidebarsByValType; + } + } } @@ -307,3253 +317,3265 @@ namespace conference_info #include "xml.h" -namespace conference_info +namespace LinphonePrivate { - class Conference_type: public ::xml_schema::Type + namespace Xsd { - public: - // conference-description - // - typedef ::conference_info::Conference_description_type Conference_descriptionType; - typedef ::xsd::cxx::tree::optional< Conference_descriptionType > Conference_descriptionOptional; - typedef ::xsd::cxx::tree::traits< Conference_descriptionType, char > Conference_descriptionTraits; - - const Conference_descriptionOptional& - getConference_description () const; - - Conference_descriptionOptional& - getConference_description (); - - void - setConference_description (const Conference_descriptionType& x); - - void - setConference_description (const Conference_descriptionOptional& x); - - void - setConference_description (::std::unique_ptr< Conference_descriptionType > p); - - // host-info - // - typedef ::conference_info::Host_type Host_infoType; - typedef ::xsd::cxx::tree::optional< Host_infoType > Host_infoOptional; - typedef ::xsd::cxx::tree::traits< Host_infoType, char > Host_infoTraits; - - const Host_infoOptional& - getHost_info () const; - - Host_infoOptional& - getHost_info (); - - void - setHost_info (const Host_infoType& x); - - void - setHost_info (const Host_infoOptional& x); - - void - setHost_info (::std::unique_ptr< Host_infoType > p); - - // conference-state - // - typedef ::conference_info::Conference_state_type Conference_stateType; - typedef ::xsd::cxx::tree::optional< Conference_stateType > Conference_stateOptional; - typedef ::xsd::cxx::tree::traits< Conference_stateType, char > Conference_stateTraits; - - const Conference_stateOptional& - getConference_state () const; - - Conference_stateOptional& - getConference_state (); - - void - setConference_state (const Conference_stateType& x); - - void - setConference_state (const Conference_stateOptional& x); - - void - setConference_state (::std::unique_ptr< Conference_stateType > p); - - // users - // - typedef ::conference_info::Users_type UsersType; - typedef ::xsd::cxx::tree::optional< UsersType > UsersOptional; - typedef ::xsd::cxx::tree::traits< UsersType, char > UsersTraits; - - const UsersOptional& - getUsers () const; - - UsersOptional& - getUsers (); - - void - setUsers (const UsersType& x); - - void - setUsers (const UsersOptional& x); - - void - setUsers (::std::unique_ptr< UsersType > p); - - // sidebars-by-ref - // - typedef ::conference_info::Uris_type Sidebars_by_refType; - typedef ::xsd::cxx::tree::optional< Sidebars_by_refType > Sidebars_by_refOptional; - typedef ::xsd::cxx::tree::traits< Sidebars_by_refType, char > Sidebars_by_refTraits; - - const Sidebars_by_refOptional& - getSidebars_by_ref () const; - - Sidebars_by_refOptional& - getSidebars_by_ref (); - - void - setSidebars_by_ref (const Sidebars_by_refType& x); - - void - setSidebars_by_ref (const Sidebars_by_refOptional& x); - - void - setSidebars_by_ref (::std::unique_ptr< Sidebars_by_refType > p); - - // sidebars-by-val - // - typedef ::conference_info::Sidebars_by_val_type Sidebars_by_valType; - typedef ::xsd::cxx::tree::optional< Sidebars_by_valType > Sidebars_by_valOptional; - typedef ::xsd::cxx::tree::traits< Sidebars_by_valType, char > Sidebars_by_valTraits; - - const Sidebars_by_valOptional& - getSidebars_by_val () const; - - Sidebars_by_valOptional& - getSidebars_by_val (); - - void - setSidebars_by_val (const Sidebars_by_valType& x); - - void - setSidebars_by_val (const Sidebars_by_valOptional& x); - - void - setSidebars_by_val (::std::unique_ptr< Sidebars_by_valType > p); - - // any - // - typedef ::xsd::cxx::tree::element_sequence AnySequence; - typedef AnySequence::iterator AnyIterator; - typedef AnySequence::const_iterator AnyConstIterator; - - const AnySequence& - getAny () const; - - AnySequence& - getAny (); - - void - setAny (const AnySequence& s); - - // entity - // - typedef ::xml_schema::Uri EntityType; - typedef ::xsd::cxx::tree::traits< EntityType, char > EntityTraits; - - const EntityType& - getEntity () const; - - EntityType& - getEntity (); - - void - setEntity (const EntityType& x); - - void - setEntity (::std::unique_ptr< EntityType > p); - - ::std::unique_ptr< EntityType > - detachEntity (); - - // state - // - typedef ::conference_info::State_type StateType; - typedef ::xsd::cxx::tree::traits< StateType, char > StateTraits; - - const StateType& - getState () const; - - StateType& - getState (); - - void - setState (const StateType& x); - - void - setState (::std::unique_ptr< StateType > p); - - ::std::unique_ptr< StateType > - detachState (); - - static const StateType& - getStateDefaultValue (); - - // version - // - typedef ::xml_schema::UnsignedInt VersionType; - typedef ::xsd::cxx::tree::optional< VersionType > VersionOptional; - typedef ::xsd::cxx::tree::traits< VersionType, char > VersionTraits; - - const VersionOptional& - getVersion () const; - - VersionOptional& - getVersion (); - - void - setVersion (const VersionType& x); - - void - setVersion (const VersionOptional& x); - - // any_attribute - // - typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; - typedef AnyAttributeSet::iterator AnyAttributeIterator; - typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; - - const AnyAttributeSet& - getAnyAttribute () const; - - AnyAttributeSet& - getAnyAttribute (); - - void - setAnyAttribute (const AnyAttributeSet& s); - - // DOMDocument for wildcard content. - // - const ::xercesc::DOMDocument& - getDomDocument () const; - - ::xercesc::DOMDocument& - getDomDocument (); - - // Constructors. - // - Conference_type (const EntityType&); - - Conference_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Conference_type (const Conference_type& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - virtual Conference_type* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; - - Conference_type& - operator= (const Conference_type& x); - - virtual - ~Conference_type (); - - // Implementation. - // - protected: - void - parse (::xsd::cxx::xml::dom::parser< char >&, - ::xml_schema::Flags); - - protected: - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; - - Conference_descriptionOptional conference_description_; - Host_infoOptional host_info_; - Conference_stateOptional conference_state_; - UsersOptional users_; - Sidebars_by_refOptional sidebars_by_ref_; - Sidebars_by_valOptional sidebars_by_val_; - AnySequence any_; - ::xsd::cxx::tree::one< EntityType > entity_; - ::xsd::cxx::tree::one< StateType > state_; - static const StateType state_default_value_; - VersionOptional version_; - AnyAttributeSet any_attribute_; - }; - - class State_type: public ::xml_schema::String - { - public: - enum Value + namespace ConferenceInfo { - full, - partial, - deleted - }; + class ConferenceType: public ::LinphonePrivate::Xsd::XmlSchema::Type + { + public: + // conference-description + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceDescriptionType ConferenceDescriptionType; + typedef ::xsd::cxx::tree::optional< ConferenceDescriptionType > ConferenceDescriptionOptional; + typedef ::xsd::cxx::tree::traits< ConferenceDescriptionType, char > ConferenceDescriptionTraits; - State_type (Value v); + const ConferenceDescriptionOptional& + getConferenceDescription () const; - State_type (const char* v); + ConferenceDescriptionOptional& + getConferenceDescription (); - State_type (const ::std::string& v); + void + setConferenceDescription (const ConferenceDescriptionType& x); - State_type (const ::xml_schema::String& v); + void + setConferenceDescription (const ConferenceDescriptionOptional& x); - State_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + void + setConferenceDescription (::std::unique_ptr< ConferenceDescriptionType > p); - State_type (const ::xercesc::DOMAttr& a, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + // host-info + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::HostType HostInfoType; + typedef ::xsd::cxx::tree::optional< HostInfoType > HostInfoOptional; + typedef ::xsd::cxx::tree::traits< HostInfoType, char > HostInfoTraits; - State_type (const ::std::string& s, - const ::xercesc::DOMElement* e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + const HostInfoOptional& + getHostInfo () const; - State_type (const State_type& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + HostInfoOptional& + getHostInfo (); - virtual State_type* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; + void + setHostInfo (const HostInfoType& x); - State_type& - operator= (Value v); + void + setHostInfo (const HostInfoOptional& x); - virtual - operator Value () const - { - return _xsd_State_type_convert (); - } + void + setHostInfo (::std::unique_ptr< HostInfoType > p); - protected: - Value - _xsd_State_type_convert () const; + // conference-state + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceStateType ConferenceStateType; + typedef ::xsd::cxx::tree::optional< ConferenceStateType > ConferenceStateOptional; + typedef ::xsd::cxx::tree::traits< ConferenceStateType, char > ConferenceStateTraits; - public: - static const char* const _xsd_State_type_literals_[3]; - static const Value _xsd_State_type_indexes_[3]; - }; + const ConferenceStateOptional& + getConferenceState () const; - class Conference_description_type: public ::xml_schema::Type - { - public: - // display-text - // - typedef ::xml_schema::String Display_textType; - typedef ::xsd::cxx::tree::optional< Display_textType > Display_textOptional; - typedef ::xsd::cxx::tree::traits< Display_textType, char > Display_textTraits; + ConferenceStateOptional& + getConferenceState (); - const Display_textOptional& - getDisplay_text () const; + void + setConferenceState (const ConferenceStateType& x); - Display_textOptional& - getDisplay_text (); + void + setConferenceState (const ConferenceStateOptional& x); - void - setDisplay_text (const Display_textType& x); + void + setConferenceState (::std::unique_ptr< ConferenceStateType > p); - void - setDisplay_text (const Display_textOptional& x); + // users + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::UsersType UsersType; + typedef ::xsd::cxx::tree::optional< UsersType > UsersOptional; + typedef ::xsd::cxx::tree::traits< UsersType, char > UsersTraits; - void - setDisplay_text (::std::unique_ptr< Display_textType > p); + const UsersOptional& + getUsers () const; - // subject - // - typedef ::xml_schema::String SubjectType; - typedef ::xsd::cxx::tree::optional< SubjectType > SubjectOptional; - typedef ::xsd::cxx::tree::traits< SubjectType, char > SubjectTraits; + UsersOptional& + getUsers (); - const SubjectOptional& - getSubject () const; + void + setUsers (const UsersType& x); - SubjectOptional& - getSubject (); + void + setUsers (const UsersOptional& x); - void - setSubject (const SubjectType& x); + void + setUsers (::std::unique_ptr< UsersType > p); - void - setSubject (const SubjectOptional& x); + // sidebars-by-ref + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::UrisType SidebarsByRefType; + typedef ::xsd::cxx::tree::optional< SidebarsByRefType > SidebarsByRefOptional; + typedef ::xsd::cxx::tree::traits< SidebarsByRefType, char > SidebarsByRefTraits; - void - setSubject (::std::unique_ptr< SubjectType > p); + const SidebarsByRefOptional& + getSidebarsByRef () const; - // free-text - // - typedef ::xml_schema::String Free_textType; - typedef ::xsd::cxx::tree::optional< Free_textType > Free_textOptional; - typedef ::xsd::cxx::tree::traits< Free_textType, char > Free_textTraits; + SidebarsByRefOptional& + getSidebarsByRef (); - const Free_textOptional& - getFree_text () const; + void + setSidebarsByRef (const SidebarsByRefType& x); - Free_textOptional& - getFree_text (); + void + setSidebarsByRef (const SidebarsByRefOptional& x); - void - setFree_text (const Free_textType& x); + void + setSidebarsByRef (::std::unique_ptr< SidebarsByRefType > p); - void - setFree_text (const Free_textOptional& x); + // sidebars-by-val + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::SidebarsByValType SidebarsByValType; + typedef ::xsd::cxx::tree::optional< SidebarsByValType > SidebarsByValOptional; + typedef ::xsd::cxx::tree::traits< SidebarsByValType, char > SidebarsByValTraits; - void - setFree_text (::std::unique_ptr< Free_textType > p); + const SidebarsByValOptional& + getSidebarsByVal () const; - // keywords - // - typedef ::conference_info::Keywords_type KeywordsType; - typedef ::xsd::cxx::tree::optional< KeywordsType > KeywordsOptional; - typedef ::xsd::cxx::tree::traits< KeywordsType, char > KeywordsTraits; + SidebarsByValOptional& + getSidebarsByVal (); - const KeywordsOptional& - getKeywords () const; + void + setSidebarsByVal (const SidebarsByValType& x); - KeywordsOptional& - getKeywords (); + void + setSidebarsByVal (const SidebarsByValOptional& x); - void - setKeywords (const KeywordsType& x); + void + setSidebarsByVal (::std::unique_ptr< SidebarsByValType > p); - void - setKeywords (const KeywordsOptional& x); + // any + // + typedef ::xsd::cxx::tree::element_sequence AnySequence; + typedef AnySequence::iterator AnyIterator; + typedef AnySequence::const_iterator AnyConstIterator; - void - setKeywords (::std::unique_ptr< KeywordsType > p); + const AnySequence& + getAny () const; - // conf-uris - // - typedef ::conference_info::Uris_type Conf_urisType; - typedef ::xsd::cxx::tree::optional< Conf_urisType > Conf_urisOptional; - typedef ::xsd::cxx::tree::traits< Conf_urisType, char > Conf_urisTraits; + AnySequence& + getAny (); - const Conf_urisOptional& - getConf_uris () const; + void + setAny (const AnySequence& s); - Conf_urisOptional& - getConf_uris (); + // entity + // + typedef ::LinphonePrivate::Xsd::XmlSchema::Uri EntityType; + typedef ::xsd::cxx::tree::traits< EntityType, char > EntityTraits; - void - setConf_uris (const Conf_urisType& x); + const EntityType& + getEntity () const; - void - setConf_uris (const Conf_urisOptional& x); + EntityType& + getEntity (); - void - setConf_uris (::std::unique_ptr< Conf_urisType > p); + void + setEntity (const EntityType& x); - // service-uris - // - typedef ::conference_info::Uris_type Service_urisType; - typedef ::xsd::cxx::tree::optional< Service_urisType > Service_urisOptional; - typedef ::xsd::cxx::tree::traits< Service_urisType, char > Service_urisTraits; + void + setEntity (::std::unique_ptr< EntityType > p); - const Service_urisOptional& - getService_uris () const; + ::std::unique_ptr< EntityType > + setDetachEntity (); - Service_urisOptional& - getService_uris (); + // state + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::StateType StateType; + typedef ::xsd::cxx::tree::traits< StateType, char > StateTraits; - void - setService_uris (const Service_urisType& x); + const StateType& + getState () const; - void - setService_uris (const Service_urisOptional& x); + StateType& + getState (); - void - setService_uris (::std::unique_ptr< Service_urisType > p); + void + setState (const StateType& x); - // maximum-user-count - // - typedef ::xml_schema::UnsignedInt Maximum_user_countType; - typedef ::xsd::cxx::tree::optional< Maximum_user_countType > Maximum_user_countOptional; - typedef ::xsd::cxx::tree::traits< Maximum_user_countType, char > Maximum_user_countTraits; + void + setState (::std::unique_ptr< StateType > p); - const Maximum_user_countOptional& - getMaximum_user_count () const; + ::std::unique_ptr< StateType > + setDetachState (); - Maximum_user_countOptional& - getMaximum_user_count (); + static const StateType& + getStateDefaultValue (); - void - setMaximum_user_count (const Maximum_user_countType& x); + // version + // + typedef ::LinphonePrivate::Xsd::XmlSchema::UnsignedInt VersionType; + typedef ::xsd::cxx::tree::optional< VersionType > VersionOptional; + typedef ::xsd::cxx::tree::traits< VersionType, char > VersionTraits; - void - setMaximum_user_count (const Maximum_user_countOptional& x); + const VersionOptional& + getVersion () const; - // available-media - // - typedef ::conference_info::Conference_media_type Available_mediaType; - typedef ::xsd::cxx::tree::optional< Available_mediaType > Available_mediaOptional; - typedef ::xsd::cxx::tree::traits< Available_mediaType, char > Available_mediaTraits; + VersionOptional& + getVersion (); - const Available_mediaOptional& - getAvailable_media () const; + void + setVersion (const VersionType& x); - Available_mediaOptional& - getAvailable_media (); + void + setVersion (const VersionOptional& x); - void - setAvailable_media (const Available_mediaType& x); + // any_attribute + // + typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; + typedef AnyAttributeSet::iterator AnyAttributeIterator; + typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; - void - setAvailable_media (const Available_mediaOptional& x); + const AnyAttributeSet& + getAnyAttribute () const; - void - setAvailable_media (::std::unique_ptr< Available_mediaType > p); + AnyAttributeSet& + getAnyAttribute (); - // any - // - typedef ::xsd::cxx::tree::element_sequence AnySequence; - typedef AnySequence::iterator AnyIterator; - typedef AnySequence::const_iterator AnyConstIterator; + void + setAnyAttribute (const AnyAttributeSet& s); - const AnySequence& - getAny () const; + // DOMDocument for wildcard content. + // + const ::xercesc::DOMDocument& + getDomDocument () const; - AnySequence& - getAny (); + ::xercesc::DOMDocument& + getDomDocument (); - void - setAny (const AnySequence& s); + // Constructors. + // + ConferenceType (const EntityType&); - // any_attribute - // - typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; - typedef AnyAttributeSet::iterator AnyAttributeIterator; - typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; + ConferenceType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); - const AnyAttributeSet& - getAnyAttribute () const; + ConferenceType (const ConferenceType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); - AnyAttributeSet& - getAnyAttribute (); + virtual ConferenceType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; - void - setAnyAttribute (const AnyAttributeSet& s); + ConferenceType& + operator= (const ConferenceType& x); - // DOMDocument for wildcard content. - // - const ::xercesc::DOMDocument& - getDomDocument () const; + virtual + ~ConferenceType (); - ::xercesc::DOMDocument& - getDomDocument (); + // Implementation. + // + protected: + void + parse (::xsd::cxx::xml::dom::parser< char >&, + ::LinphonePrivate::Xsd::XmlSchema::Flags); - // Constructors. - // - Conference_description_type (); + protected: + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; - Conference_description_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + ConferenceDescriptionOptional conference_description_; + HostInfoOptional host_info_; + ConferenceStateOptional conference_state_; + UsersOptional users_; + SidebarsByRefOptional sidebars_by_ref_; + SidebarsByValOptional sidebars_by_val_; + AnySequence any_; + ::xsd::cxx::tree::one< EntityType > entity_; + ::xsd::cxx::tree::one< StateType > state_; + static const StateType state_default_value_; + VersionOptional version_; + AnyAttributeSet any_attribute_; + }; - Conference_description_type (const Conference_description_type& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + class StateType: public ::LinphonePrivate::Xsd::XmlSchema::String + { + public: + enum Value + { + full, + partial, + deleted + }; - virtual Conference_description_type* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; + StateType (Value v); + + StateType (const char* v); + + StateType (const ::std::string& v); + + StateType (const ::LinphonePrivate::Xsd::XmlSchema::String& v); - Conference_description_type& - operator= (const Conference_description_type& x); + StateType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); - virtual - ~Conference_description_type (); - - // Implementation. - // - protected: - void - parse (::xsd::cxx::xml::dom::parser< char >&, - ::xml_schema::Flags); - - protected: - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; - - Display_textOptional display_text_; - SubjectOptional subject_; - Free_textOptional free_text_; - KeywordsOptional keywords_; - Conf_urisOptional conf_uris_; - Service_urisOptional service_uris_; - Maximum_user_countOptional maximum_user_count_; - Available_mediaOptional available_media_; - AnySequence any_; - AnyAttributeSet any_attribute_; - }; - - class Host_type: public ::xml_schema::Type - { - public: - // display-text - // - typedef ::xml_schema::String Display_textType; - typedef ::xsd::cxx::tree::optional< Display_textType > Display_textOptional; - typedef ::xsd::cxx::tree::traits< Display_textType, char > Display_textTraits; - - const Display_textOptional& - getDisplay_text () const; - - Display_textOptional& - getDisplay_text (); - - void - setDisplay_text (const Display_textType& x); - - void - setDisplay_text (const Display_textOptional& x); - - void - setDisplay_text (::std::unique_ptr< Display_textType > p); - - // web-page - // - typedef ::xml_schema::Uri Web_pageType; - typedef ::xsd::cxx::tree::optional< Web_pageType > Web_pageOptional; - typedef ::xsd::cxx::tree::traits< Web_pageType, char > Web_pageTraits; - - const Web_pageOptional& - getWeb_page () const; - - Web_pageOptional& - getWeb_page (); - - void - setWeb_page (const Web_pageType& x); - - void - setWeb_page (const Web_pageOptional& x); - - void - setWeb_page (::std::unique_ptr< Web_pageType > p); - - // uris - // - typedef ::conference_info::Uris_type UrisType; - typedef ::xsd::cxx::tree::optional< UrisType > UrisOptional; - typedef ::xsd::cxx::tree::traits< UrisType, char > UrisTraits; - - const UrisOptional& - getUris () const; - - UrisOptional& - getUris (); - - void - setUris (const UrisType& x); - - void - setUris (const UrisOptional& x); - - void - setUris (::std::unique_ptr< UrisType > p); - - // any - // - typedef ::xsd::cxx::tree::element_sequence AnySequence; - typedef AnySequence::iterator AnyIterator; - typedef AnySequence::const_iterator AnyConstIterator; - - const AnySequence& - getAny () const; - - AnySequence& - getAny (); - - void - setAny (const AnySequence& s); - - // any_attribute - // - typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; - typedef AnyAttributeSet::iterator AnyAttributeIterator; - typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; - - const AnyAttributeSet& - getAnyAttribute () const; - - AnyAttributeSet& - getAnyAttribute (); - - void - setAnyAttribute (const AnyAttributeSet& s); - - // DOMDocument for wildcard content. - // - const ::xercesc::DOMDocument& - getDomDocument () const; - - ::xercesc::DOMDocument& - getDomDocument (); - - // Constructors. - // - Host_type (); - - Host_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Host_type (const Host_type& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - virtual Host_type* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; - - Host_type& - operator= (const Host_type& x); - - virtual - ~Host_type (); - - // Implementation. - // - protected: - void - parse (::xsd::cxx::xml::dom::parser< char >&, - ::xml_schema::Flags); - - protected: - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; - - Display_textOptional display_text_; - Web_pageOptional web_page_; - UrisOptional uris_; - AnySequence any_; - AnyAttributeSet any_attribute_; - }; - - class Conference_state_type: public ::xml_schema::Type - { - public: - // user-count - // - typedef ::xml_schema::UnsignedInt User_countType; - typedef ::xsd::cxx::tree::optional< User_countType > User_countOptional; - typedef ::xsd::cxx::tree::traits< User_countType, char > User_countTraits; - - const User_countOptional& - getUser_count () const; - - User_countOptional& - getUser_count (); - - void - setUser_count (const User_countType& x); - - void - setUser_count (const User_countOptional& x); - - // active - // - typedef ::xml_schema::Boolean ActiveType; - typedef ::xsd::cxx::tree::optional< ActiveType > ActiveOptional; - typedef ::xsd::cxx::tree::traits< ActiveType, char > ActiveTraits; - - const ActiveOptional& - getActive () const; - - ActiveOptional& - getActive (); - - void - setActive (const ActiveType& x); - - void - setActive (const ActiveOptional& x); - - // locked - // - typedef ::xml_schema::Boolean LockedType; - typedef ::xsd::cxx::tree::optional< LockedType > LockedOptional; - typedef ::xsd::cxx::tree::traits< LockedType, char > LockedTraits; - - const LockedOptional& - getLocked () const; - - LockedOptional& - getLocked (); - - void - setLocked (const LockedType& x); - - void - setLocked (const LockedOptional& x); - - // any - // - typedef ::xsd::cxx::tree::element_sequence AnySequence; - typedef AnySequence::iterator AnyIterator; - typedef AnySequence::const_iterator AnyConstIterator; - - const AnySequence& - getAny () const; - - AnySequence& - getAny (); - - void - setAny (const AnySequence& s); - - // any_attribute - // - typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; - typedef AnyAttributeSet::iterator AnyAttributeIterator; - typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; - - const AnyAttributeSet& - getAnyAttribute () const; - - AnyAttributeSet& - getAnyAttribute (); - - void - setAnyAttribute (const AnyAttributeSet& s); - - // DOMDocument for wildcard content. - // - const ::xercesc::DOMDocument& - getDomDocument () const; - - ::xercesc::DOMDocument& - getDomDocument (); - - // Constructors. - // - Conference_state_type (); - - Conference_state_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Conference_state_type (const Conference_state_type& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - virtual Conference_state_type* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; - - Conference_state_type& - operator= (const Conference_state_type& x); - - virtual - ~Conference_state_type (); - - // Implementation. - // - protected: - void - parse (::xsd::cxx::xml::dom::parser< char >&, - ::xml_schema::Flags); - - protected: - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; - - User_countOptional user_count_; - ActiveOptional active_; - LockedOptional locked_; - AnySequence any_; - AnyAttributeSet any_attribute_; - }; - - class Conference_media_type: public ::xml_schema::Type - { - public: - // entry - // - typedef ::conference_info::Conference_medium_type EntryType; - typedef ::xsd::cxx::tree::sequence< EntryType > EntrySequence; - typedef EntrySequence::iterator EntryIterator; - typedef EntrySequence::const_iterator EntryConstIterator; - typedef ::xsd::cxx::tree::traits< EntryType, char > EntryTraits; - - const EntrySequence& - getEntry () const; - - EntrySequence& - getEntry (); - - void - setEntry (const EntrySequence& s); - - // any_attribute - // - typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; - typedef AnyAttributeSet::iterator AnyAttributeIterator; - typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; - - const AnyAttributeSet& - getAnyAttribute () const; - - AnyAttributeSet& - getAnyAttribute (); - - void - setAnyAttribute (const AnyAttributeSet& s); - - // DOMDocument for wildcard content. - // - const ::xercesc::DOMDocument& - getDomDocument () const; - - ::xercesc::DOMDocument& - getDomDocument (); - - // Constructors. - // - Conference_media_type (); - - Conference_media_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Conference_media_type (const Conference_media_type& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - virtual Conference_media_type* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; - - Conference_media_type& - operator= (const Conference_media_type& x); - - virtual - ~Conference_media_type (); - - // Implementation. - // - protected: - void - parse (::xsd::cxx::xml::dom::parser< char >&, - ::xml_schema::Flags); - - protected: - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; - - EntrySequence entry_; - AnyAttributeSet any_attribute_; - }; - - class Conference_medium_type: public ::xml_schema::Type - { - public: - // display-text - // - typedef ::xml_schema::String Display_textType; - typedef ::xsd::cxx::tree::optional< Display_textType > Display_textOptional; - typedef ::xsd::cxx::tree::traits< Display_textType, char > Display_textTraits; - - const Display_textOptional& - getDisplay_text () const; - - Display_textOptional& - getDisplay_text (); - - void - setDisplay_text (const Display_textType& x); - - void - setDisplay_text (const Display_textOptional& x); - - void - setDisplay_text (::std::unique_ptr< Display_textType > p); - - // type - // - typedef ::xml_schema::String TypeType; - typedef ::xsd::cxx::tree::traits< TypeType, char > TypeTraits; - - const TypeType& - getType () const; - - TypeType& - getType (); - - void - setType (const TypeType& x); - - void - setType (::std::unique_ptr< TypeType > p); - - ::std::unique_ptr< TypeType > - detachType (); - - // status - // - typedef ::conference_info::Media_status_type StatusType; - typedef ::xsd::cxx::tree::optional< StatusType > StatusOptional; - typedef ::xsd::cxx::tree::traits< StatusType, char > StatusTraits; - - const StatusOptional& - getStatus () const; - - StatusOptional& - getStatus (); - - void - setStatus (const StatusType& x); - - void - setStatus (const StatusOptional& x); - - void - setStatus (::std::unique_ptr< StatusType > p); - - // any - // - typedef ::xsd::cxx::tree::element_sequence AnySequence; - typedef AnySequence::iterator AnyIterator; - typedef AnySequence::const_iterator AnyConstIterator; - - const AnySequence& - getAny () const; - - AnySequence& - getAny (); - - void - setAny (const AnySequence& s); - - // label - // - typedef ::xml_schema::String LabelType; - typedef ::xsd::cxx::tree::traits< LabelType, char > LabelTraits; - - const LabelType& - getLabel () const; - - LabelType& - getLabel (); - - void - setLabel (const LabelType& x); - - void - setLabel (::std::unique_ptr< LabelType > p); - - ::std::unique_ptr< LabelType > - detachLabel (); - - // any_attribute - // - typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; - typedef AnyAttributeSet::iterator AnyAttributeIterator; - typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; - - const AnyAttributeSet& - getAnyAttribute () const; - - AnyAttributeSet& - getAnyAttribute (); - - void - setAnyAttribute (const AnyAttributeSet& s); - - // DOMDocument for wildcard content. - // - const ::xercesc::DOMDocument& - getDomDocument () const; - - ::xercesc::DOMDocument& - getDomDocument (); - - // Constructors. - // - Conference_medium_type (const TypeType&, - const LabelType&); - - Conference_medium_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Conference_medium_type (const Conference_medium_type& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - virtual Conference_medium_type* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; - - Conference_medium_type& - operator= (const Conference_medium_type& x); - - virtual - ~Conference_medium_type (); - - // Implementation. - // - protected: - void - parse (::xsd::cxx::xml::dom::parser< char >&, - ::xml_schema::Flags); - - protected: - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; - - Display_textOptional display_text_; - ::xsd::cxx::tree::one< TypeType > type_; - StatusOptional status_; - AnySequence any_; - ::xsd::cxx::tree::one< LabelType > label_; - AnyAttributeSet any_attribute_; - }; - - class Uris_type: public ::xml_schema::Type - { - public: - // entry - // - typedef ::conference_info::Uri_type EntryType; - typedef ::xsd::cxx::tree::sequence< EntryType > EntrySequence; - typedef EntrySequence::iterator EntryIterator; - typedef EntrySequence::const_iterator EntryConstIterator; - typedef ::xsd::cxx::tree::traits< EntryType, char > EntryTraits; - - const EntrySequence& - getEntry () const; - - EntrySequence& - getEntry (); - - void - setEntry (const EntrySequence& s); - - // state - // - typedef ::conference_info::State_type StateType; - typedef ::xsd::cxx::tree::traits< StateType, char > StateTraits; - - const StateType& - getState () const; - - StateType& - getState (); - - void - setState (const StateType& x); - - void - setState (::std::unique_ptr< StateType > p); - - ::std::unique_ptr< StateType > - detachState (); - - static const StateType& - getStateDefaultValue (); - - // any_attribute - // - typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; - typedef AnyAttributeSet::iterator AnyAttributeIterator; - typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; - - const AnyAttributeSet& - getAnyAttribute () const; - - AnyAttributeSet& - getAnyAttribute (); - - void - setAnyAttribute (const AnyAttributeSet& s); - - // DOMDocument for wildcard content. - // - const ::xercesc::DOMDocument& - getDomDocument () const; - - ::xercesc::DOMDocument& - getDomDocument (); - - // Constructors. - // - Uris_type (); - - Uris_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Uris_type (const Uris_type& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - virtual Uris_type* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; - - Uris_type& - operator= (const Uris_type& x); - - virtual - ~Uris_type (); - - // Implementation. - // - protected: - void - parse (::xsd::cxx::xml::dom::parser< char >&, - ::xml_schema::Flags); - - protected: - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; - - EntrySequence entry_; - ::xsd::cxx::tree::one< StateType > state_; - static const StateType state_default_value_; - AnyAttributeSet any_attribute_; - }; - - class Uri_type: public ::xml_schema::Type - { - public: - // uri - // - typedef ::xml_schema::Uri UriType; - typedef ::xsd::cxx::tree::traits< UriType, char > UriTraits; - - const UriType& - getUri () const; - - UriType& - getUri (); - - void - setUri (const UriType& x); - - void - setUri (::std::unique_ptr< UriType > p); - - ::std::unique_ptr< UriType > - detachUri (); - - // display-text - // - typedef ::xml_schema::String Display_textType; - typedef ::xsd::cxx::tree::optional< Display_textType > Display_textOptional; - typedef ::xsd::cxx::tree::traits< Display_textType, char > Display_textTraits; - - const Display_textOptional& - getDisplay_text () const; - - Display_textOptional& - getDisplay_text (); - - void - setDisplay_text (const Display_textType& x); - - void - setDisplay_text (const Display_textOptional& x); - - void - setDisplay_text (::std::unique_ptr< Display_textType > p); - - // purpose - // - typedef ::xml_schema::String PurposeType; - typedef ::xsd::cxx::tree::optional< PurposeType > PurposeOptional; - typedef ::xsd::cxx::tree::traits< PurposeType, char > PurposeTraits; - - const PurposeOptional& - getPurpose () const; - - PurposeOptional& - getPurpose (); - - void - setPurpose (const PurposeType& x); - - void - setPurpose (const PurposeOptional& x); - - void - setPurpose (::std::unique_ptr< PurposeType > p); - - // modified - // - typedef ::conference_info::Execution_type ModifiedType; - typedef ::xsd::cxx::tree::optional< ModifiedType > ModifiedOptional; - typedef ::xsd::cxx::tree::traits< ModifiedType, char > ModifiedTraits; - - const ModifiedOptional& - getModified () const; - - ModifiedOptional& - getModified (); - - void - setModified (const ModifiedType& x); - - void - setModified (const ModifiedOptional& x); - - void - setModified (::std::unique_ptr< ModifiedType > p); - - // any - // - typedef ::xsd::cxx::tree::element_sequence AnySequence; - typedef AnySequence::iterator AnyIterator; - typedef AnySequence::const_iterator AnyConstIterator; - - const AnySequence& - getAny () const; - - AnySequence& - getAny (); - - void - setAny (const AnySequence& s); - - // any_attribute - // - typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; - typedef AnyAttributeSet::iterator AnyAttributeIterator; - typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; - - const AnyAttributeSet& - getAnyAttribute () const; - - AnyAttributeSet& - getAnyAttribute (); - - void - setAnyAttribute (const AnyAttributeSet& s); - - // DOMDocument for wildcard content. - // - const ::xercesc::DOMDocument& - getDomDocument () const; - - ::xercesc::DOMDocument& - getDomDocument (); - - // Constructors. - // - Uri_type (const UriType&); - - Uri_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Uri_type (const Uri_type& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - virtual Uri_type* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; - - Uri_type& - operator= (const Uri_type& x); - - virtual - ~Uri_type (); - - // Implementation. - // - protected: - void - parse (::xsd::cxx::xml::dom::parser< char >&, - ::xml_schema::Flags); - - protected: - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; - - ::xsd::cxx::tree::one< UriType > uri_; - Display_textOptional display_text_; - PurposeOptional purpose_; - ModifiedOptional modified_; - AnySequence any_; - AnyAttributeSet any_attribute_; - }; - - class Keywords_type: public ::xml_schema::SimpleType, - public ::xsd::cxx::tree::list< ::xml_schema::String, char > - { - public: - Keywords_type (); - - Keywords_type (size_type n, const ::xml_schema::String& x); - - template < typename I > - Keywords_type (const I& begin, const I& end) - : ::xsd::cxx::tree::list< ::xml_schema::String, char > (begin, end, this) - { - } - - Keywords_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Keywords_type (const ::xercesc::DOMAttr& a, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Keywords_type (const ::std::string& s, + StateType (const ::xercesc::DOMAttr& a, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + StateType (const ::std::string& s, const ::xercesc::DOMElement* e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); - Keywords_type (const Keywords_type& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + StateType (const StateType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); - virtual Keywords_type* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; + virtual StateType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; - virtual - ~Keywords_type (); - }; + StateType& + operator= (Value v); - class Users_type: public ::xml_schema::Type - { - public: - // user - // - typedef ::conference_info::User_type UserType; - typedef ::xsd::cxx::tree::sequence< UserType > UserSequence; - typedef UserSequence::iterator UserIterator; - typedef UserSequence::const_iterator UserConstIterator; - typedef ::xsd::cxx::tree::traits< UserType, char > UserTraits; + virtual + operator Value () const + { + return _xsd_StateType_convert (); + } - const UserSequence& - getUser () const; + protected: + Value + _xsd_StateType_convert () const; - UserSequence& - getUser (); + public: + static const char* const _xsd_StateType_literals_[3]; + static const Value _xsd_StateType_indexes_[3]; + }; - void - setUser (const UserSequence& s); + class ConferenceDescriptionType: public ::LinphonePrivate::Xsd::XmlSchema::Type + { + public: + // display-text + // + typedef ::LinphonePrivate::Xsd::XmlSchema::String DisplayTextType; + typedef ::xsd::cxx::tree::optional< DisplayTextType > DisplayTextOptional; + typedef ::xsd::cxx::tree::traits< DisplayTextType, char > DisplayTextTraits; - // any - // - typedef ::xsd::cxx::tree::element_sequence AnySequence; - typedef AnySequence::iterator AnyIterator; - typedef AnySequence::const_iterator AnyConstIterator; - - const AnySequence& - getAny () const; - - AnySequence& - getAny (); + const DisplayTextOptional& + getDisplayText () const; - void - setAny (const AnySequence& s); + DisplayTextOptional& + getDisplayText (); - // state - // - typedef ::conference_info::State_type StateType; - typedef ::xsd::cxx::tree::traits< StateType, char > StateTraits; + void + setDisplayText (const DisplayTextType& x); - const StateType& - getState () const; + void + setDisplayText (const DisplayTextOptional& x); - StateType& - getState (); + void + setDisplayText (::std::unique_ptr< DisplayTextType > p); - void - setState (const StateType& x); - - void - setState (::std::unique_ptr< StateType > p); + // subject + // + typedef ::LinphonePrivate::Xsd::XmlSchema::String SubjectType; + typedef ::xsd::cxx::tree::optional< SubjectType > SubjectOptional; + typedef ::xsd::cxx::tree::traits< SubjectType, char > SubjectTraits; - ::std::unique_ptr< StateType > - detachState (); + const SubjectOptional& + getSubject () const; - static const StateType& - getStateDefaultValue (); + SubjectOptional& + getSubject (); - // any_attribute - // - typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; - typedef AnyAttributeSet::iterator AnyAttributeIterator; - typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; + void + setSubject (const SubjectType& x); - const AnyAttributeSet& - getAnyAttribute () const; + void + setSubject (const SubjectOptional& x); - AnyAttributeSet& - getAnyAttribute (); + void + setSubject (::std::unique_ptr< SubjectType > p); - void - setAnyAttribute (const AnyAttributeSet& s); + // free-text + // + typedef ::LinphonePrivate::Xsd::XmlSchema::String FreeTextType; + typedef ::xsd::cxx::tree::optional< FreeTextType > FreeTextOptional; + typedef ::xsd::cxx::tree::traits< FreeTextType, char > FreeTextTraits; - // DOMDocument for wildcard content. - // - const ::xercesc::DOMDocument& - getDomDocument () const; + const FreeTextOptional& + getFreeText () const; - ::xercesc::DOMDocument& - getDomDocument (); + FreeTextOptional& + getFreeText (); - // Constructors. - // - Users_type (); + void + setFreeText (const FreeTextType& x); - Users_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + void + setFreeText (const FreeTextOptional& x); - Users_type (const Users_type& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + void + setFreeText (::std::unique_ptr< FreeTextType > p); - virtual Users_type* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; + // keywords + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::KeywordsType KeywordsType; + typedef ::xsd::cxx::tree::optional< KeywordsType > KeywordsOptional; + typedef ::xsd::cxx::tree::traits< KeywordsType, char > KeywordsTraits; - Users_type& - operator= (const Users_type& x); + const KeywordsOptional& + getKeywords () const; - virtual - ~Users_type (); + KeywordsOptional& + getKeywords (); - // Implementation. - // - protected: - void - parse (::xsd::cxx::xml::dom::parser< char >&, - ::xml_schema::Flags); + void + setKeywords (const KeywordsType& x); - protected: - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; + void + setKeywords (const KeywordsOptional& x); - UserSequence user_; - AnySequence any_; - ::xsd::cxx::tree::one< StateType > state_; - static const StateType state_default_value_; - AnyAttributeSet any_attribute_; - }; + void + setKeywords (::std::unique_ptr< KeywordsType > p); - class User_type: public ::xml_schema::Type - { - public: - // display-text - // - typedef ::xml_schema::String Display_textType; - typedef ::xsd::cxx::tree::optional< Display_textType > Display_textOptional; - typedef ::xsd::cxx::tree::traits< Display_textType, char > Display_textTraits; + // conf-uris + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::UrisType ConfUrisType; + typedef ::xsd::cxx::tree::optional< ConfUrisType > ConfUrisOptional; + typedef ::xsd::cxx::tree::traits< ConfUrisType, char > ConfUrisTraits; - const Display_textOptional& - getDisplay_text () const; + const ConfUrisOptional& + getConfUris () const; - Display_textOptional& - getDisplay_text (); + ConfUrisOptional& + getConfUris (); - void - setDisplay_text (const Display_textType& x); + void + setConfUris (const ConfUrisType& x); - void - setDisplay_text (const Display_textOptional& x); + void + setConfUris (const ConfUrisOptional& x); - void - setDisplay_text (::std::unique_ptr< Display_textType > p); + void + setConfUris (::std::unique_ptr< ConfUrisType > p); - // associated-aors - // - typedef ::conference_info::Uris_type Associated_aorsType; - typedef ::xsd::cxx::tree::optional< Associated_aorsType > Associated_aorsOptional; - typedef ::xsd::cxx::tree::traits< Associated_aorsType, char > Associated_aorsTraits; + // service-uris + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::UrisType ServiceUrisType; + typedef ::xsd::cxx::tree::optional< ServiceUrisType > ServiceUrisOptional; + typedef ::xsd::cxx::tree::traits< ServiceUrisType, char > ServiceUrisTraits; - const Associated_aorsOptional& - getAssociated_aors () const; + const ServiceUrisOptional& + getServiceUris () const; - Associated_aorsOptional& - getAssociated_aors (); + ServiceUrisOptional& + getServiceUris (); - void - setAssociated_aors (const Associated_aorsType& x); + void + setServiceUris (const ServiceUrisType& x); - void - setAssociated_aors (const Associated_aorsOptional& x); + void + setServiceUris (const ServiceUrisOptional& x); - void - setAssociated_aors (::std::unique_ptr< Associated_aorsType > p); + void + setServiceUris (::std::unique_ptr< ServiceUrisType > p); - // roles - // - typedef ::conference_info::User_roles_type RolesType; - typedef ::xsd::cxx::tree::optional< RolesType > RolesOptional; - typedef ::xsd::cxx::tree::traits< RolesType, char > RolesTraits; + // maximum-user-count + // + typedef ::LinphonePrivate::Xsd::XmlSchema::UnsignedInt MaximumUserCountType; + typedef ::xsd::cxx::tree::optional< MaximumUserCountType > MaximumUserCountOptional; + typedef ::xsd::cxx::tree::traits< MaximumUserCountType, char > MaximumUserCountTraits; - const RolesOptional& - getRoles () const; + const MaximumUserCountOptional& + getMaximumUserCount () const; - RolesOptional& - getRoles (); + MaximumUserCountOptional& + getMaximumUserCount (); - void - setRoles (const RolesType& x); + void + setMaximumUserCount (const MaximumUserCountType& x); - void - setRoles (const RolesOptional& x); + void + setMaximumUserCount (const MaximumUserCountOptional& x); - void - setRoles (::std::unique_ptr< RolesType > p); + // available-media + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceMediaType AvailableMediaType; + typedef ::xsd::cxx::tree::optional< AvailableMediaType > AvailableMediaOptional; + typedef ::xsd::cxx::tree::traits< AvailableMediaType, char > AvailableMediaTraits; - // languages - // - typedef ::conference_info::User_languages_type LanguagesType; - typedef ::xsd::cxx::tree::optional< LanguagesType > LanguagesOptional; - typedef ::xsd::cxx::tree::traits< LanguagesType, char > LanguagesTraits; + const AvailableMediaOptional& + getAvailableMedia () const; - const LanguagesOptional& - getLanguages () const; + AvailableMediaOptional& + getAvailableMedia (); - LanguagesOptional& - getLanguages (); + void + setAvailableMedia (const AvailableMediaType& x); - void - setLanguages (const LanguagesType& x); + void + setAvailableMedia (const AvailableMediaOptional& x); - void - setLanguages (const LanguagesOptional& x); + void + setAvailableMedia (::std::unique_ptr< AvailableMediaType > p); - void - setLanguages (::std::unique_ptr< LanguagesType > p); + // any + // + typedef ::xsd::cxx::tree::element_sequence AnySequence; + typedef AnySequence::iterator AnyIterator; + typedef AnySequence::const_iterator AnyConstIterator; - // cascaded-focus - // - typedef ::xml_schema::Uri Cascaded_focusType; - typedef ::xsd::cxx::tree::optional< Cascaded_focusType > Cascaded_focusOptional; - typedef ::xsd::cxx::tree::traits< Cascaded_focusType, char > Cascaded_focusTraits; + const AnySequence& + getAny () const; - const Cascaded_focusOptional& - getCascaded_focus () const; + AnySequence& + getAny (); - Cascaded_focusOptional& - getCascaded_focus (); + void + setAny (const AnySequence& s); - void - setCascaded_focus (const Cascaded_focusType& x); + // any_attribute + // + typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; + typedef AnyAttributeSet::iterator AnyAttributeIterator; + typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; - void - setCascaded_focus (const Cascaded_focusOptional& x); + const AnyAttributeSet& + getAnyAttribute () const; - void - setCascaded_focus (::std::unique_ptr< Cascaded_focusType > p); + AnyAttributeSet& + getAnyAttribute (); - // endpoint - // - typedef ::conference_info::Endpoint_type EndpointType; - typedef ::xsd::cxx::tree::sequence< EndpointType > EndpointSequence; - typedef EndpointSequence::iterator EndpointIterator; - typedef EndpointSequence::const_iterator EndpointConstIterator; - typedef ::xsd::cxx::tree::traits< EndpointType, char > EndpointTraits; + void + setAnyAttribute (const AnyAttributeSet& s); - const EndpointSequence& - getEndpoint () const; + // DOMDocument for wildcard content. + // + const ::xercesc::DOMDocument& + getDomDocument () const; - EndpointSequence& - getEndpoint (); + ::xercesc::DOMDocument& + getDomDocument (); - void - setEndpoint (const EndpointSequence& s); + // Constructors. + // + ConferenceDescriptionType (); - // any - // - typedef ::xsd::cxx::tree::element_sequence AnySequence; - typedef AnySequence::iterator AnyIterator; - typedef AnySequence::const_iterator AnyConstIterator; + ConferenceDescriptionType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); - const AnySequence& - getAny () const; + ConferenceDescriptionType (const ConferenceDescriptionType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); - AnySequence& - getAny (); + virtual ConferenceDescriptionType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; - void - setAny (const AnySequence& s); + ConferenceDescriptionType& + operator= (const ConferenceDescriptionType& x); - // entity - // - typedef ::xml_schema::Uri EntityType; - typedef ::xsd::cxx::tree::optional< EntityType > EntityOptional; - typedef ::xsd::cxx::tree::traits< EntityType, char > EntityTraits; + virtual + ~ConferenceDescriptionType (); - const EntityOptional& - getEntity () const; + // Implementation. + // + protected: + void + parse (::xsd::cxx::xml::dom::parser< char >&, + ::LinphonePrivate::Xsd::XmlSchema::Flags); - EntityOptional& - getEntity (); + protected: + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; - void - setEntity (const EntityType& x); + DisplayTextOptional display_text_; + SubjectOptional subject_; + FreeTextOptional free_text_; + KeywordsOptional keywords_; + ConfUrisOptional conf_uris_; + ServiceUrisOptional service_uris_; + MaximumUserCountOptional maximum_user_count_; + AvailableMediaOptional available_media_; + AnySequence any_; + AnyAttributeSet any_attribute_; + }; - void - setEntity (const EntityOptional& x); + class HostType: public ::LinphonePrivate::Xsd::XmlSchema::Type + { + public: + // display-text + // + typedef ::LinphonePrivate::Xsd::XmlSchema::String DisplayTextType; + typedef ::xsd::cxx::tree::optional< DisplayTextType > DisplayTextOptional; + typedef ::xsd::cxx::tree::traits< DisplayTextType, char > DisplayTextTraits; - void - setEntity (::std::unique_ptr< EntityType > p); + const DisplayTextOptional& + getDisplayText () const; - // state - // - typedef ::conference_info::State_type StateType; - typedef ::xsd::cxx::tree::traits< StateType, char > StateTraits; + DisplayTextOptional& + getDisplayText (); - const StateType& - getState () const; + void + setDisplayText (const DisplayTextType& x); - StateType& - getState (); + void + setDisplayText (const DisplayTextOptional& x); - void - setState (const StateType& x); + void + setDisplayText (::std::unique_ptr< DisplayTextType > p); - void - setState (::std::unique_ptr< StateType > p); + // web-page + // + typedef ::LinphonePrivate::Xsd::XmlSchema::Uri WebPageType; + typedef ::xsd::cxx::tree::optional< WebPageType > WebPageOptional; + typedef ::xsd::cxx::tree::traits< WebPageType, char > WebPageTraits; - ::std::unique_ptr< StateType > - detachState (); + const WebPageOptional& + getWebPage () const; - static const StateType& - getStateDefaultValue (); + WebPageOptional& + getWebPage (); - // any_attribute - // - typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; - typedef AnyAttributeSet::iterator AnyAttributeIterator; - typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; + void + setWebPage (const WebPageType& x); - const AnyAttributeSet& - getAnyAttribute () const; + void + setWebPage (const WebPageOptional& x); - AnyAttributeSet& - getAnyAttribute (); + void + setWebPage (::std::unique_ptr< WebPageType > p); - void - setAnyAttribute (const AnyAttributeSet& s); + // uris + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::UrisType UrisType; + typedef ::xsd::cxx::tree::optional< UrisType > UrisOptional; + typedef ::xsd::cxx::tree::traits< UrisType, char > UrisTraits; + + const UrisOptional& + getUris () const; + + UrisOptional& + getUris (); + + void + setUris (const UrisType& x); + + void + setUris (const UrisOptional& x); + + void + setUris (::std::unique_ptr< UrisType > p); + + // any + // + typedef ::xsd::cxx::tree::element_sequence AnySequence; + typedef AnySequence::iterator AnyIterator; + typedef AnySequence::const_iterator AnyConstIterator; + + const AnySequence& + getAny () const; + + AnySequence& + getAny (); + + void + setAny (const AnySequence& s); + + // any_attribute + // + typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; + typedef AnyAttributeSet::iterator AnyAttributeIterator; + typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; + + const AnyAttributeSet& + getAnyAttribute () const; + + AnyAttributeSet& + getAnyAttribute (); - // DOMDocument for wildcard content. - // - const ::xercesc::DOMDocument& - getDomDocument () const; + void + setAnyAttribute (const AnyAttributeSet& s); - ::xercesc::DOMDocument& - getDomDocument (); + // DOMDocument for wildcard content. + // + const ::xercesc::DOMDocument& + getDomDocument () const; - // Constructors. - // - User_type (); + ::xercesc::DOMDocument& + getDomDocument (); - User_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + // Constructors. + // + HostType (); - User_type (const User_type& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + HostType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); - virtual User_type* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; - - User_type& - operator= (const User_type& x); - - virtual - ~User_type (); + HostType (const HostType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); - // Implementation. - // - protected: - void - parse (::xsd::cxx::xml::dom::parser< char >&, - ::xml_schema::Flags); - - protected: - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; + virtual HostType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; - Display_textOptional display_text_; - Associated_aorsOptional associated_aors_; - RolesOptional roles_; - LanguagesOptional languages_; - Cascaded_focusOptional cascaded_focus_; - EndpointSequence endpoint_; - AnySequence any_; - EntityOptional entity_; - ::xsd::cxx::tree::one< StateType > state_; - static const StateType state_default_value_; - AnyAttributeSet any_attribute_; - }; - - class User_roles_type: public ::xml_schema::Type - { - public: - // entry - // - typedef ::xml_schema::String EntryType; - typedef ::xsd::cxx::tree::sequence< EntryType > EntrySequence; - typedef EntrySequence::iterator EntryIterator; - typedef EntrySequence::const_iterator EntryConstIterator; - typedef ::xsd::cxx::tree::traits< EntryType, char > EntryTraits; - - const EntrySequence& - getEntry () const; - - EntrySequence& - getEntry (); - - void - setEntry (const EntrySequence& s); - - // any_attribute - // - typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; - typedef AnyAttributeSet::iterator AnyAttributeIterator; - typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; - - const AnyAttributeSet& - getAnyAttribute () const; - - AnyAttributeSet& - getAnyAttribute (); - - void - setAnyAttribute (const AnyAttributeSet& s); - - // DOMDocument for wildcard content. - // - const ::xercesc::DOMDocument& - getDomDocument () const; - - ::xercesc::DOMDocument& - getDomDocument (); - - // Constructors. - // - User_roles_type (); - - User_roles_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - User_roles_type (const User_roles_type& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - virtual User_roles_type* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; - - User_roles_type& - operator= (const User_roles_type& x); - - virtual - ~User_roles_type (); - - // Implementation. - // - protected: - void - parse (::xsd::cxx::xml::dom::parser< char >&, - ::xml_schema::Flags); - - protected: - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; - - EntrySequence entry_; - AnyAttributeSet any_attribute_; - }; - - class User_languages_type: public ::xml_schema::SimpleType, - public ::xsd::cxx::tree::list< ::xml_schema::Language, char > - { - public: - User_languages_type (); - - User_languages_type (size_type n, const ::xml_schema::Language& x); - - template < typename I > - User_languages_type (const I& begin, const I& end) - : ::xsd::cxx::tree::list< ::xml_schema::Language, char > (begin, end, this) - { - } - - User_languages_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - User_languages_type (const ::xercesc::DOMAttr& a, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - User_languages_type (const ::std::string& s, + HostType& + operator= (const HostType& x); + + virtual + ~HostType (); + + // Implementation. + // + protected: + void + parse (::xsd::cxx::xml::dom::parser< char >&, + ::LinphonePrivate::Xsd::XmlSchema::Flags); + + protected: + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; + + DisplayTextOptional display_text_; + WebPageOptional web_page_; + UrisOptional uris_; + AnySequence any_; + AnyAttributeSet any_attribute_; + }; + + class ConferenceStateType: public ::LinphonePrivate::Xsd::XmlSchema::Type + { + public: + // user-count + // + typedef ::LinphonePrivate::Xsd::XmlSchema::UnsignedInt UserCountType; + typedef ::xsd::cxx::tree::optional< UserCountType > UserCountOptional; + typedef ::xsd::cxx::tree::traits< UserCountType, char > UserCountTraits; + + const UserCountOptional& + getUserCount () const; + + UserCountOptional& + getUserCount (); + + void + setUserCount (const UserCountType& x); + + void + setUserCount (const UserCountOptional& x); + + // active + // + typedef ::LinphonePrivate::Xsd::XmlSchema::Boolean ActiveType; + typedef ::xsd::cxx::tree::optional< ActiveType > ActiveOptional; + typedef ::xsd::cxx::tree::traits< ActiveType, char > ActiveTraits; + + const ActiveOptional& + getActive () const; + + ActiveOptional& + getActive (); + + void + setActive (const ActiveType& x); + + void + setActive (const ActiveOptional& x); + + // locked + // + typedef ::LinphonePrivate::Xsd::XmlSchema::Boolean LockedType; + typedef ::xsd::cxx::tree::optional< LockedType > LockedOptional; + typedef ::xsd::cxx::tree::traits< LockedType, char > LockedTraits; + + const LockedOptional& + getLocked () const; + + LockedOptional& + getLocked (); + + void + setLocked (const LockedType& x); + + void + setLocked (const LockedOptional& x); + + // any + // + typedef ::xsd::cxx::tree::element_sequence AnySequence; + typedef AnySequence::iterator AnyIterator; + typedef AnySequence::const_iterator AnyConstIterator; + + const AnySequence& + getAny () const; + + AnySequence& + getAny (); + + void + setAny (const AnySequence& s); + + // any_attribute + // + typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; + typedef AnyAttributeSet::iterator AnyAttributeIterator; + typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; + + const AnyAttributeSet& + getAnyAttribute () const; + + AnyAttributeSet& + getAnyAttribute (); + + void + setAnyAttribute (const AnyAttributeSet& s); + + // DOMDocument for wildcard content. + // + const ::xercesc::DOMDocument& + getDomDocument () const; + + ::xercesc::DOMDocument& + getDomDocument (); + + // Constructors. + // + ConferenceStateType (); + + ConferenceStateType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + ConferenceStateType (const ConferenceStateType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + virtual ConferenceStateType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; + + ConferenceStateType& + operator= (const ConferenceStateType& x); + + virtual + ~ConferenceStateType (); + + // Implementation. + // + protected: + void + parse (::xsd::cxx::xml::dom::parser< char >&, + ::LinphonePrivate::Xsd::XmlSchema::Flags); + + protected: + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; + + UserCountOptional user_count_; + ActiveOptional active_; + LockedOptional locked_; + AnySequence any_; + AnyAttributeSet any_attribute_; + }; + + class ConferenceMediaType: public ::LinphonePrivate::Xsd::XmlSchema::Type + { + public: + // entry + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceMediumType EntryType; + typedef ::xsd::cxx::tree::sequence< EntryType > EntrySequence; + typedef EntrySequence::iterator EntryIterator; + typedef EntrySequence::const_iterator EntryConstIterator; + typedef ::xsd::cxx::tree::traits< EntryType, char > EntryTraits; + + const EntrySequence& + getEntry () const; + + EntrySequence& + getEntry (); + + void + setEntry (const EntrySequence& s); + + // any_attribute + // + typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; + typedef AnyAttributeSet::iterator AnyAttributeIterator; + typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; + + const AnyAttributeSet& + getAnyAttribute () const; + + AnyAttributeSet& + getAnyAttribute (); + + void + setAnyAttribute (const AnyAttributeSet& s); + + // DOMDocument for wildcard content. + // + const ::xercesc::DOMDocument& + getDomDocument () const; + + ::xercesc::DOMDocument& + getDomDocument (); + + // Constructors. + // + ConferenceMediaType (); + + ConferenceMediaType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + ConferenceMediaType (const ConferenceMediaType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + virtual ConferenceMediaType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; + + ConferenceMediaType& + operator= (const ConferenceMediaType& x); + + virtual + ~ConferenceMediaType (); + + // Implementation. + // + protected: + void + parse (::xsd::cxx::xml::dom::parser< char >&, + ::LinphonePrivate::Xsd::XmlSchema::Flags); + + protected: + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; + + EntrySequence entry_; + AnyAttributeSet any_attribute_; + }; + + class ConferenceMediumType: public ::LinphonePrivate::Xsd::XmlSchema::Type + { + public: + // display-text + // + typedef ::LinphonePrivate::Xsd::XmlSchema::String DisplayTextType; + typedef ::xsd::cxx::tree::optional< DisplayTextType > DisplayTextOptional; + typedef ::xsd::cxx::tree::traits< DisplayTextType, char > DisplayTextTraits; + + const DisplayTextOptional& + getDisplayText () const; + + DisplayTextOptional& + getDisplayText (); + + void + setDisplayText (const DisplayTextType& x); + + void + setDisplayText (const DisplayTextOptional& x); + + void + setDisplayText (::std::unique_ptr< DisplayTextType > p); + + // type + // + typedef ::LinphonePrivate::Xsd::XmlSchema::String TypeType; + typedef ::xsd::cxx::tree::traits< TypeType, char > TypeTraits; + + const TypeType& + getType () const; + + TypeType& + getType (); + + void + setType (const TypeType& x); + + void + setType (::std::unique_ptr< TypeType > p); + + ::std::unique_ptr< TypeType > + setDetachType (); + + // status + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::MediaStatusType StatusType; + typedef ::xsd::cxx::tree::optional< StatusType > StatusOptional; + typedef ::xsd::cxx::tree::traits< StatusType, char > StatusTraits; + + const StatusOptional& + getStatus () const; + + StatusOptional& + getStatus (); + + void + setStatus (const StatusType& x); + + void + setStatus (const StatusOptional& x); + + void + setStatus (::std::unique_ptr< StatusType > p); + + // any + // + typedef ::xsd::cxx::tree::element_sequence AnySequence; + typedef AnySequence::iterator AnyIterator; + typedef AnySequence::const_iterator AnyConstIterator; + + const AnySequence& + getAny () const; + + AnySequence& + getAny (); + + void + setAny (const AnySequence& s); + + // label + // + typedef ::LinphonePrivate::Xsd::XmlSchema::String LabelType; + typedef ::xsd::cxx::tree::traits< LabelType, char > LabelTraits; + + const LabelType& + getLabel () const; + + LabelType& + getLabel (); + + void + setLabel (const LabelType& x); + + void + setLabel (::std::unique_ptr< LabelType > p); + + ::std::unique_ptr< LabelType > + setDetachLabel (); + + // any_attribute + // + typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; + typedef AnyAttributeSet::iterator AnyAttributeIterator; + typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; + + const AnyAttributeSet& + getAnyAttribute () const; + + AnyAttributeSet& + getAnyAttribute (); + + void + setAnyAttribute (const AnyAttributeSet& s); + + // DOMDocument for wildcard content. + // + const ::xercesc::DOMDocument& + getDomDocument () const; + + ::xercesc::DOMDocument& + getDomDocument (); + + // Constructors. + // + ConferenceMediumType (const TypeType&, + const LabelType&); + + ConferenceMediumType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + ConferenceMediumType (const ConferenceMediumType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + virtual ConferenceMediumType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; + + ConferenceMediumType& + operator= (const ConferenceMediumType& x); + + virtual + ~ConferenceMediumType (); + + // Implementation. + // + protected: + void + parse (::xsd::cxx::xml::dom::parser< char >&, + ::LinphonePrivate::Xsd::XmlSchema::Flags); + + protected: + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; + + DisplayTextOptional display_text_; + ::xsd::cxx::tree::one< TypeType > type_; + StatusOptional status_; + AnySequence any_; + ::xsd::cxx::tree::one< LabelType > label_; + AnyAttributeSet any_attribute_; + }; + + class UrisType: public ::LinphonePrivate::Xsd::XmlSchema::Type + { + public: + // entry + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::UriType EntryType; + typedef ::xsd::cxx::tree::sequence< EntryType > EntrySequence; + typedef EntrySequence::iterator EntryIterator; + typedef EntrySequence::const_iterator EntryConstIterator; + typedef ::xsd::cxx::tree::traits< EntryType, char > EntryTraits; + + const EntrySequence& + getEntry () const; + + EntrySequence& + getEntry (); + + void + setEntry (const EntrySequence& s); + + // state + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::StateType StateType; + typedef ::xsd::cxx::tree::traits< StateType, char > StateTraits; + + const StateType& + getState () const; + + StateType& + getState (); + + void + setState (const StateType& x); + + void + setState (::std::unique_ptr< StateType > p); + + ::std::unique_ptr< StateType > + setDetachState (); + + static const StateType& + getStateDefaultValue (); + + // any_attribute + // + typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; + typedef AnyAttributeSet::iterator AnyAttributeIterator; + typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; + + const AnyAttributeSet& + getAnyAttribute () const; + + AnyAttributeSet& + getAnyAttribute (); + + void + setAnyAttribute (const AnyAttributeSet& s); + + // DOMDocument for wildcard content. + // + const ::xercesc::DOMDocument& + getDomDocument () const; + + ::xercesc::DOMDocument& + getDomDocument (); + + // Constructors. + // + UrisType (); + + UrisType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + UrisType (const UrisType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + virtual UrisType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; + + UrisType& + operator= (const UrisType& x); + + virtual + ~UrisType (); + + // Implementation. + // + protected: + void + parse (::xsd::cxx::xml::dom::parser< char >&, + ::LinphonePrivate::Xsd::XmlSchema::Flags); + + protected: + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; + + EntrySequence entry_; + ::xsd::cxx::tree::one< StateType > state_; + static const StateType state_default_value_; + AnyAttributeSet any_attribute_; + }; + + class UriType: public ::LinphonePrivate::Xsd::XmlSchema::Type + { + public: + // uri + // + typedef ::LinphonePrivate::Xsd::XmlSchema::Uri UriType1; + typedef ::xsd::cxx::tree::traits< UriType1, char > UriTraits; + + const UriType1& + getUri () const; + + UriType1& + getUri (); + + void + setUri (const UriType1& x); + + void + setUri (::std::unique_ptr< UriType1 > p); + + ::std::unique_ptr< UriType1 > + setDetachUri (); + + // display-text + // + typedef ::LinphonePrivate::Xsd::XmlSchema::String DisplayTextType; + typedef ::xsd::cxx::tree::optional< DisplayTextType > DisplayTextOptional; + typedef ::xsd::cxx::tree::traits< DisplayTextType, char > DisplayTextTraits; + + const DisplayTextOptional& + getDisplayText () const; + + DisplayTextOptional& + getDisplayText (); + + void + setDisplayText (const DisplayTextType& x); + + void + setDisplayText (const DisplayTextOptional& x); + + void + setDisplayText (::std::unique_ptr< DisplayTextType > p); + + // purpose + // + typedef ::LinphonePrivate::Xsd::XmlSchema::String PurposeType; + typedef ::xsd::cxx::tree::optional< PurposeType > PurposeOptional; + typedef ::xsd::cxx::tree::traits< PurposeType, char > PurposeTraits; + + const PurposeOptional& + getPurpose () const; + + PurposeOptional& + getPurpose (); + + void + setPurpose (const PurposeType& x); + + void + setPurpose (const PurposeOptional& x); + + void + setPurpose (::std::unique_ptr< PurposeType > p); + + // modified + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::ExecutionType ModifiedType; + typedef ::xsd::cxx::tree::optional< ModifiedType > ModifiedOptional; + typedef ::xsd::cxx::tree::traits< ModifiedType, char > ModifiedTraits; + + const ModifiedOptional& + getModified () const; + + ModifiedOptional& + getModified (); + + void + setModified (const ModifiedType& x); + + void + setModified (const ModifiedOptional& x); + + void + setModified (::std::unique_ptr< ModifiedType > p); + + // any + // + typedef ::xsd::cxx::tree::element_sequence AnySequence; + typedef AnySequence::iterator AnyIterator; + typedef AnySequence::const_iterator AnyConstIterator; + + const AnySequence& + getAny () const; + + AnySequence& + getAny (); + + void + setAny (const AnySequence& s); + + // any_attribute + // + typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; + typedef AnyAttributeSet::iterator AnyAttributeIterator; + typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; + + const AnyAttributeSet& + getAnyAttribute () const; + + AnyAttributeSet& + getAnyAttribute (); + + void + setAnyAttribute (const AnyAttributeSet& s); + + // DOMDocument for wildcard content. + // + const ::xercesc::DOMDocument& + getDomDocument () const; + + ::xercesc::DOMDocument& + getDomDocument (); + + // Constructors. + // + UriType (const UriType1&); + + UriType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + UriType (const UriType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + virtual UriType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; + + UriType& + operator= (const UriType& x); + + virtual + ~UriType (); + + // Implementation. + // + protected: + void + parse (::xsd::cxx::xml::dom::parser< char >&, + ::LinphonePrivate::Xsd::XmlSchema::Flags); + + protected: + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; + + ::xsd::cxx::tree::one< UriType1 > uri_; + DisplayTextOptional display_text_; + PurposeOptional purpose_; + ModifiedOptional modified_; + AnySequence any_; + AnyAttributeSet any_attribute_; + }; + + class KeywordsType: public ::LinphonePrivate::Xsd::XmlSchema::SimpleType, + public ::xsd::cxx::tree::list< ::LinphonePrivate::Xsd::XmlSchema::String, char > + { + public: + KeywordsType (); + + KeywordsType (size_type n, const ::LinphonePrivate::Xsd::XmlSchema::String& x); + + template < typename I > + KeywordsType (const I& begin, const I& end) + : ::xsd::cxx::tree::list< ::LinphonePrivate::Xsd::XmlSchema::String, char > (begin, end, this) + { + } + + KeywordsType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + KeywordsType (const ::xercesc::DOMAttr& a, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + KeywordsType (const ::std::string& s, + const ::xercesc::DOMElement* e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + KeywordsType (const KeywordsType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + virtual KeywordsType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; + + virtual + ~KeywordsType (); + }; + + class UsersType: public ::LinphonePrivate::Xsd::XmlSchema::Type + { + public: + // user + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::UserType UserType; + typedef ::xsd::cxx::tree::sequence< UserType > UserSequence; + typedef UserSequence::iterator UserIterator; + typedef UserSequence::const_iterator UserConstIterator; + typedef ::xsd::cxx::tree::traits< UserType, char > UserTraits; + + const UserSequence& + getUser () const; + + UserSequence& + getUser (); + + void + setUser (const UserSequence& s); + + // any + // + typedef ::xsd::cxx::tree::element_sequence AnySequence; + typedef AnySequence::iterator AnyIterator; + typedef AnySequence::const_iterator AnyConstIterator; + + const AnySequence& + getAny () const; + + AnySequence& + getAny (); + + void + setAny (const AnySequence& s); + + // state + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::StateType StateType; + typedef ::xsd::cxx::tree::traits< StateType, char > StateTraits; + + const StateType& + getState () const; + + StateType& + getState (); + + void + setState (const StateType& x); + + void + setState (::std::unique_ptr< StateType > p); + + ::std::unique_ptr< StateType > + setDetachState (); + + static const StateType& + getStateDefaultValue (); + + // any_attribute + // + typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; + typedef AnyAttributeSet::iterator AnyAttributeIterator; + typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; + + const AnyAttributeSet& + getAnyAttribute () const; + + AnyAttributeSet& + getAnyAttribute (); + + void + setAnyAttribute (const AnyAttributeSet& s); + + // DOMDocument for wildcard content. + // + const ::xercesc::DOMDocument& + getDomDocument () const; + + ::xercesc::DOMDocument& + getDomDocument (); + + // Constructors. + // + UsersType (); + + UsersType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + UsersType (const UsersType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + virtual UsersType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; + + UsersType& + operator= (const UsersType& x); + + virtual + ~UsersType (); + + // Implementation. + // + protected: + void + parse (::xsd::cxx::xml::dom::parser< char >&, + ::LinphonePrivate::Xsd::XmlSchema::Flags); + + protected: + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; + + UserSequence user_; + AnySequence any_; + ::xsd::cxx::tree::one< StateType > state_; + static const StateType state_default_value_; + AnyAttributeSet any_attribute_; + }; + + class UserType: public ::LinphonePrivate::Xsd::XmlSchema::Type + { + public: + // display-text + // + typedef ::LinphonePrivate::Xsd::XmlSchema::String DisplayTextType; + typedef ::xsd::cxx::tree::optional< DisplayTextType > DisplayTextOptional; + typedef ::xsd::cxx::tree::traits< DisplayTextType, char > DisplayTextTraits; + + const DisplayTextOptional& + getDisplayText () const; + + DisplayTextOptional& + getDisplayText (); + + void + setDisplayText (const DisplayTextType& x); + + void + setDisplayText (const DisplayTextOptional& x); + + void + setDisplayText (::std::unique_ptr< DisplayTextType > p); + + // associated-aors + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::UrisType AssociatedAorsType; + typedef ::xsd::cxx::tree::optional< AssociatedAorsType > AssociatedAorsOptional; + typedef ::xsd::cxx::tree::traits< AssociatedAorsType, char > AssociatedAorsTraits; + + const AssociatedAorsOptional& + getAssociatedAors () const; + + AssociatedAorsOptional& + getAssociatedAors (); + + void + setAssociatedAors (const AssociatedAorsType& x); + + void + setAssociatedAors (const AssociatedAorsOptional& x); + + void + setAssociatedAors (::std::unique_ptr< AssociatedAorsType > p); + + // roles + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::UserRolesType RolesType; + typedef ::xsd::cxx::tree::optional< RolesType > RolesOptional; + typedef ::xsd::cxx::tree::traits< RolesType, char > RolesTraits; + + const RolesOptional& + getRoles () const; + + RolesOptional& + getRoles (); + + void + setRoles (const RolesType& x); + + void + setRoles (const RolesOptional& x); + + void + setRoles (::std::unique_ptr< RolesType > p); + + // languages + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::UserLanguagesType LanguagesType; + typedef ::xsd::cxx::tree::optional< LanguagesType > LanguagesOptional; + typedef ::xsd::cxx::tree::traits< LanguagesType, char > LanguagesTraits; + + const LanguagesOptional& + getLanguages () const; + + LanguagesOptional& + getLanguages (); + + void + setLanguages (const LanguagesType& x); + + void + setLanguages (const LanguagesOptional& x); + + void + setLanguages (::std::unique_ptr< LanguagesType > p); + + // cascaded-focus + // + typedef ::LinphonePrivate::Xsd::XmlSchema::Uri CascadedFocusType; + typedef ::xsd::cxx::tree::optional< CascadedFocusType > CascadedFocusOptional; + typedef ::xsd::cxx::tree::traits< CascadedFocusType, char > CascadedFocusTraits; + + const CascadedFocusOptional& + getCascadedFocus () const; + + CascadedFocusOptional& + getCascadedFocus (); + + void + setCascadedFocus (const CascadedFocusType& x); + + void + setCascadedFocus (const CascadedFocusOptional& x); + + void + setCascadedFocus (::std::unique_ptr< CascadedFocusType > p); + + // endpoint + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::EndpointType EndpointType; + typedef ::xsd::cxx::tree::sequence< EndpointType > EndpointSequence; + typedef EndpointSequence::iterator EndpointIterator; + typedef EndpointSequence::const_iterator EndpointConstIterator; + typedef ::xsd::cxx::tree::traits< EndpointType, char > EndpointTraits; + + const EndpointSequence& + getEndpoint () const; + + EndpointSequence& + getEndpoint (); + + void + setEndpoint (const EndpointSequence& s); + + // any + // + typedef ::xsd::cxx::tree::element_sequence AnySequence; + typedef AnySequence::iterator AnyIterator; + typedef AnySequence::const_iterator AnyConstIterator; + + const AnySequence& + getAny () const; + + AnySequence& + getAny (); + + void + setAny (const AnySequence& s); + + // entity + // + typedef ::LinphonePrivate::Xsd::XmlSchema::Uri EntityType; + typedef ::xsd::cxx::tree::optional< EntityType > EntityOptional; + typedef ::xsd::cxx::tree::traits< EntityType, char > EntityTraits; + + const EntityOptional& + getEntity () const; + + EntityOptional& + getEntity (); + + void + setEntity (const EntityType& x); + + void + setEntity (const EntityOptional& x); + + void + setEntity (::std::unique_ptr< EntityType > p); + + // state + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::StateType StateType; + typedef ::xsd::cxx::tree::traits< StateType, char > StateTraits; + + const StateType& + getState () const; + + StateType& + getState (); + + void + setState (const StateType& x); + + void + setState (::std::unique_ptr< StateType > p); + + ::std::unique_ptr< StateType > + setDetachState (); + + static const StateType& + getStateDefaultValue (); + + // any_attribute + // + typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; + typedef AnyAttributeSet::iterator AnyAttributeIterator; + typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; + + const AnyAttributeSet& + getAnyAttribute () const; + + AnyAttributeSet& + getAnyAttribute (); + + void + setAnyAttribute (const AnyAttributeSet& s); + + // DOMDocument for wildcard content. + // + const ::xercesc::DOMDocument& + getDomDocument () const; + + ::xercesc::DOMDocument& + getDomDocument (); + + // Constructors. + // + UserType (); + + UserType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + UserType (const UserType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + virtual UserType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; + + UserType& + operator= (const UserType& x); + + virtual + ~UserType (); + + // Implementation. + // + protected: + void + parse (::xsd::cxx::xml::dom::parser< char >&, + ::LinphonePrivate::Xsd::XmlSchema::Flags); + + protected: + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; + + DisplayTextOptional display_text_; + AssociatedAorsOptional associated_aors_; + RolesOptional roles_; + LanguagesOptional languages_; + CascadedFocusOptional cascaded_focus_; + EndpointSequence endpoint_; + AnySequence any_; + EntityOptional entity_; + ::xsd::cxx::tree::one< StateType > state_; + static const StateType state_default_value_; + AnyAttributeSet any_attribute_; + }; + + class UserRolesType: public ::LinphonePrivate::Xsd::XmlSchema::Type + { + public: + // entry + // + typedef ::LinphonePrivate::Xsd::XmlSchema::String EntryType; + typedef ::xsd::cxx::tree::sequence< EntryType > EntrySequence; + typedef EntrySequence::iterator EntryIterator; + typedef EntrySequence::const_iterator EntryConstIterator; + typedef ::xsd::cxx::tree::traits< EntryType, char > EntryTraits; + + const EntrySequence& + getEntry () const; + + EntrySequence& + getEntry (); + + void + setEntry (const EntrySequence& s); + + // any_attribute + // + typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; + typedef AnyAttributeSet::iterator AnyAttributeIterator; + typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; + + const AnyAttributeSet& + getAnyAttribute () const; + + AnyAttributeSet& + getAnyAttribute (); + + void + setAnyAttribute (const AnyAttributeSet& s); + + // DOMDocument for wildcard content. + // + const ::xercesc::DOMDocument& + getDomDocument () const; + + ::xercesc::DOMDocument& + getDomDocument (); + + // Constructors. + // + UserRolesType (); + + UserRolesType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + UserRolesType (const UserRolesType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + virtual UserRolesType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; + + UserRolesType& + operator= (const UserRolesType& x); + + virtual + ~UserRolesType (); + + // Implementation. + // + protected: + void + parse (::xsd::cxx::xml::dom::parser< char >&, + ::LinphonePrivate::Xsd::XmlSchema::Flags); + + protected: + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; + + EntrySequence entry_; + AnyAttributeSet any_attribute_; + }; + + class UserLanguagesType: public ::LinphonePrivate::Xsd::XmlSchema::SimpleType, + public ::xsd::cxx::tree::list< ::LinphonePrivate::Xsd::XmlSchema::Language, char > + { + public: + UserLanguagesType (); + + UserLanguagesType (size_type n, const ::LinphonePrivate::Xsd::XmlSchema::Language& x); + + template < typename I > + UserLanguagesType (const I& begin, const I& end) + : ::xsd::cxx::tree::list< ::LinphonePrivate::Xsd::XmlSchema::Language, char > (begin, end, this) + { + } + + UserLanguagesType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + UserLanguagesType (const ::xercesc::DOMAttr& a, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + UserLanguagesType (const ::std::string& s, + const ::xercesc::DOMElement* e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + UserLanguagesType (const UserLanguagesType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + virtual UserLanguagesType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; + + virtual + ~UserLanguagesType (); + }; + + class EndpointType: public ::LinphonePrivate::Xsd::XmlSchema::Type + { + public: + // display-text + // + typedef ::LinphonePrivate::Xsd::XmlSchema::String DisplayTextType; + typedef ::xsd::cxx::tree::optional< DisplayTextType > DisplayTextOptional; + typedef ::xsd::cxx::tree::traits< DisplayTextType, char > DisplayTextTraits; + + const DisplayTextOptional& + getDisplayText () const; + + DisplayTextOptional& + getDisplayText (); + + void + setDisplayText (const DisplayTextType& x); + + void + setDisplayText (const DisplayTextOptional& x); + + void + setDisplayText (::std::unique_ptr< DisplayTextType > p); + + // referred + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::ExecutionType ReferredType; + typedef ::xsd::cxx::tree::optional< ReferredType > ReferredOptional; + typedef ::xsd::cxx::tree::traits< ReferredType, char > ReferredTraits; + + const ReferredOptional& + getReferred () const; + + ReferredOptional& + getReferred (); + + void + setReferred (const ReferredType& x); + + void + setReferred (const ReferredOptional& x); + + void + setReferred (::std::unique_ptr< ReferredType > p); + + // status + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::EndpointStatusType StatusType; + typedef ::xsd::cxx::tree::optional< StatusType > StatusOptional; + typedef ::xsd::cxx::tree::traits< StatusType, char > StatusTraits; + + const StatusOptional& + getStatus () const; + + StatusOptional& + getStatus (); + + void + setStatus (const StatusType& x); + + void + setStatus (const StatusOptional& x); + + void + setStatus (::std::unique_ptr< StatusType > p); + + // joining-method + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::JoiningType JoiningMethodType; + typedef ::xsd::cxx::tree::optional< JoiningMethodType > JoiningMethodOptional; + typedef ::xsd::cxx::tree::traits< JoiningMethodType, char > JoiningMethodTraits; + + const JoiningMethodOptional& + getJoiningMethod () const; + + JoiningMethodOptional& + getJoiningMethod (); + + void + setJoiningMethod (const JoiningMethodType& x); + + void + setJoiningMethod (const JoiningMethodOptional& x); + + void + setJoiningMethod (::std::unique_ptr< JoiningMethodType > p); + + // joining-info + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::ExecutionType JoiningInfoType; + typedef ::xsd::cxx::tree::optional< JoiningInfoType > JoiningInfoOptional; + typedef ::xsd::cxx::tree::traits< JoiningInfoType, char > JoiningInfoTraits; + + const JoiningInfoOptional& + getJoiningInfo () const; + + JoiningInfoOptional& + getJoiningInfo (); + + void + setJoiningInfo (const JoiningInfoType& x); + + void + setJoiningInfo (const JoiningInfoOptional& x); + + void + setJoiningInfo (::std::unique_ptr< JoiningInfoType > p); + + // disconnection-method + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::DisconnectionType DisconnectionMethodType; + typedef ::xsd::cxx::tree::optional< DisconnectionMethodType > DisconnectionMethodOptional; + typedef ::xsd::cxx::tree::traits< DisconnectionMethodType, char > DisconnectionMethodTraits; + + const DisconnectionMethodOptional& + getDisconnectionMethod () const; + + DisconnectionMethodOptional& + getDisconnectionMethod (); + + void + setDisconnectionMethod (const DisconnectionMethodType& x); + + void + setDisconnectionMethod (const DisconnectionMethodOptional& x); + + void + setDisconnectionMethod (::std::unique_ptr< DisconnectionMethodType > p); + + // disconnection-info + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::ExecutionType DisconnectionInfoType; + typedef ::xsd::cxx::tree::optional< DisconnectionInfoType > DisconnectionInfoOptional; + typedef ::xsd::cxx::tree::traits< DisconnectionInfoType, char > DisconnectionInfoTraits; + + const DisconnectionInfoOptional& + getDisconnectionInfo () const; + + DisconnectionInfoOptional& + getDisconnectionInfo (); + + void + setDisconnectionInfo (const DisconnectionInfoType& x); + + void + setDisconnectionInfo (const DisconnectionInfoOptional& x); + + void + setDisconnectionInfo (::std::unique_ptr< DisconnectionInfoType > p); + + // media + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::MediaType MediaType; + typedef ::xsd::cxx::tree::sequence< MediaType > MediaSequence; + typedef MediaSequence::iterator MediaIterator; + typedef MediaSequence::const_iterator MediaConstIterator; + typedef ::xsd::cxx::tree::traits< MediaType, char > MediaTraits; + + const MediaSequence& + getMedia () const; + + MediaSequence& + getMedia (); + + void + setMedia (const MediaSequence& s); + + // call-info + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::CallType CallInfoType; + typedef ::xsd::cxx::tree::optional< CallInfoType > CallInfoOptional; + typedef ::xsd::cxx::tree::traits< CallInfoType, char > CallInfoTraits; + + const CallInfoOptional& + getCallInfo () const; + + CallInfoOptional& + getCallInfo (); + + void + setCallInfo (const CallInfoType& x); + + void + setCallInfo (const CallInfoOptional& x); + + void + setCallInfo (::std::unique_ptr< CallInfoType > p); + + // any + // + typedef ::xsd::cxx::tree::element_sequence AnySequence; + typedef AnySequence::iterator AnyIterator; + typedef AnySequence::const_iterator AnyConstIterator; + + const AnySequence& + getAny () const; + + AnySequence& + getAny (); + + void + setAny (const AnySequence& s); + + // entity + // + typedef ::LinphonePrivate::Xsd::XmlSchema::String EntityType; + typedef ::xsd::cxx::tree::optional< EntityType > EntityOptional; + typedef ::xsd::cxx::tree::traits< EntityType, char > EntityTraits; + + const EntityOptional& + getEntity () const; + + EntityOptional& + getEntity (); + + void + setEntity (const EntityType& x); + + void + setEntity (const EntityOptional& x); + + void + setEntity (::std::unique_ptr< EntityType > p); + + // state + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::StateType StateType; + typedef ::xsd::cxx::tree::traits< StateType, char > StateTraits; + + const StateType& + getState () const; + + StateType& + getState (); + + void + setState (const StateType& x); + + void + setState (::std::unique_ptr< StateType > p); + + ::std::unique_ptr< StateType > + setDetachState (); + + static const StateType& + getStateDefaultValue (); + + // any_attribute + // + typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; + typedef AnyAttributeSet::iterator AnyAttributeIterator; + typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; + + const AnyAttributeSet& + getAnyAttribute () const; + + AnyAttributeSet& + getAnyAttribute (); + + void + setAnyAttribute (const AnyAttributeSet& s); + + // DOMDocument for wildcard content. + // + const ::xercesc::DOMDocument& + getDomDocument () const; + + ::xercesc::DOMDocument& + getDomDocument (); + + // Constructors. + // + EndpointType (); + + EndpointType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + EndpointType (const EndpointType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + virtual EndpointType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; + + EndpointType& + operator= (const EndpointType& x); + + virtual + ~EndpointType (); + + // Implementation. + // + protected: + void + parse (::xsd::cxx::xml::dom::parser< char >&, + ::LinphonePrivate::Xsd::XmlSchema::Flags); + + protected: + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; + + DisplayTextOptional display_text_; + ReferredOptional referred_; + StatusOptional status_; + JoiningMethodOptional joining_method_; + JoiningInfoOptional joining_info_; + DisconnectionMethodOptional disconnection_method_; + DisconnectionInfoOptional disconnection_info_; + MediaSequence media_; + CallInfoOptional call_info_; + AnySequence any_; + EntityOptional entity_; + ::xsd::cxx::tree::one< StateType > state_; + static const StateType state_default_value_; + AnyAttributeSet any_attribute_; + }; + + class EndpointStatusType: public ::LinphonePrivate::Xsd::XmlSchema::String + { + public: + enum Value + { + pending, + dialing_out, + dialing_in, + alerting, + on_hold, + connected, + muted_via_focus, + disconnecting, + disconnected + }; + + EndpointStatusType (Value v); + + EndpointStatusType (const char* v); + + EndpointStatusType (const ::std::string& v); + + EndpointStatusType (const ::LinphonePrivate::Xsd::XmlSchema::String& v); + + EndpointStatusType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + EndpointStatusType (const ::xercesc::DOMAttr& a, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + EndpointStatusType (const ::std::string& s, + const ::xercesc::DOMElement* e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + EndpointStatusType (const EndpointStatusType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + virtual EndpointStatusType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; + + EndpointStatusType& + operator= (Value v); + + virtual + operator Value () const + { + return _xsd_EndpointStatusType_convert (); + } + + protected: + Value + _xsd_EndpointStatusType_convert () const; + + public: + static const char* const _xsd_EndpointStatusType_literals_[9]; + static const Value _xsd_EndpointStatusType_indexes_[9]; + }; + + class JoiningType: public ::LinphonePrivate::Xsd::XmlSchema::String + { + public: + enum Value + { + dialed_in, + dialed_out, + focus_owner + }; + + JoiningType (Value v); + + JoiningType (const char* v); + + JoiningType (const ::std::string& v); + + JoiningType (const ::LinphonePrivate::Xsd::XmlSchema::String& v); + + JoiningType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + JoiningType (const ::xercesc::DOMAttr& a, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + JoiningType (const ::std::string& s, + const ::xercesc::DOMElement* e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + JoiningType (const JoiningType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + virtual JoiningType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; + + JoiningType& + operator= (Value v); + + virtual + operator Value () const + { + return _xsd_JoiningType_convert (); + } + + protected: + Value + _xsd_JoiningType_convert () const; + + public: + static const char* const _xsd_JoiningType_literals_[3]; + static const Value _xsd_JoiningType_indexes_[3]; + }; + + class DisconnectionType: public ::LinphonePrivate::Xsd::XmlSchema::String + { + public: + enum Value + { + departed, + booted, + failed, + busy + }; + + DisconnectionType (Value v); + + DisconnectionType (const char* v); + + DisconnectionType (const ::std::string& v); + + DisconnectionType (const ::LinphonePrivate::Xsd::XmlSchema::String& v); + + DisconnectionType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + DisconnectionType (const ::xercesc::DOMAttr& a, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + DisconnectionType (const ::std::string& s, + const ::xercesc::DOMElement* e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + DisconnectionType (const DisconnectionType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + virtual DisconnectionType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; + + DisconnectionType& + operator= (Value v); + + virtual + operator Value () const + { + return _xsd_DisconnectionType_convert (); + } + + protected: + Value + _xsd_DisconnectionType_convert () const; + + public: + static const char* const _xsd_DisconnectionType_literals_[4]; + static const Value _xsd_DisconnectionType_indexes_[4]; + }; + + class ExecutionType: public ::LinphonePrivate::Xsd::XmlSchema::Type + { + public: + // when + // + typedef ::LinphonePrivate::Xsd::XmlSchema::DateTime WhenType; + typedef ::xsd::cxx::tree::optional< WhenType > WhenOptional; + typedef ::xsd::cxx::tree::traits< WhenType, char > WhenTraits; + + const WhenOptional& + getWhen () const; + + WhenOptional& + getWhen (); + + void + setWhen (const WhenType& x); + + void + setWhen (const WhenOptional& x); + + void + setWhen (::std::unique_ptr< WhenType > p); + + // reason + // + typedef ::LinphonePrivate::Xsd::XmlSchema::String ReasonType; + typedef ::xsd::cxx::tree::optional< ReasonType > ReasonOptional; + typedef ::xsd::cxx::tree::traits< ReasonType, char > ReasonTraits; + + const ReasonOptional& + getReason () const; + + ReasonOptional& + getReason (); + + void + setReason (const ReasonType& x); + + void + setReason (const ReasonOptional& x); + + void + setReason (::std::unique_ptr< ReasonType > p); + + // by + // + typedef ::LinphonePrivate::Xsd::XmlSchema::Uri ByType; + typedef ::xsd::cxx::tree::optional< ByType > ByOptional; + typedef ::xsd::cxx::tree::traits< ByType, char > ByTraits; + + const ByOptional& + getBy () const; + + ByOptional& + getBy (); + + void + setBy (const ByType& x); + + void + setBy (const ByOptional& x); + + void + setBy (::std::unique_ptr< ByType > p); + + // any_attribute + // + typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; + typedef AnyAttributeSet::iterator AnyAttributeIterator; + typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; + + const AnyAttributeSet& + getAnyAttribute () const; + + AnyAttributeSet& + getAnyAttribute (); + + void + setAnyAttribute (const AnyAttributeSet& s); + + // DOMDocument for wildcard content. + // + const ::xercesc::DOMDocument& + getDomDocument () const; + + ::xercesc::DOMDocument& + getDomDocument (); + + // Constructors. + // + ExecutionType (); + + ExecutionType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + ExecutionType (const ExecutionType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + virtual ExecutionType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; + + ExecutionType& + operator= (const ExecutionType& x); + + virtual + ~ExecutionType (); + + // Implementation. + // + protected: + void + parse (::xsd::cxx::xml::dom::parser< char >&, + ::LinphonePrivate::Xsd::XmlSchema::Flags); + + protected: + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; + + WhenOptional when_; + ReasonOptional reason_; + ByOptional by_; + AnyAttributeSet any_attribute_; + }; + + class CallType: public ::LinphonePrivate::Xsd::XmlSchema::Type + { + public: + // sip + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::SipDialogIdType SipType; + typedef ::xsd::cxx::tree::optional< SipType > SipOptional; + typedef ::xsd::cxx::tree::traits< SipType, char > SipTraits; + + const SipOptional& + getSip () const; + + SipOptional& + getSip (); + + void + setSip (const SipType& x); + + void + setSip (const SipOptional& x); + + void + setSip (::std::unique_ptr< SipType > p); + + // any + // + typedef ::xsd::cxx::tree::element_sequence AnySequence; + typedef AnySequence::iterator AnyIterator; + typedef AnySequence::const_iterator AnyConstIterator; + + const AnySequence& + getAny () const; + + AnySequence& + getAny (); + + void + setAny (const AnySequence& s); + + // any_attribute + // + typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; + typedef AnyAttributeSet::iterator AnyAttributeIterator; + typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; + + const AnyAttributeSet& + getAnyAttribute () const; + + AnyAttributeSet& + getAnyAttribute (); + + void + setAnyAttribute (const AnyAttributeSet& s); + + // DOMDocument for wildcard content. + // + const ::xercesc::DOMDocument& + getDomDocument () const; + + ::xercesc::DOMDocument& + getDomDocument (); + + // Constructors. + // + CallType (); + + CallType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + CallType (const CallType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + virtual CallType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; + + CallType& + operator= (const CallType& x); + + virtual + ~CallType (); + + // Implementation. + // + protected: + void + parse (::xsd::cxx::xml::dom::parser< char >&, + ::LinphonePrivate::Xsd::XmlSchema::Flags); + + protected: + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; + + SipOptional sip_; + AnySequence any_; + AnyAttributeSet any_attribute_; + }; + + class SipDialogIdType: public ::LinphonePrivate::Xsd::XmlSchema::Type + { + public: + // display-text + // + typedef ::LinphonePrivate::Xsd::XmlSchema::String DisplayTextType; + typedef ::xsd::cxx::tree::optional< DisplayTextType > DisplayTextOptional; + typedef ::xsd::cxx::tree::traits< DisplayTextType, char > DisplayTextTraits; + + const DisplayTextOptional& + getDisplayText () const; + + DisplayTextOptional& + getDisplayText (); + + void + setDisplayText (const DisplayTextType& x); + + void + setDisplayText (const DisplayTextOptional& x); + + void + setDisplayText (::std::unique_ptr< DisplayTextType > p); + + // call-id + // + typedef ::LinphonePrivate::Xsd::XmlSchema::String CallIdType; + typedef ::xsd::cxx::tree::traits< CallIdType, char > CallIdTraits; + + const CallIdType& + getCallId () const; + + CallIdType& + getCallId (); + + void + setCallId (const CallIdType& x); + + void + setCallId (::std::unique_ptr< CallIdType > p); + + ::std::unique_ptr< CallIdType > + setDetachCall_id (); + + // from-tag + // + typedef ::LinphonePrivate::Xsd::XmlSchema::String FromTagType; + typedef ::xsd::cxx::tree::traits< FromTagType, char > FromTagTraits; + + const FromTagType& + getFromTag () const; + + FromTagType& + getFromTag (); + + void + setFromTag (const FromTagType& x); + + void + setFromTag (::std::unique_ptr< FromTagType > p); + + ::std::unique_ptr< FromTagType > + setDetachFrom_tag (); + + // to-tag + // + typedef ::LinphonePrivate::Xsd::XmlSchema::String ToTagType; + typedef ::xsd::cxx::tree::traits< ToTagType, char > ToTagTraits; + + const ToTagType& + getToTag () const; + + ToTagType& + getToTag (); + + void + setToTag (const ToTagType& x); + + void + setToTag (::std::unique_ptr< ToTagType > p); + + ::std::unique_ptr< ToTagType > + setDetachTo_tag (); + + // any + // + typedef ::xsd::cxx::tree::element_sequence AnySequence; + typedef AnySequence::iterator AnyIterator; + typedef AnySequence::const_iterator AnyConstIterator; + + const AnySequence& + getAny () const; + + AnySequence& + getAny (); + + void + setAny (const AnySequence& s); + + // any_attribute + // + typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; + typedef AnyAttributeSet::iterator AnyAttributeIterator; + typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; + + const AnyAttributeSet& + getAnyAttribute () const; + + AnyAttributeSet& + getAnyAttribute (); + + void + setAnyAttribute (const AnyAttributeSet& s); + + // DOMDocument for wildcard content. + // + const ::xercesc::DOMDocument& + getDomDocument () const; + + ::xercesc::DOMDocument& + getDomDocument (); + + // Constructors. + // + SipDialogIdType (const CallIdType&, + const FromTagType&, + const ToTagType&); + + SipDialogIdType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + SipDialogIdType (const SipDialogIdType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + virtual SipDialogIdType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; + + SipDialogIdType& + operator= (const SipDialogIdType& x); + + virtual + ~SipDialogIdType (); + + // Implementation. + // + protected: + void + parse (::xsd::cxx::xml::dom::parser< char >&, + ::LinphonePrivate::Xsd::XmlSchema::Flags); + + protected: + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; + + DisplayTextOptional display_text_; + ::xsd::cxx::tree::one< CallIdType > call_id_; + ::xsd::cxx::tree::one< FromTagType > from_tag_; + ::xsd::cxx::tree::one< ToTagType > to_tag_; + AnySequence any_; + AnyAttributeSet any_attribute_; + }; + + class MediaType: public ::LinphonePrivate::Xsd::XmlSchema::Type + { + public: + // display-text + // + typedef ::LinphonePrivate::Xsd::XmlSchema::String DisplayTextType; + typedef ::xsd::cxx::tree::optional< DisplayTextType > DisplayTextOptional; + typedef ::xsd::cxx::tree::traits< DisplayTextType, char > DisplayTextTraits; + + const DisplayTextOptional& + getDisplayText () const; + + DisplayTextOptional& + getDisplayText (); + + void + setDisplayText (const DisplayTextType& x); + + void + setDisplayText (const DisplayTextOptional& x); + + void + setDisplayText (::std::unique_ptr< DisplayTextType > p); + + // type + // + typedef ::LinphonePrivate::Xsd::XmlSchema::String TypeType; + typedef ::xsd::cxx::tree::optional< TypeType > TypeOptional; + typedef ::xsd::cxx::tree::traits< TypeType, char > TypeTraits; + + const TypeOptional& + getType () const; + + TypeOptional& + getType (); + + void + setType (const TypeType& x); + + void + setType (const TypeOptional& x); + + void + setType (::std::unique_ptr< TypeType > p); + + // label + // + typedef ::LinphonePrivate::Xsd::XmlSchema::String LabelType; + typedef ::xsd::cxx::tree::optional< LabelType > LabelOptional; + typedef ::xsd::cxx::tree::traits< LabelType, char > LabelTraits; + + const LabelOptional& + getLabel () const; + + LabelOptional& + getLabel (); + + void + setLabel (const LabelType& x); + + void + setLabel (const LabelOptional& x); + + void + setLabel (::std::unique_ptr< LabelType > p); + + // src-id + // + typedef ::LinphonePrivate::Xsd::XmlSchema::String SrcIdType; + typedef ::xsd::cxx::tree::optional< SrcIdType > SrcIdOptional; + typedef ::xsd::cxx::tree::traits< SrcIdType, char > SrcIdTraits; + + const SrcIdOptional& + getSrcId () const; + + SrcIdOptional& + getSrcId (); + + void + setSrcId (const SrcIdType& x); + + void + setSrcId (const SrcIdOptional& x); + + void + setSrcId (::std::unique_ptr< SrcIdType > p); + + // status + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::MediaStatusType StatusType; + typedef ::xsd::cxx::tree::optional< StatusType > StatusOptional; + typedef ::xsd::cxx::tree::traits< StatusType, char > StatusTraits; + + const StatusOptional& + getStatus () const; + + StatusOptional& + getStatus (); + + void + setStatus (const StatusType& x); + + void + setStatus (const StatusOptional& x); + + void + setStatus (::std::unique_ptr< StatusType > p); + + // any + // + typedef ::xsd::cxx::tree::element_sequence AnySequence; + typedef AnySequence::iterator AnyIterator; + typedef AnySequence::const_iterator AnyConstIterator; + + const AnySequence& + getAny () const; + + AnySequence& + getAny (); + + void + setAny (const AnySequence& s); + + // id + // + typedef ::LinphonePrivate::Xsd::XmlSchema::String IdType; + typedef ::xsd::cxx::tree::traits< IdType, char > IdTraits; + + const IdType& + getId () const; + + IdType& + getId (); + + void + setId (const IdType& x); + + void + setId (::std::unique_ptr< IdType > p); + + ::std::unique_ptr< IdType > + setDetachId (); + + // any_attribute + // + typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; + typedef AnyAttributeSet::iterator AnyAttributeIterator; + typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; + + const AnyAttributeSet& + getAnyAttribute () const; + + AnyAttributeSet& + getAnyAttribute (); + + void + setAnyAttribute (const AnyAttributeSet& s); + + // DOMDocument for wildcard content. + // + const ::xercesc::DOMDocument& + getDomDocument () const; + + ::xercesc::DOMDocument& + getDomDocument (); + + // Constructors. + // + MediaType (const IdType&); + + MediaType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + MediaType (const MediaType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + virtual MediaType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; + + MediaType& + operator= (const MediaType& x); + + virtual + ~MediaType (); + + // Implementation. + // + protected: + void + parse (::xsd::cxx::xml::dom::parser< char >&, + ::LinphonePrivate::Xsd::XmlSchema::Flags); + + protected: + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; + + DisplayTextOptional display_text_; + TypeOptional type_; + LabelOptional label_; + SrcIdOptional src_id_; + StatusOptional status_; + AnySequence any_; + ::xsd::cxx::tree::one< IdType > id_; + AnyAttributeSet any_attribute_; + }; + + class MediaStatusType: public ::LinphonePrivate::Xsd::XmlSchema::String + { + public: + enum Value + { + recvonly, + sendonly, + sendrecv, + inactive + }; + + MediaStatusType (Value v); + + MediaStatusType (const char* v); + + MediaStatusType (const ::std::string& v); + + MediaStatusType (const ::LinphonePrivate::Xsd::XmlSchema::String& v); + + MediaStatusType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + MediaStatusType (const ::xercesc::DOMAttr& a, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + MediaStatusType (const ::std::string& s, const ::xercesc::DOMElement* e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); - User_languages_type (const User_languages_type& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + MediaStatusType (const MediaStatusType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); - virtual User_languages_type* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; + virtual MediaStatusType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; - virtual - ~User_languages_type (); - }; + MediaStatusType& + operator= (Value v); - class Endpoint_type: public ::xml_schema::Type - { - public: - // display-text - // - typedef ::xml_schema::String Display_textType; - typedef ::xsd::cxx::tree::optional< Display_textType > Display_textOptional; - typedef ::xsd::cxx::tree::traits< Display_textType, char > Display_textTraits; + virtual + operator Value () const + { + return _xsd_MediaStatusType_convert (); + } - const Display_textOptional& - getDisplay_text () const; + protected: + Value + _xsd_MediaStatusType_convert () const; - Display_textOptional& - getDisplay_text (); + public: + static const char* const _xsd_MediaStatusType_literals_[4]; + static const Value _xsd_MediaStatusType_indexes_[4]; + }; - void - setDisplay_text (const Display_textType& x); + class SidebarsByValType: public ::LinphonePrivate::Xsd::XmlSchema::Type + { + public: + // entry + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType EntryType; + typedef ::xsd::cxx::tree::sequence< EntryType > EntrySequence; + typedef EntrySequence::iterator EntryIterator; + typedef EntrySequence::const_iterator EntryConstIterator; + typedef ::xsd::cxx::tree::traits< EntryType, char > EntryTraits; + + const EntrySequence& + getEntry () const; + + EntrySequence& + getEntry (); + + void + setEntry (const EntrySequence& s); + + // state + // + typedef ::LinphonePrivate::Xsd::ConferenceInfo::StateType StateType; + typedef ::xsd::cxx::tree::traits< StateType, char > StateTraits; + + const StateType& + getState () const; + + StateType& + getState (); + + void + setState (const StateType& x); + + void + setState (::std::unique_ptr< StateType > p); + + ::std::unique_ptr< StateType > + setDetachState (); + + static const StateType& + getStateDefaultValue (); + + // any_attribute + // + typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; + typedef AnyAttributeSet::iterator AnyAttributeIterator; + typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; + + const AnyAttributeSet& + getAnyAttribute () const; + + AnyAttributeSet& + getAnyAttribute (); + + void + setAnyAttribute (const AnyAttributeSet& s); + + // DOMDocument for wildcard content. + // + const ::xercesc::DOMDocument& + getDomDocument () const; + + ::xercesc::DOMDocument& + getDomDocument (); + + // Constructors. + // + SidebarsByValType (); + + SidebarsByValType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); - void - setDisplay_text (const Display_textOptional& x); + SidebarsByValType (const SidebarsByValType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); - void - setDisplay_text (::std::unique_ptr< Display_textType > p); + virtual SidebarsByValType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; - // referred - // - typedef ::conference_info::Execution_type ReferredType; - typedef ::xsd::cxx::tree::optional< ReferredType > ReferredOptional; - typedef ::xsd::cxx::tree::traits< ReferredType, char > ReferredTraits; + SidebarsByValType& + operator= (const SidebarsByValType& x); - const ReferredOptional& - getReferred () const; + virtual + ~SidebarsByValType (); + + // Implementation. + // + protected: + void + parse (::xsd::cxx::xml::dom::parser< char >&, + ::LinphonePrivate::Xsd::XmlSchema::Flags); - ReferredOptional& - getReferred (); + protected: + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; - void - setReferred (const ReferredType& x); - - void - setReferred (const ReferredOptional& x); - - void - setReferred (::std::unique_ptr< ReferredType > p); - - // status - // - typedef ::conference_info::Endpoint_status_type StatusType; - typedef ::xsd::cxx::tree::optional< StatusType > StatusOptional; - typedef ::xsd::cxx::tree::traits< StatusType, char > StatusTraits; - - const StatusOptional& - getStatus () const; - - StatusOptional& - getStatus (); - - void - setStatus (const StatusType& x); - - void - setStatus (const StatusOptional& x); - - void - setStatus (::std::unique_ptr< StatusType > p); - - // joining-method - // - typedef ::conference_info::Joining_type Joining_methodType; - typedef ::xsd::cxx::tree::optional< Joining_methodType > Joining_methodOptional; - typedef ::xsd::cxx::tree::traits< Joining_methodType, char > Joining_methodTraits; - - const Joining_methodOptional& - getJoining_method () const; - - Joining_methodOptional& - getJoining_method (); - - void - setJoining_method (const Joining_methodType& x); - - void - setJoining_method (const Joining_methodOptional& x); - - void - setJoining_method (::std::unique_ptr< Joining_methodType > p); - - // joining-info - // - typedef ::conference_info::Execution_type Joining_infoType; - typedef ::xsd::cxx::tree::optional< Joining_infoType > Joining_infoOptional; - typedef ::xsd::cxx::tree::traits< Joining_infoType, char > Joining_infoTraits; - - const Joining_infoOptional& - getJoining_info () const; - - Joining_infoOptional& - getJoining_info (); - - void - setJoining_info (const Joining_infoType& x); - - void - setJoining_info (const Joining_infoOptional& x); - - void - setJoining_info (::std::unique_ptr< Joining_infoType > p); - - // disconnection-method - // - typedef ::conference_info::Disconnection_type Disconnection_methodType; - typedef ::xsd::cxx::tree::optional< Disconnection_methodType > Disconnection_methodOptional; - typedef ::xsd::cxx::tree::traits< Disconnection_methodType, char > Disconnection_methodTraits; - - const Disconnection_methodOptional& - getDisconnection_method () const; - - Disconnection_methodOptional& - getDisconnection_method (); - - void - setDisconnection_method (const Disconnection_methodType& x); - - void - setDisconnection_method (const Disconnection_methodOptional& x); - - void - setDisconnection_method (::std::unique_ptr< Disconnection_methodType > p); - - // disconnection-info - // - typedef ::conference_info::Execution_type Disconnection_infoType; - typedef ::xsd::cxx::tree::optional< Disconnection_infoType > Disconnection_infoOptional; - typedef ::xsd::cxx::tree::traits< Disconnection_infoType, char > Disconnection_infoTraits; - - const Disconnection_infoOptional& - getDisconnection_info () const; - - Disconnection_infoOptional& - getDisconnection_info (); - - void - setDisconnection_info (const Disconnection_infoType& x); - - void - setDisconnection_info (const Disconnection_infoOptional& x); - - void - setDisconnection_info (::std::unique_ptr< Disconnection_infoType > p); - - // media - // - typedef ::conference_info::Media_type MediaType; - typedef ::xsd::cxx::tree::sequence< MediaType > MediaSequence; - typedef MediaSequence::iterator MediaIterator; - typedef MediaSequence::const_iterator MediaConstIterator; - typedef ::xsd::cxx::tree::traits< MediaType, char > MediaTraits; - - const MediaSequence& - getMedia () const; - - MediaSequence& - getMedia (); - - void - setMedia (const MediaSequence& s); - - // call-info - // - typedef ::conference_info::Call_type Call_infoType; - typedef ::xsd::cxx::tree::optional< Call_infoType > Call_infoOptional; - typedef ::xsd::cxx::tree::traits< Call_infoType, char > Call_infoTraits; - - const Call_infoOptional& - getCall_info () const; - - Call_infoOptional& - getCall_info (); - - void - setCall_info (const Call_infoType& x); - - void - setCall_info (const Call_infoOptional& x); - - void - setCall_info (::std::unique_ptr< Call_infoType > p); - - // any - // - typedef ::xsd::cxx::tree::element_sequence AnySequence; - typedef AnySequence::iterator AnyIterator; - typedef AnySequence::const_iterator AnyConstIterator; - - const AnySequence& - getAny () const; - - AnySequence& - getAny (); - - void - setAny (const AnySequence& s); - - // entity - // - typedef ::xml_schema::String EntityType; - typedef ::xsd::cxx::tree::optional< EntityType > EntityOptional; - typedef ::xsd::cxx::tree::traits< EntityType, char > EntityTraits; - - const EntityOptional& - getEntity () const; - - EntityOptional& - getEntity (); - - void - setEntity (const EntityType& x); - - void - setEntity (const EntityOptional& x); - - void - setEntity (::std::unique_ptr< EntityType > p); - - // state - // - typedef ::conference_info::State_type StateType; - typedef ::xsd::cxx::tree::traits< StateType, char > StateTraits; - - const StateType& - getState () const; - - StateType& - getState (); - - void - setState (const StateType& x); - - void - setState (::std::unique_ptr< StateType > p); - - ::std::unique_ptr< StateType > - detachState (); - - static const StateType& - getStateDefaultValue (); - - // any_attribute - // - typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; - typedef AnyAttributeSet::iterator AnyAttributeIterator; - typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; - - const AnyAttributeSet& - getAnyAttribute () const; - - AnyAttributeSet& - getAnyAttribute (); - - void - setAnyAttribute (const AnyAttributeSet& s); - - // DOMDocument for wildcard content. - // - const ::xercesc::DOMDocument& - getDomDocument () const; - - ::xercesc::DOMDocument& - getDomDocument (); - - // Constructors. - // - Endpoint_type (); - - Endpoint_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Endpoint_type (const Endpoint_type& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - virtual Endpoint_type* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; - - Endpoint_type& - operator= (const Endpoint_type& x); - - virtual - ~Endpoint_type (); - - // Implementation. - // - protected: - void - parse (::xsd::cxx::xml::dom::parser< char >&, - ::xml_schema::Flags); - - protected: - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; - - Display_textOptional display_text_; - ReferredOptional referred_; - StatusOptional status_; - Joining_methodOptional joining_method_; - Joining_infoOptional joining_info_; - Disconnection_methodOptional disconnection_method_; - Disconnection_infoOptional disconnection_info_; - MediaSequence media_; - Call_infoOptional call_info_; - AnySequence any_; - EntityOptional entity_; - ::xsd::cxx::tree::one< StateType > state_; - static const StateType state_default_value_; - AnyAttributeSet any_attribute_; - }; - - class Endpoint_status_type: public ::xml_schema::String - { - public: - enum Value - { - pending, - dialing_out, - dialing_in, - alerting, - on_hold, - connected, - muted_via_focus, - disconnecting, - disconnected - }; - - Endpoint_status_type (Value v); - - Endpoint_status_type (const char* v); - - Endpoint_status_type (const ::std::string& v); - - Endpoint_status_type (const ::xml_schema::String& v); - - Endpoint_status_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Endpoint_status_type (const ::xercesc::DOMAttr& a, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Endpoint_status_type (const ::std::string& s, - const ::xercesc::DOMElement* e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Endpoint_status_type (const Endpoint_status_type& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - virtual Endpoint_status_type* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; - - Endpoint_status_type& - operator= (Value v); - - virtual - operator Value () const - { - return _xsd_Endpoint_status_type_convert (); + EntrySequence entry_; + ::xsd::cxx::tree::one< StateType > state_; + static const StateType state_default_value_; + AnyAttributeSet any_attribute_; + }; } - - protected: - Value - _xsd_Endpoint_status_type_convert () const; - - public: - static const char* const _xsd_Endpoint_status_type_literals_[9]; - static const Value _xsd_Endpoint_status_type_indexes_[9]; - }; - - class Joining_type: public ::xml_schema::String - { - public: - enum Value - { - dialed_in, - dialed_out, - focus_owner - }; - - Joining_type (Value v); - - Joining_type (const char* v); - - Joining_type (const ::std::string& v); - - Joining_type (const ::xml_schema::String& v); - - Joining_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Joining_type (const ::xercesc::DOMAttr& a, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Joining_type (const ::std::string& s, - const ::xercesc::DOMElement* e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Joining_type (const Joining_type& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - virtual Joining_type* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; - - Joining_type& - operator= (Value v); - - virtual - operator Value () const - { - return _xsd_Joining_type_convert (); - } - - protected: - Value - _xsd_Joining_type_convert () const; - - public: - static const char* const _xsd_Joining_type_literals_[3]; - static const Value _xsd_Joining_type_indexes_[3]; - }; - - class Disconnection_type: public ::xml_schema::String - { - public: - enum Value - { - departed, - booted, - failed, - busy - }; - - Disconnection_type (Value v); - - Disconnection_type (const char* v); - - Disconnection_type (const ::std::string& v); - - Disconnection_type (const ::xml_schema::String& v); - - Disconnection_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Disconnection_type (const ::xercesc::DOMAttr& a, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Disconnection_type (const ::std::string& s, - const ::xercesc::DOMElement* e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Disconnection_type (const Disconnection_type& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - virtual Disconnection_type* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; - - Disconnection_type& - operator= (Value v); - - virtual - operator Value () const - { - return _xsd_Disconnection_type_convert (); - } - - protected: - Value - _xsd_Disconnection_type_convert () const; - - public: - static const char* const _xsd_Disconnection_type_literals_[4]; - static const Value _xsd_Disconnection_type_indexes_[4]; - }; - - class Execution_type: public ::xml_schema::Type - { - public: - // when - // - typedef ::xml_schema::DateTime WhenType; - typedef ::xsd::cxx::tree::optional< WhenType > WhenOptional; - typedef ::xsd::cxx::tree::traits< WhenType, char > WhenTraits; - - const WhenOptional& - getWhen () const; - - WhenOptional& - getWhen (); - - void - setWhen (const WhenType& x); - - void - setWhen (const WhenOptional& x); - - void - setWhen (::std::unique_ptr< WhenType > p); - - // reason - // - typedef ::xml_schema::String ReasonType; - typedef ::xsd::cxx::tree::optional< ReasonType > ReasonOptional; - typedef ::xsd::cxx::tree::traits< ReasonType, char > ReasonTraits; - - const ReasonOptional& - getReason () const; - - ReasonOptional& - getReason (); - - void - setReason (const ReasonType& x); - - void - setReason (const ReasonOptional& x); - - void - setReason (::std::unique_ptr< ReasonType > p); - - // by - // - typedef ::xml_schema::Uri ByType; - typedef ::xsd::cxx::tree::optional< ByType > ByOptional; - typedef ::xsd::cxx::tree::traits< ByType, char > ByTraits; - - const ByOptional& - getBy () const; - - ByOptional& - getBy (); - - void - setBy (const ByType& x); - - void - setBy (const ByOptional& x); - - void - setBy (::std::unique_ptr< ByType > p); - - // any_attribute - // - typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; - typedef AnyAttributeSet::iterator AnyAttributeIterator; - typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; - - const AnyAttributeSet& - getAnyAttribute () const; - - AnyAttributeSet& - getAnyAttribute (); - - void - setAnyAttribute (const AnyAttributeSet& s); - - // DOMDocument for wildcard content. - // - const ::xercesc::DOMDocument& - getDomDocument () const; - - ::xercesc::DOMDocument& - getDomDocument (); - - // Constructors. - // - Execution_type (); - - Execution_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Execution_type (const Execution_type& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - virtual Execution_type* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; - - Execution_type& - operator= (const Execution_type& x); - - virtual - ~Execution_type (); - - // Implementation. - // - protected: - void - parse (::xsd::cxx::xml::dom::parser< char >&, - ::xml_schema::Flags); - - protected: - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; - - WhenOptional when_; - ReasonOptional reason_; - ByOptional by_; - AnyAttributeSet any_attribute_; - }; - - class Call_type: public ::xml_schema::Type - { - public: - // sip - // - typedef ::conference_info::Sip_dialog_id_type SipType; - typedef ::xsd::cxx::tree::optional< SipType > SipOptional; - typedef ::xsd::cxx::tree::traits< SipType, char > SipTraits; - - const SipOptional& - getSip () const; - - SipOptional& - getSip (); - - void - setSip (const SipType& x); - - void - setSip (const SipOptional& x); - - void - setSip (::std::unique_ptr< SipType > p); - - // any - // - typedef ::xsd::cxx::tree::element_sequence AnySequence; - typedef AnySequence::iterator AnyIterator; - typedef AnySequence::const_iterator AnyConstIterator; - - const AnySequence& - getAny () const; - - AnySequence& - getAny (); - - void - setAny (const AnySequence& s); - - // any_attribute - // - typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; - typedef AnyAttributeSet::iterator AnyAttributeIterator; - typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; - - const AnyAttributeSet& - getAnyAttribute () const; - - AnyAttributeSet& - getAnyAttribute (); - - void - setAnyAttribute (const AnyAttributeSet& s); - - // DOMDocument for wildcard content. - // - const ::xercesc::DOMDocument& - getDomDocument () const; - - ::xercesc::DOMDocument& - getDomDocument (); - - // Constructors. - // - Call_type (); - - Call_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Call_type (const Call_type& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - virtual Call_type* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; - - Call_type& - operator= (const Call_type& x); - - virtual - ~Call_type (); - - // Implementation. - // - protected: - void - parse (::xsd::cxx::xml::dom::parser< char >&, - ::xml_schema::Flags); - - protected: - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; - - SipOptional sip_; - AnySequence any_; - AnyAttributeSet any_attribute_; - }; - - class Sip_dialog_id_type: public ::xml_schema::Type - { - public: - // display-text - // - typedef ::xml_schema::String Display_textType; - typedef ::xsd::cxx::tree::optional< Display_textType > Display_textOptional; - typedef ::xsd::cxx::tree::traits< Display_textType, char > Display_textTraits; - - const Display_textOptional& - getDisplay_text () const; - - Display_textOptional& - getDisplay_text (); - - void - setDisplay_text (const Display_textType& x); - - void - setDisplay_text (const Display_textOptional& x); - - void - setDisplay_text (::std::unique_ptr< Display_textType > p); - - // call-id - // - typedef ::xml_schema::String Call_idType; - typedef ::xsd::cxx::tree::traits< Call_idType, char > Call_idTraits; - - const Call_idType& - getCall_id () const; - - Call_idType& - getCall_id (); - - void - setCall_id (const Call_idType& x); - - void - setCall_id (::std::unique_ptr< Call_idType > p); - - ::std::unique_ptr< Call_idType > - detachCall_id (); - - // from-tag - // - typedef ::xml_schema::String From_tagType; - typedef ::xsd::cxx::tree::traits< From_tagType, char > From_tagTraits; - - const From_tagType& - getFrom_tag () const; - - From_tagType& - getFrom_tag (); - - void - setFrom_tag (const From_tagType& x); - - void - setFrom_tag (::std::unique_ptr< From_tagType > p); - - ::std::unique_ptr< From_tagType > - detachFrom_tag (); - - // to-tag - // - typedef ::xml_schema::String To_tagType; - typedef ::xsd::cxx::tree::traits< To_tagType, char > To_tagTraits; - - const To_tagType& - getTo_tag () const; - - To_tagType& - getTo_tag (); - - void - setTo_tag (const To_tagType& x); - - void - setTo_tag (::std::unique_ptr< To_tagType > p); - - ::std::unique_ptr< To_tagType > - detachTo_tag (); - - // any - // - typedef ::xsd::cxx::tree::element_sequence AnySequence; - typedef AnySequence::iterator AnyIterator; - typedef AnySequence::const_iterator AnyConstIterator; - - const AnySequence& - getAny () const; - - AnySequence& - getAny (); - - void - setAny (const AnySequence& s); - - // any_attribute - // - typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; - typedef AnyAttributeSet::iterator AnyAttributeIterator; - typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; - - const AnyAttributeSet& - getAnyAttribute () const; - - AnyAttributeSet& - getAnyAttribute (); - - void - setAnyAttribute (const AnyAttributeSet& s); - - // DOMDocument for wildcard content. - // - const ::xercesc::DOMDocument& - getDomDocument () const; - - ::xercesc::DOMDocument& - getDomDocument (); - - // Constructors. - // - Sip_dialog_id_type (const Call_idType&, - const From_tagType&, - const To_tagType&); - - Sip_dialog_id_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Sip_dialog_id_type (const Sip_dialog_id_type& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - virtual Sip_dialog_id_type* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; - - Sip_dialog_id_type& - operator= (const Sip_dialog_id_type& x); - - virtual - ~Sip_dialog_id_type (); - - // Implementation. - // - protected: - void - parse (::xsd::cxx::xml::dom::parser< char >&, - ::xml_schema::Flags); - - protected: - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; - - Display_textOptional display_text_; - ::xsd::cxx::tree::one< Call_idType > call_id_; - ::xsd::cxx::tree::one< From_tagType > from_tag_; - ::xsd::cxx::tree::one< To_tagType > to_tag_; - AnySequence any_; - AnyAttributeSet any_attribute_; - }; - - class Media_type: public ::xml_schema::Type - { - public: - // display-text - // - typedef ::xml_schema::String Display_textType; - typedef ::xsd::cxx::tree::optional< Display_textType > Display_textOptional; - typedef ::xsd::cxx::tree::traits< Display_textType, char > Display_textTraits; - - const Display_textOptional& - getDisplay_text () const; - - Display_textOptional& - getDisplay_text (); - - void - setDisplay_text (const Display_textType& x); - - void - setDisplay_text (const Display_textOptional& x); - - void - setDisplay_text (::std::unique_ptr< Display_textType > p); - - // type - // - typedef ::xml_schema::String TypeType; - typedef ::xsd::cxx::tree::optional< TypeType > TypeOptional; - typedef ::xsd::cxx::tree::traits< TypeType, char > TypeTraits; - - const TypeOptional& - getType () const; - - TypeOptional& - getType (); - - void - setType (const TypeType& x); - - void - setType (const TypeOptional& x); - - void - setType (::std::unique_ptr< TypeType > p); - - // label - // - typedef ::xml_schema::String LabelType; - typedef ::xsd::cxx::tree::optional< LabelType > LabelOptional; - typedef ::xsd::cxx::tree::traits< LabelType, char > LabelTraits; - - const LabelOptional& - getLabel () const; - - LabelOptional& - getLabel (); - - void - setLabel (const LabelType& x); - - void - setLabel (const LabelOptional& x); - - void - setLabel (::std::unique_ptr< LabelType > p); - - // src-id - // - typedef ::xml_schema::String Src_idType; - typedef ::xsd::cxx::tree::optional< Src_idType > Src_idOptional; - typedef ::xsd::cxx::tree::traits< Src_idType, char > Src_idTraits; - - const Src_idOptional& - getSrc_id () const; - - Src_idOptional& - getSrc_id (); - - void - setSrc_id (const Src_idType& x); - - void - setSrc_id (const Src_idOptional& x); - - void - setSrc_id (::std::unique_ptr< Src_idType > p); - - // status - // - typedef ::conference_info::Media_status_type StatusType; - typedef ::xsd::cxx::tree::optional< StatusType > StatusOptional; - typedef ::xsd::cxx::tree::traits< StatusType, char > StatusTraits; - - const StatusOptional& - getStatus () const; - - StatusOptional& - getStatus (); - - void - setStatus (const StatusType& x); - - void - setStatus (const StatusOptional& x); - - void - setStatus (::std::unique_ptr< StatusType > p); - - // any - // - typedef ::xsd::cxx::tree::element_sequence AnySequence; - typedef AnySequence::iterator AnyIterator; - typedef AnySequence::const_iterator AnyConstIterator; - - const AnySequence& - getAny () const; - - AnySequence& - getAny (); - - void - setAny (const AnySequence& s); - - // id - // - typedef ::xml_schema::String IdType; - typedef ::xsd::cxx::tree::traits< IdType, char > IdTraits; - - const IdType& - getId () const; - - IdType& - getId (); - - void - setId (const IdType& x); - - void - setId (::std::unique_ptr< IdType > p); - - ::std::unique_ptr< IdType > - detachId (); - - // any_attribute - // - typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; - typedef AnyAttributeSet::iterator AnyAttributeIterator; - typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; - - const AnyAttributeSet& - getAnyAttribute () const; - - AnyAttributeSet& - getAnyAttribute (); - - void - setAnyAttribute (const AnyAttributeSet& s); - - // DOMDocument for wildcard content. - // - const ::xercesc::DOMDocument& - getDomDocument () const; - - ::xercesc::DOMDocument& - getDomDocument (); - - // Constructors. - // - Media_type (const IdType&); - - Media_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Media_type (const Media_type& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - virtual Media_type* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; - - Media_type& - operator= (const Media_type& x); - - virtual - ~Media_type (); - - // Implementation. - // - protected: - void - parse (::xsd::cxx::xml::dom::parser< char >&, - ::xml_schema::Flags); - - protected: - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; - - Display_textOptional display_text_; - TypeOptional type_; - LabelOptional label_; - Src_idOptional src_id_; - StatusOptional status_; - AnySequence any_; - ::xsd::cxx::tree::one< IdType > id_; - AnyAttributeSet any_attribute_; - }; - - class Media_status_type: public ::xml_schema::String - { - public: - enum Value - { - recvonly, - sendonly, - sendrecv, - inactive - }; - - Media_status_type (Value v); - - Media_status_type (const char* v); - - Media_status_type (const ::std::string& v); - - Media_status_type (const ::xml_schema::String& v); - - Media_status_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Media_status_type (const ::xercesc::DOMAttr& a, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Media_status_type (const ::std::string& s, - const ::xercesc::DOMElement* e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Media_status_type (const Media_status_type& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - virtual Media_status_type* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; - - Media_status_type& - operator= (Value v); - - virtual - operator Value () const - { - return _xsd_Media_status_type_convert (); - } - - protected: - Value - _xsd_Media_status_type_convert () const; - - public: - static const char* const _xsd_Media_status_type_literals_[4]; - static const Value _xsd_Media_status_type_indexes_[4]; - }; - - class Sidebars_by_val_type: public ::xml_schema::Type - { - public: - // entry - // - typedef ::conference_info::Conference_type EntryType; - typedef ::xsd::cxx::tree::sequence< EntryType > EntrySequence; - typedef EntrySequence::iterator EntryIterator; - typedef EntrySequence::const_iterator EntryConstIterator; - typedef ::xsd::cxx::tree::traits< EntryType, char > EntryTraits; - - const EntrySequence& - getEntry () const; - - EntrySequence& - getEntry (); - - void - setEntry (const EntrySequence& s); - - // state - // - typedef ::conference_info::State_type StateType; - typedef ::xsd::cxx::tree::traits< StateType, char > StateTraits; - - const StateType& - getState () const; - - StateType& - getState (); - - void - setState (const StateType& x); - - void - setState (::std::unique_ptr< StateType > p); - - ::std::unique_ptr< StateType > - detachState (); - - static const StateType& - getStateDefaultValue (); - - // any_attribute - // - typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; - typedef AnyAttributeSet::iterator AnyAttributeIterator; - typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; - - const AnyAttributeSet& - getAnyAttribute () const; - - AnyAttributeSet& - getAnyAttribute (); - - void - setAnyAttribute (const AnyAttributeSet& s); - - // DOMDocument for wildcard content. - // - const ::xercesc::DOMDocument& - getDomDocument () const; - - ::xercesc::DOMDocument& - getDomDocument (); - - // Constructors. - // - Sidebars_by_val_type (); - - Sidebars_by_val_type (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Sidebars_by_val_type (const Sidebars_by_val_type& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - virtual Sidebars_by_val_type* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; - - Sidebars_by_val_type& - operator= (const Sidebars_by_val_type& x); - - virtual - ~Sidebars_by_val_type (); - - // Implementation. - // - protected: - void - parse (::xsd::cxx::xml::dom::parser< char >&, - ::xml_schema::Flags); - - protected: - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; - - EntrySequence entry_; - ::xsd::cxx::tree::one< StateType > state_; - static const StateType state_default_value_; - AnyAttributeSet any_attribute_; - }; + } } #include -namespace conference_info +namespace LinphonePrivate { - ::std::ostream& - operator<< (::std::ostream&, const Conference_type&); + namespace Xsd + { + namespace ConferenceInfo + { + ::std::ostream& + operator<< (::std::ostream&, const ConferenceType&); - ::std::ostream& - operator<< (::std::ostream&, State_type::Value); + ::std::ostream& + operator<< (::std::ostream&, StateType::Value); - ::std::ostream& - operator<< (::std::ostream&, const State_type&); + ::std::ostream& + operator<< (::std::ostream&, const StateType&); - ::std::ostream& - operator<< (::std::ostream&, const Conference_description_type&); + ::std::ostream& + operator<< (::std::ostream&, const ConferenceDescriptionType&); - ::std::ostream& - operator<< (::std::ostream&, const Host_type&); + ::std::ostream& + operator<< (::std::ostream&, const HostType&); - ::std::ostream& - operator<< (::std::ostream&, const Conference_state_type&); + ::std::ostream& + operator<< (::std::ostream&, const ConferenceStateType&); - ::std::ostream& - operator<< (::std::ostream&, const Conference_media_type&); + ::std::ostream& + operator<< (::std::ostream&, const ConferenceMediaType&); - ::std::ostream& - operator<< (::std::ostream&, const Conference_medium_type&); + ::std::ostream& + operator<< (::std::ostream&, const ConferenceMediumType&); - ::std::ostream& - operator<< (::std::ostream&, const Uris_type&); + ::std::ostream& + operator<< (::std::ostream&, const UrisType&); - ::std::ostream& - operator<< (::std::ostream&, const Uri_type&); + ::std::ostream& + operator<< (::std::ostream&, const UriType&); - ::std::ostream& - operator<< (::std::ostream&, const Keywords_type&); + ::std::ostream& + operator<< (::std::ostream&, const KeywordsType&); - ::std::ostream& - operator<< (::std::ostream&, const Users_type&); + ::std::ostream& + operator<< (::std::ostream&, const UsersType&); - ::std::ostream& - operator<< (::std::ostream&, const User_type&); + ::std::ostream& + operator<< (::std::ostream&, const UserType&); - ::std::ostream& - operator<< (::std::ostream&, const User_roles_type&); + ::std::ostream& + operator<< (::std::ostream&, const UserRolesType&); - ::std::ostream& - operator<< (::std::ostream&, const User_languages_type&); + ::std::ostream& + operator<< (::std::ostream&, const UserLanguagesType&); - ::std::ostream& - operator<< (::std::ostream&, const Endpoint_type&); + ::std::ostream& + operator<< (::std::ostream&, const EndpointType&); - ::std::ostream& - operator<< (::std::ostream&, Endpoint_status_type::Value); + ::std::ostream& + operator<< (::std::ostream&, EndpointStatusType::Value); - ::std::ostream& - operator<< (::std::ostream&, const Endpoint_status_type&); + ::std::ostream& + operator<< (::std::ostream&, const EndpointStatusType&); - ::std::ostream& - operator<< (::std::ostream&, Joining_type::Value); + ::std::ostream& + operator<< (::std::ostream&, JoiningType::Value); - ::std::ostream& - operator<< (::std::ostream&, const Joining_type&); + ::std::ostream& + operator<< (::std::ostream&, const JoiningType&); - ::std::ostream& - operator<< (::std::ostream&, Disconnection_type::Value); + ::std::ostream& + operator<< (::std::ostream&, DisconnectionType::Value); - ::std::ostream& - operator<< (::std::ostream&, const Disconnection_type&); + ::std::ostream& + operator<< (::std::ostream&, const DisconnectionType&); - ::std::ostream& - operator<< (::std::ostream&, const Execution_type&); + ::std::ostream& + operator<< (::std::ostream&, const ExecutionType&); - ::std::ostream& - operator<< (::std::ostream&, const Call_type&); + ::std::ostream& + operator<< (::std::ostream&, const CallType&); - ::std::ostream& - operator<< (::std::ostream&, const Sip_dialog_id_type&); + ::std::ostream& + operator<< (::std::ostream&, const SipDialogIdType&); - ::std::ostream& - operator<< (::std::ostream&, const Media_type&); + ::std::ostream& + operator<< (::std::ostream&, const MediaType&); - ::std::ostream& - operator<< (::std::ostream&, Media_status_type::Value); + ::std::ostream& + operator<< (::std::ostream&, MediaStatusType::Value); - ::std::ostream& - operator<< (::std::ostream&, const Media_status_type&); + ::std::ostream& + operator<< (::std::ostream&, const MediaStatusType&); - ::std::ostream& - operator<< (::std::ostream&, const Sidebars_by_val_type&); + ::std::ostream& + operator<< (::std::ostream&, const SidebarsByValType&); + } + } } #include @@ -3562,100 +3584,106 @@ namespace conference_info #include #include -namespace conference_info +namespace LinphonePrivate { - // Parse a URI or a local file. - // + namespace Xsd + { + namespace ConferenceInfo + { + // Parse a URI or a local file. + // - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (const ::std::string& uri, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (const ::std::string& uri, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (const ::std::string& uri, - ::xml_schema::ErrorHandler& eh, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (const ::std::string& uri, + ::LinphonePrivate::Xsd::XmlSchema::ErrorHandler& eh, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (const ::std::string& uri, - ::xercesc::DOMErrorHandler& eh, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (const ::std::string& uri, + ::xercesc::DOMErrorHandler& eh, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - // Parse std::istream. - // + // Parse std::istream. + // - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (::std::istream& is, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (::std::istream& is, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (::std::istream& is, - ::xml_schema::ErrorHandler& eh, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (::std::istream& is, + ::LinphonePrivate::Xsd::XmlSchema::ErrorHandler& eh, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (::std::istream& is, - ::xercesc::DOMErrorHandler& eh, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (::std::istream& is, + ::xercesc::DOMErrorHandler& eh, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (::std::istream& is, - const ::std::string& id, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (::std::istream& is, + const ::std::string& id, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (::std::istream& is, - const ::std::string& id, - ::xml_schema::ErrorHandler& eh, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (::std::istream& is, + const ::std::string& id, + ::LinphonePrivate::Xsd::XmlSchema::ErrorHandler& eh, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (::std::istream& is, - const ::std::string& id, - ::xercesc::DOMErrorHandler& eh, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (::std::istream& is, + const ::std::string& id, + ::xercesc::DOMErrorHandler& eh, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - // Parse xercesc::InputSource. - // + // Parse xercesc::InputSource. + // - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (::xercesc::InputSource& is, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (::xercesc::InputSource& is, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (::xercesc::InputSource& is, - ::xml_schema::ErrorHandler& eh, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (::xercesc::InputSource& is, + ::LinphonePrivate::Xsd::XmlSchema::ErrorHandler& eh, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (::xercesc::InputSource& is, - ::xercesc::DOMErrorHandler& eh, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (::xercesc::InputSource& is, + ::xercesc::DOMErrorHandler& eh, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - // Parse xercesc::DOMDocument. - // + // Parse xercesc::DOMDocument. + // - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (const ::xercesc::DOMDocument& d, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (const ::xercesc::DOMDocument& d, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - ::std::unique_ptr< ::conference_info::Conference_type > - parseConference_info (::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType > + parseConferenceInfo (::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); + } + } } #include @@ -3666,207 +3694,211 @@ namespace conference_info #include -namespace conference_info +namespace LinphonePrivate { - // Serialize to std::ostream. - // + namespace Xsd + { + namespace ConferenceInfo + { + // Serialize to std::ostream. + // - void - serializeConference_info (::std::ostream& os, - const ::conference_info::Conference_type& x, - const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), - const ::std::string& e = "UTF-8", - ::xml_schema::Flags f = 0); + void + serializeConferenceInfo (::std::ostream& os, + const ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType& x, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m = ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap (), + const ::std::string& e = "UTF-8", + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0); - void - serializeConference_info (::std::ostream& os, - const ::conference_info::Conference_type& x, - ::xml_schema::ErrorHandler& eh, - const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), - const ::std::string& e = "UTF-8", - ::xml_schema::Flags f = 0); + void + serializeConferenceInfo (::std::ostream& os, + const ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType& x, + ::LinphonePrivate::Xsd::XmlSchema::ErrorHandler& eh, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m = ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap (), + const ::std::string& e = "UTF-8", + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0); - void - serializeConference_info (::std::ostream& os, - const ::conference_info::Conference_type& x, - ::xercesc::DOMErrorHandler& eh, - const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), - const ::std::string& e = "UTF-8", - ::xml_schema::Flags f = 0); + void + serializeConferenceInfo (::std::ostream& os, + const ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType& x, + ::xercesc::DOMErrorHandler& eh, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m = ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap (), + const ::std::string& e = "UTF-8", + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0); - // Serialize to xercesc::XMLFormatTarget. - // + // Serialize to xercesc::XMLFormatTarget. + // - void - serializeConference_info (::xercesc::XMLFormatTarget& ft, - const ::conference_info::Conference_type& x, - const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), - const ::std::string& e = "UTF-8", - ::xml_schema::Flags f = 0); + void + serializeConferenceInfo (::xercesc::XMLFormatTarget& ft, + const ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType& x, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m = ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap (), + const ::std::string& e = "UTF-8", + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0); - void - serializeConference_info (::xercesc::XMLFormatTarget& ft, - const ::conference_info::Conference_type& x, - ::xml_schema::ErrorHandler& eh, - const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), - const ::std::string& e = "UTF-8", - ::xml_schema::Flags f = 0); + void + serializeConferenceInfo (::xercesc::XMLFormatTarget& ft, + const ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType& x, + ::LinphonePrivate::Xsd::XmlSchema::ErrorHandler& eh, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m = ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap (), + const ::std::string& e = "UTF-8", + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0); - void - serializeConference_info (::xercesc::XMLFormatTarget& ft, - const ::conference_info::Conference_type& x, - ::xercesc::DOMErrorHandler& eh, - const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), - const ::std::string& e = "UTF-8", - ::xml_schema::Flags f = 0); + void + serializeConferenceInfo (::xercesc::XMLFormatTarget& ft, + const ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType& x, + ::xercesc::DOMErrorHandler& eh, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m = ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap (), + const ::std::string& e = "UTF-8", + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0); - // Serialize to an existing xercesc::DOMDocument. - // + // Serialize to an existing xercesc::DOMDocument. + // - void - serializeConference_info (::xercesc::DOMDocument& d, - const ::conference_info::Conference_type& x, - ::xml_schema::Flags f = 0); + void + serializeConferenceInfo (::xercesc::DOMDocument& d, + const ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0); - // Serialize to a new xercesc::DOMDocument. - // + // Serialize to a new xercesc::DOMDocument. + // - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > - serializeConference_info (const ::conference_info::Conference_type& x, - const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), - ::xml_schema::Flags f = 0); + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > + serializeConferenceInfo (const ::LinphonePrivate::Xsd::ConferenceInfo::ConferenceType& x, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m = ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap (), + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0); - void - operator<< (::xercesc::DOMElement&, const Conference_type&); + void + operator<< (::xercesc::DOMElement&, const ConferenceType&); - void - operator<< (::xercesc::DOMElement&, const State_type&); + void + operator<< (::xercesc::DOMElement&, const StateType&); - void - operator<< (::xercesc::DOMAttr&, const State_type&); + void + operator<< (::xercesc::DOMAttr&, const StateType&); - void - operator<< (::xml_schema::ListStream&, - const State_type&); + void + operator<< (::LinphonePrivate::Xsd::XmlSchema::ListStream&, + const StateType&); - void - operator<< (::xercesc::DOMElement&, const Conference_description_type&); + void + operator<< (::xercesc::DOMElement&, const ConferenceDescriptionType&); - void - operator<< (::xercesc::DOMElement&, const Host_type&); + void + operator<< (::xercesc::DOMElement&, const HostType&); - void - operator<< (::xercesc::DOMElement&, const Conference_state_type&); + void + operator<< (::xercesc::DOMElement&, const ConferenceStateType&); - void - operator<< (::xercesc::DOMElement&, const Conference_media_type&); + void + operator<< (::xercesc::DOMElement&, const ConferenceMediaType&); - void - operator<< (::xercesc::DOMElement&, const Conference_medium_type&); + void + operator<< (::xercesc::DOMElement&, const ConferenceMediumType&); - void - operator<< (::xercesc::DOMElement&, const Uris_type&); + void + operator<< (::xercesc::DOMElement&, const UrisType&); - void - operator<< (::xercesc::DOMElement&, const Uri_type&); + void + operator<< (::xercesc::DOMElement&, const UriType&); - void - operator<< (::xercesc::DOMElement&, const Keywords_type&); + void + operator<< (::xercesc::DOMElement&, const KeywordsType&); - void - operator<< (::xercesc::DOMAttr&, const Keywords_type&); + void + operator<< (::xercesc::DOMAttr&, const KeywordsType&); - void - operator<< (::xml_schema::ListStream&, - const Keywords_type&); + void + operator<< (::LinphonePrivate::Xsd::XmlSchema::ListStream&, + const KeywordsType&); - void - operator<< (::xercesc::DOMElement&, const Users_type&); + void + operator<< (::xercesc::DOMElement&, const UsersType&); - void - operator<< (::xercesc::DOMElement&, const User_type&); + void + operator<< (::xercesc::DOMElement&, const UserType&); - void - operator<< (::xercesc::DOMElement&, const User_roles_type&); + void + operator<< (::xercesc::DOMElement&, const UserRolesType&); - void - operator<< (::xercesc::DOMElement&, const User_languages_type&); + void + operator<< (::xercesc::DOMElement&, const UserLanguagesType&); - void - operator<< (::xercesc::DOMAttr&, const User_languages_type&); + void + operator<< (::xercesc::DOMAttr&, const UserLanguagesType&); - void - operator<< (::xml_schema::ListStream&, - const User_languages_type&); + void + operator<< (::LinphonePrivate::Xsd::XmlSchema::ListStream&, + const UserLanguagesType&); - void - operator<< (::xercesc::DOMElement&, const Endpoint_type&); + void + operator<< (::xercesc::DOMElement&, const EndpointType&); - void - operator<< (::xercesc::DOMElement&, const Endpoint_status_type&); + void + operator<< (::xercesc::DOMElement&, const EndpointStatusType&); - void - operator<< (::xercesc::DOMAttr&, const Endpoint_status_type&); + void + operator<< (::xercesc::DOMAttr&, const EndpointStatusType&); - void - operator<< (::xml_schema::ListStream&, - const Endpoint_status_type&); + void + operator<< (::LinphonePrivate::Xsd::XmlSchema::ListStream&, + const EndpointStatusType&); - void - operator<< (::xercesc::DOMElement&, const Joining_type&); + void + operator<< (::xercesc::DOMElement&, const JoiningType&); - void - operator<< (::xercesc::DOMAttr&, const Joining_type&); + void + operator<< (::xercesc::DOMAttr&, const JoiningType&); - void - operator<< (::xml_schema::ListStream&, - const Joining_type&); + void + operator<< (::LinphonePrivate::Xsd::XmlSchema::ListStream&, + const JoiningType&); - void - operator<< (::xercesc::DOMElement&, const Disconnection_type&); + void + operator<< (::xercesc::DOMElement&, const DisconnectionType&); - void - operator<< (::xercesc::DOMAttr&, const Disconnection_type&); + void + operator<< (::xercesc::DOMAttr&, const DisconnectionType&); - void - operator<< (::xml_schema::ListStream&, - const Disconnection_type&); + void + operator<< (::LinphonePrivate::Xsd::XmlSchema::ListStream&, + const DisconnectionType&); - void - operator<< (::xercesc::DOMElement&, const Execution_type&); + void + operator<< (::xercesc::DOMElement&, const ExecutionType&); - void - operator<< (::xercesc::DOMElement&, const Call_type&); + void + operator<< (::xercesc::DOMElement&, const CallType&); - void - operator<< (::xercesc::DOMElement&, const Sip_dialog_id_type&); + void + operator<< (::xercesc::DOMElement&, const SipDialogIdType&); - void - operator<< (::xercesc::DOMElement&, const Media_type&); + void + operator<< (::xercesc::DOMElement&, const MediaType&); - void - operator<< (::xercesc::DOMElement&, const Media_status_type&); + void + operator<< (::xercesc::DOMElement&, const MediaStatusType&); - void - operator<< (::xercesc::DOMAttr&, const Media_status_type&); + void + operator<< (::xercesc::DOMAttr&, const MediaStatusType&); - void - operator<< (::xml_schema::ListStream&, - const Media_status_type&); + void + operator<< (::LinphonePrivate::Xsd::XmlSchema::ListStream&, + const MediaStatusType&); - void - operator<< (::xercesc::DOMElement&, const Sidebars_by_val_type&); + void + operator<< (::xercesc::DOMElement&, const SidebarsByValType&); + } + } } #include // Begin epilogue. // - #if __clang__ || __GNUC__ >= 4 #pragma GCC diagnostic pop #endif - // // End epilogue. diff --git a/src/xml/epilogue.txt b/src/xml/epilogue.txt new file mode 100644 index 000000000..ebe68c888 --- /dev/null +++ b/src/xml/epilogue.txt @@ -0,0 +1,3 @@ +#if __clang__ || __GNUC__ >= 4 + #pragma GCC diagnostic pop +#endif diff --git a/src/xml/generate.py b/src/xml/generate.py index 256230869..c5484eaf9 100755 --- a/src/xml/generate.py +++ b/src/xml/generate.py @@ -30,21 +30,6 @@ def find_xsdcxx(): xsdcxx = find_executable("xsd") return xsdcxx -def get_prologue(): - return """ -#if __clang__ || __GNUC__ >= 4 -\t#pragma GCC diagnostic push -\t#pragma GCC diagnostic ignored "-Wsuggest-override" -#endif -""" - -def get_epilogue(): - return """ -#if __clang__ || __GNUC__ >= 4 -\t#pragma GCC diagnostic pop -#endif -""" - def generate(name): xsdcxx = find_xsdcxx() if xsdcxx is None: @@ -56,6 +41,8 @@ def generate(name): source_file = name + ".xsd" print("Generating code from " + source_file) source_file = os.path.join("xml", source_file) + prologue_file = os.path.join("xml", "prologue.txt") + epilogue_file = os.path.join("xml", "epilogue.txt") work_dir = os.path.join(script_dir, "..") os.chdir(work_dir) p = Popen([xsdcxx, @@ -67,15 +54,43 @@ def generate(name): "--std", "c++11", "--type-naming", "java", "--function-naming", "java", - "--location-regex-trace", - "--show-sloc", "--hxx-suffix", ".h", "--ixx-suffix", ".h", "--cxx-suffix", ".cpp", - "--prologue", get_prologue(), - "--epilogue", get_epilogue(), "--location-regex", "%http://.+/(.+)%$1%", "--output-dir", "xml", + "--show-sloc", + "--prologue-file", prologue_file, + "--epilogue-file", epilogue_file, + "--type-regex", "%(?:[^ ]* )?([^,-]+)-([^,-]+)-([^,-]+)-?([^,-]*)%\\u$1\\u$2\\u$3\\u$4%", + "--type-regex", "%(?:[^ ]* )?([^,-]+)-([^,-]+)-?([^,-]*)%\\u$1\\u$2\\u$3%", + "--type-regex", "%(?:[^ ]* )?([^,-]+)-?([^,-]*)%\\u$1\\u$2%", + "--type-regex", "%(?:[^ ]* )?([^,-]+)-([^,-]+)-([^,-]+)-?([^,-]*),([^,]+)%\\u$1\\u$2\\u$3\\u$4\\l\\u$5%", + "--type-regex", "%(?:[^ ]* )?([^,-]+)-([^,-]+)-?([^,-]*),([^,]+)%\\u$1\\u$2\\u$3\\l\\u$4%", + "--type-regex", "%(?:[^ ]* )?([^,-]+)-?([^,-]*),([^,]+)%\\u$1\\u$2\\l\\u$3%", + "--type-regex", "%(?:[^ ]* )?([^,-]+)-([^,-]+)-([^,-]+)-?([^,-]*),([^,]+),([^,]+)%\\u$1\\u$2\\u$3\\u$4\\l\\u$5\\u$6%", + "--type-regex", "%(?:[^ ]* )?([^,-]+)-([^,-]+)-?([^,-]*),([^,]+),([^,]+)%\\u$1\\u$2\\u$3\\l\\u$4\\u$5%", + "--type-regex", "%(?:[^ ]* )?([^,-]+)-?([^,-]*),([^,]+),([^,]+)%\\u$1\\u$2\\l\\u$3\\u$4%", + "--type-regex", "%(?:[^ ]* )?([^,-]+)-([^,-]+)-([^,-]+)-?([^,-]*),([^,]+),([^,]+),([^,]+)%\\u$1\\u$2\\u$3\\u$4\\l\\u$5\\u$6\\u$7%", + "--type-regex", "%(?:[^ ]* )?([^,-]+)-([^,-]+)-?([^,-]*),([^,]+),([^,]+),([^,]+)%\\u$1\\u$2\\u$3\\l\\u$4\\u$5\\u$6%", + "--type-regex", "%(?:[^ ]* )?([^,-]+)-?([^,-]*),([^,]+),([^,]+),([^,]+)%\\u$1\\u$2\\l\\u$3\\u$4\\u$5%", + "--accessor-regex", "%([^,-]+)-([^,-]+)-?([^,-]*)%get\\u$1\\u$2\\u$3%", + "--accessor-regex", "%([^,-]+)-?([^,-]*)%get\\u$1\\u$2%", + "--accessor-regex", "%([^,-]+)-([^,-]+)-?([^,-]*),([^,]+)%get\\u$1\\u$2\\u$3\\l\\u$4%", + "--accessor-regex", "%([^,-]+)-?([^,-]*),([^,]+)%get\\u$1\\u$2\\l\\u$3%", + "--accessor-regex", "%([^,-]+)-([^,-]+)-?([^,-]*),([^,]+),([^,]+)%get\\u$1\\u$2\\u$3\\l\\u$4\\u$5%", + "--accessor-regex", "%([^,-]+)-?([^,-]*),([^,]+),([^,]+)%get\\u$1\\u$2\\l\\u$3\\u$4%", + "--modifier-regex", "%([^,-]+)-([^,-]+)-?([^,-]*)%set\\u$1\\u$2\\u$3%", + "--modifier-regex", "%([^,-]+)-?([^,-]*)%set\\u$1\\u$2%", + "--modifier-regex", "%([^,-]+)-([^,-]+)-?([^,-]*),([^,]+)%set\\u$1\\u$2\\u$3\\l\\u$4%", + "--modifier-regex", "%([^,-]+)-?([^,-]*),([^,]+)%set\\u$1\\u$2\\l\\u$3%", + "--modifier-regex", "%([^,-]+)-([^,-]+)-?([^,-]*),([^,]+),([^,]+)%set\\u$1\\u$2\\u$3\\l\\u$4\\u$5%", + "--modifier-regex", "%([^,-]+)-?([^,-]*),([^,]+),([^,]+)%set\\u$1\\u$2\\l\\u$3\\u$4%", + "--parser-regex", "%([^-]+)-?([^-]*)%parse\\u$1\\u$2%", + "--serializer-regex", "%([^-]+)-?([^-]*)%serialize\\u$1\\u$2%", + "--namespace-map", "http://www.w3.org/2001/XMLSchema=LinphonePrivate::Xsd::XmlSchema", + "--namespace-map", "urn:ietf:params:xml:ns:conference-info=LinphonePrivate::Xsd::ConferenceInfo", + "--namespace-map", "urn:ietf:params:xml:ns:resource-lists=LinphonePrivate::Xsd::ResourceLists", source_file ], shell=False) p.communicate() diff --git a/src/xml/prologue.txt b/src/xml/prologue.txt new file mode 100644 index 000000000..1b3a4dc48 --- /dev/null +++ b/src/xml/prologue.txt @@ -0,0 +1,4 @@ +#if __clang__ || __GNUC__ >= 4 + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wsuggest-override" +#endif diff --git a/src/xml/resource-lists.cpp b/src/xml/resource-lists.cpp index bbafc58ea..848bcc6f1 100644 --- a/src/xml/resource-lists.cpp +++ b/src/xml/resource-lists.cpp @@ -33,12 +33,10 @@ // Begin prologue. // - #if __clang__ || __GNUC__ >= 4 #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wsuggest-override" #endif - // // End prologue. @@ -46,589 +44,595 @@ #include "resource-lists.h" -namespace resource_lists +namespace LinphonePrivate { - // ListType - // - - const ListType::Display_nameOptional& ListType:: - getDisplay_name () const - { - return this->display_name_; - } - - ListType::Display_nameOptional& ListType:: - getDisplay_name () - { - return this->display_name_; - } - - void ListType:: - setDisplay_name (const Display_nameType& x) - { - this->display_name_.set (x); - } - - void ListType:: - setDisplay_name (const Display_nameOptional& x) - { - this->display_name_ = x; - } - - void ListType:: - setDisplay_name (::std::unique_ptr< Display_nameType > x) - { - this->display_name_.set (std::move (x)); - } - - const ListType::ListSequence& ListType:: - getList () const - { - return this->list_; - } - - ListType::ListSequence& ListType:: - getList () - { - return this->list_; - } - - void ListType:: - setList (const ListSequence& s) - { - this->list_ = s; - } - - const ListType::ExternalSequence& ListType:: - getExternal () const - { - return this->external_; - } - - ListType::ExternalSequence& ListType:: - getExternal () - { - return this->external_; - } - - void ListType:: - setExternal (const ExternalSequence& s) - { - this->external_ = s; - } - - const ListType::EntrySequence& ListType:: - getEntry () const - { - return this->entry_; - } - - ListType::EntrySequence& ListType:: - getEntry () - { - return this->entry_; - } - - void ListType:: - setEntry (const EntrySequence& s) - { - this->entry_ = s; - } - - const ListType::Entry_refSequence& ListType:: - getEntry_ref () const - { - return this->entry_ref_; - } - - ListType::Entry_refSequence& ListType:: - getEntry_ref () - { - return this->entry_ref_; - } - - void ListType:: - setEntry_ref (const Entry_refSequence& s) - { - this->entry_ref_ = s; - } - - const ListType::AnySequence& ListType:: - getAny () const - { - return this->any_; - } - - ListType::AnySequence& ListType:: - getAny () - { - return this->any_; - } - - void ListType:: - setAny (const AnySequence& s) - { - this->any_ = s; - } - - const ListType::NameOptional& ListType:: - getName () const - { - return this->name_; - } - - ListType::NameOptional& ListType:: - getName () - { - return this->name_; - } - - void ListType:: - setName (const NameType& x) - { - this->name_.set (x); - } - - void ListType:: - setName (const NameOptional& x) - { - this->name_ = x; - } - - void ListType:: - setName (::std::unique_ptr< NameType > x) - { - this->name_.set (std::move (x)); - } - - const ListType::AnyAttributeSet& ListType:: - getAnyAttribute () const - { - return this->any_attribute_; - } - - ListType::AnyAttributeSet& ListType:: - getAnyAttribute () - { - return this->any_attribute_; - } - - void ListType:: - setAnyAttribute (const AnyAttributeSet& s) - { - this->any_attribute_ = s; - } - - const ::xercesc::DOMDocument& ListType:: - getDomDocument () const - { - return *this->dom_document_; - } - - ::xercesc::DOMDocument& ListType:: - getDomDocument () - { - return *this->dom_document_; - } - - - // EntryType - // - - const EntryType::Display_nameOptional& EntryType:: - getDisplay_name () const - { - return this->display_name_; - } - - EntryType::Display_nameOptional& EntryType:: - getDisplay_name () - { - return this->display_name_; - } - - void EntryType:: - setDisplay_name (const Display_nameType& x) - { - this->display_name_.set (x); - } - - void EntryType:: - setDisplay_name (const Display_nameOptional& x) - { - this->display_name_ = x; - } - - void EntryType:: - setDisplay_name (::std::unique_ptr< Display_nameType > x) - { - this->display_name_.set (std::move (x)); - } - - const EntryType::AnySequence& EntryType:: - getAny () const - { - return this->any_; - } - - EntryType::AnySequence& EntryType:: - getAny () - { - return this->any_; - } - - void EntryType:: - setAny (const AnySequence& s) - { - this->any_ = s; - } - - const EntryType::UriType& EntryType:: - getUri () const - { - return this->uri_.get (); - } - - EntryType::UriType& EntryType:: - getUri () - { - return this->uri_.get (); - } - - void EntryType:: - setUri (const UriType& x) - { - this->uri_.set (x); - } - - void EntryType:: - setUri (::std::unique_ptr< UriType > x) - { - this->uri_.set (std::move (x)); - } - - ::std::unique_ptr< EntryType::UriType > EntryType:: - detachUri () - { - return this->uri_.detach (); - } - - const EntryType::AnyAttributeSet& EntryType:: - getAnyAttribute () const - { - return this->any_attribute_; - } - - EntryType::AnyAttributeSet& EntryType:: - getAnyAttribute () - { - return this->any_attribute_; - } - - void EntryType:: - setAnyAttribute (const AnyAttributeSet& s) - { - this->any_attribute_ = s; - } - - const ::xercesc::DOMDocument& EntryType:: - getDomDocument () const - { - return *this->dom_document_; - } - - ::xercesc::DOMDocument& EntryType:: - getDomDocument () - { - return *this->dom_document_; - } - - - // Entry_refType - // - - const Entry_refType::Display_nameOptional& Entry_refType:: - getDisplay_name () const - { - return this->display_name_; - } - - Entry_refType::Display_nameOptional& Entry_refType:: - getDisplay_name () - { - return this->display_name_; - } - - void Entry_refType:: - setDisplay_name (const Display_nameType& x) - { - this->display_name_.set (x); - } - - void Entry_refType:: - setDisplay_name (const Display_nameOptional& x) - { - this->display_name_ = x; - } - - void Entry_refType:: - setDisplay_name (::std::unique_ptr< Display_nameType > x) - { - this->display_name_.set (std::move (x)); - } - - const Entry_refType::AnySequence& Entry_refType:: - getAny () const - { - return this->any_; - } - - Entry_refType::AnySequence& Entry_refType:: - getAny () - { - return this->any_; - } - - void Entry_refType:: - setAny (const AnySequence& s) - { - this->any_ = s; - } - - const Entry_refType::RefType& Entry_refType:: - getRef () const - { - return this->ref_.get (); - } - - Entry_refType::RefType& Entry_refType:: - getRef () - { - return this->ref_.get (); - } - - void Entry_refType:: - setRef (const RefType& x) - { - this->ref_.set (x); - } - - void Entry_refType:: - setRef (::std::unique_ptr< RefType > x) - { - this->ref_.set (std::move (x)); - } - - ::std::unique_ptr< Entry_refType::RefType > Entry_refType:: - detachRef () - { - return this->ref_.detach (); - } - - const Entry_refType::AnyAttributeSet& Entry_refType:: - getAnyAttribute () const - { - return this->any_attribute_; - } - - Entry_refType::AnyAttributeSet& Entry_refType:: - getAnyAttribute () - { - return this->any_attribute_; - } - - void Entry_refType:: - setAnyAttribute (const AnyAttributeSet& s) - { - this->any_attribute_ = s; - } - - const ::xercesc::DOMDocument& Entry_refType:: - getDomDocument () const - { - return *this->dom_document_; - } - - ::xercesc::DOMDocument& Entry_refType:: - getDomDocument () - { - return *this->dom_document_; - } - - - // ExternalType - // - - const ExternalType::Display_nameOptional& ExternalType:: - getDisplay_name () const - { - return this->display_name_; - } - - ExternalType::Display_nameOptional& ExternalType:: - getDisplay_name () - { - return this->display_name_; - } - - void ExternalType:: - setDisplay_name (const Display_nameType& x) - { - this->display_name_.set (x); - } - - void ExternalType:: - setDisplay_name (const Display_nameOptional& x) - { - this->display_name_ = x; - } - - void ExternalType:: - setDisplay_name (::std::unique_ptr< Display_nameType > x) - { - this->display_name_.set (std::move (x)); - } - - const ExternalType::AnySequence& ExternalType:: - getAny () const - { - return this->any_; - } - - ExternalType::AnySequence& ExternalType:: - getAny () - { - return this->any_; - } - - void ExternalType:: - setAny (const AnySequence& s) - { - this->any_ = s; - } - - const ExternalType::AnchorOptional& ExternalType:: - getAnchor () const - { - return this->anchor_; - } - - ExternalType::AnchorOptional& ExternalType:: - getAnchor () - { - return this->anchor_; - } - - void ExternalType:: - setAnchor (const AnchorType& x) - { - this->anchor_.set (x); - } - - void ExternalType:: - setAnchor (const AnchorOptional& x) - { - this->anchor_ = x; - } - - void ExternalType:: - setAnchor (::std::unique_ptr< AnchorType > x) - { - this->anchor_.set (std::move (x)); - } - - const ExternalType::AnyAttributeSet& ExternalType:: - getAnyAttribute () const - { - return this->any_attribute_; - } - - ExternalType::AnyAttributeSet& ExternalType:: - getAnyAttribute () - { - return this->any_attribute_; - } - - void ExternalType:: - setAnyAttribute (const AnyAttributeSet& s) - { - this->any_attribute_ = s; - } - - const ::xercesc::DOMDocument& ExternalType:: - getDomDocument () const - { - return *this->dom_document_; - } - - ::xercesc::DOMDocument& ExternalType:: - getDomDocument () - { - return *this->dom_document_; - } - - - // Display_nameType - // - - const Display_nameType::LangOptional& Display_nameType:: - getLang () const - { - return this->lang_; - } - - Display_nameType::LangOptional& Display_nameType:: - getLang () - { - return this->lang_; - } - - void Display_nameType:: - setLang (const LangType& x) - { - this->lang_.set (x); - } - - void Display_nameType:: - setLang (const LangOptional& x) - { - this->lang_ = x; - } - - void Display_nameType:: - setLang (::std::unique_ptr< LangType > x) - { - this->lang_.set (std::move (x)); - } - - - // List - // - - - // Display_name - // - - - // Resource_lists - // - - const Resource_lists::ListSequence& Resource_lists:: - getList () const - { - return this->list_; - } - - Resource_lists::ListSequence& Resource_lists:: - getList () - { - return this->list_; - } - - void Resource_lists:: - setList (const ListSequence& s) - { - this->list_ = s; + namespace Xsd + { + namespace ResourceLists + { + // ListType + // + + const ListType::DisplayNameOptional& ListType:: + getDisplayName () const + { + return this->display_name_; + } + + ListType::DisplayNameOptional& ListType:: + getDisplayName () + { + return this->display_name_; + } + + void ListType:: + setDisplayName (const DisplayNameType& x) + { + this->display_name_.set (x); + } + + void ListType:: + setDisplayName (const DisplayNameOptional& x) + { + this->display_name_ = x; + } + + void ListType:: + setDisplayName (::std::unique_ptr< DisplayNameType > x) + { + this->display_name_.set (std::move (x)); + } + + const ListType::ListSequence& ListType:: + getList () const + { + return this->list_; + } + + ListType::ListSequence& ListType:: + getList () + { + return this->list_; + } + + void ListType:: + setList (const ListSequence& s) + { + this->list_ = s; + } + + const ListType::ExternalSequence& ListType:: + getExternal () const + { + return this->external_; + } + + ListType::ExternalSequence& ListType:: + getExternal () + { + return this->external_; + } + + void ListType:: + setExternal (const ExternalSequence& s) + { + this->external_ = s; + } + + const ListType::EntrySequence& ListType:: + getEntry () const + { + return this->entry_; + } + + ListType::EntrySequence& ListType:: + getEntry () + { + return this->entry_; + } + + void ListType:: + setEntry (const EntrySequence& s) + { + this->entry_ = s; + } + + const ListType::EntryRefSequence& ListType:: + getEntryRef () const + { + return this->entry_ref_; + } + + ListType::EntryRefSequence& ListType:: + getEntryRef () + { + return this->entry_ref_; + } + + void ListType:: + setEntryRef (const EntryRefSequence& s) + { + this->entry_ref_ = s; + } + + const ListType::AnySequence& ListType:: + getAny () const + { + return this->any_; + } + + ListType::AnySequence& ListType:: + getAny () + { + return this->any_; + } + + void ListType:: + setAny (const AnySequence& s) + { + this->any_ = s; + } + + const ListType::NameOptional& ListType:: + getName () const + { + return this->name_; + } + + ListType::NameOptional& ListType:: + getName () + { + return this->name_; + } + + void ListType:: + setName (const NameType& x) + { + this->name_.set (x); + } + + void ListType:: + setName (const NameOptional& x) + { + this->name_ = x; + } + + void ListType:: + setName (::std::unique_ptr< NameType > x) + { + this->name_.set (std::move (x)); + } + + const ListType::AnyAttributeSet& ListType:: + getAnyAttribute () const + { + return this->any_attribute_; + } + + ListType::AnyAttributeSet& ListType:: + getAnyAttribute () + { + return this->any_attribute_; + } + + void ListType:: + setAnyAttribute (const AnyAttributeSet& s) + { + this->any_attribute_ = s; + } + + const ::xercesc::DOMDocument& ListType:: + getDomDocument () const + { + return *this->dom_document_; + } + + ::xercesc::DOMDocument& ListType:: + getDomDocument () + { + return *this->dom_document_; + } + + + // EntryType + // + + const EntryType::DisplayNameOptional& EntryType:: + getDisplayName () const + { + return this->display_name_; + } + + EntryType::DisplayNameOptional& EntryType:: + getDisplayName () + { + return this->display_name_; + } + + void EntryType:: + setDisplayName (const DisplayNameType& x) + { + this->display_name_.set (x); + } + + void EntryType:: + setDisplayName (const DisplayNameOptional& x) + { + this->display_name_ = x; + } + + void EntryType:: + setDisplayName (::std::unique_ptr< DisplayNameType > x) + { + this->display_name_.set (std::move (x)); + } + + const EntryType::AnySequence& EntryType:: + getAny () const + { + return this->any_; + } + + EntryType::AnySequence& EntryType:: + getAny () + { + return this->any_; + } + + void EntryType:: + setAny (const AnySequence& s) + { + this->any_ = s; + } + + const EntryType::UriType& EntryType:: + getUri () const + { + return this->uri_.get (); + } + + EntryType::UriType& EntryType:: + getUri () + { + return this->uri_.get (); + } + + void EntryType:: + setUri (const UriType& x) + { + this->uri_.set (x); + } + + void EntryType:: + setUri (::std::unique_ptr< UriType > x) + { + this->uri_.set (std::move (x)); + } + + ::std::unique_ptr< EntryType::UriType > EntryType:: + setDetachUri () + { + return this->uri_.detach (); + } + + const EntryType::AnyAttributeSet& EntryType:: + getAnyAttribute () const + { + return this->any_attribute_; + } + + EntryType::AnyAttributeSet& EntryType:: + getAnyAttribute () + { + return this->any_attribute_; + } + + void EntryType:: + setAnyAttribute (const AnyAttributeSet& s) + { + this->any_attribute_ = s; + } + + const ::xercesc::DOMDocument& EntryType:: + getDomDocument () const + { + return *this->dom_document_; + } + + ::xercesc::DOMDocument& EntryType:: + getDomDocument () + { + return *this->dom_document_; + } + + + // EntryRefType + // + + const EntryRefType::DisplayNameOptional& EntryRefType:: + getDisplayName () const + { + return this->display_name_; + } + + EntryRefType::DisplayNameOptional& EntryRefType:: + getDisplayName () + { + return this->display_name_; + } + + void EntryRefType:: + setDisplayName (const DisplayNameType& x) + { + this->display_name_.set (x); + } + + void EntryRefType:: + setDisplayName (const DisplayNameOptional& x) + { + this->display_name_ = x; + } + + void EntryRefType:: + setDisplayName (::std::unique_ptr< DisplayNameType > x) + { + this->display_name_.set (std::move (x)); + } + + const EntryRefType::AnySequence& EntryRefType:: + getAny () const + { + return this->any_; + } + + EntryRefType::AnySequence& EntryRefType:: + getAny () + { + return this->any_; + } + + void EntryRefType:: + setAny (const AnySequence& s) + { + this->any_ = s; + } + + const EntryRefType::RefType& EntryRefType:: + getRef () const + { + return this->ref_.get (); + } + + EntryRefType::RefType& EntryRefType:: + getRef () + { + return this->ref_.get (); + } + + void EntryRefType:: + setRef (const RefType& x) + { + this->ref_.set (x); + } + + void EntryRefType:: + setRef (::std::unique_ptr< RefType > x) + { + this->ref_.set (std::move (x)); + } + + ::std::unique_ptr< EntryRefType::RefType > EntryRefType:: + setDetachRef () + { + return this->ref_.detach (); + } + + const EntryRefType::AnyAttributeSet& EntryRefType:: + getAnyAttribute () const + { + return this->any_attribute_; + } + + EntryRefType::AnyAttributeSet& EntryRefType:: + getAnyAttribute () + { + return this->any_attribute_; + } + + void EntryRefType:: + setAnyAttribute (const AnyAttributeSet& s) + { + this->any_attribute_ = s; + } + + const ::xercesc::DOMDocument& EntryRefType:: + getDomDocument () const + { + return *this->dom_document_; + } + + ::xercesc::DOMDocument& EntryRefType:: + getDomDocument () + { + return *this->dom_document_; + } + + + // ExternalType + // + + const ExternalType::DisplayNameOptional& ExternalType:: + getDisplayName () const + { + return this->display_name_; + } + + ExternalType::DisplayNameOptional& ExternalType:: + getDisplayName () + { + return this->display_name_; + } + + void ExternalType:: + setDisplayName (const DisplayNameType& x) + { + this->display_name_.set (x); + } + + void ExternalType:: + setDisplayName (const DisplayNameOptional& x) + { + this->display_name_ = x; + } + + void ExternalType:: + setDisplayName (::std::unique_ptr< DisplayNameType > x) + { + this->display_name_.set (std::move (x)); + } + + const ExternalType::AnySequence& ExternalType:: + getAny () const + { + return this->any_; + } + + ExternalType::AnySequence& ExternalType:: + getAny () + { + return this->any_; + } + + void ExternalType:: + setAny (const AnySequence& s) + { + this->any_ = s; + } + + const ExternalType::AnchorOptional& ExternalType:: + getAnchor () const + { + return this->anchor_; + } + + ExternalType::AnchorOptional& ExternalType:: + getAnchor () + { + return this->anchor_; + } + + void ExternalType:: + setAnchor (const AnchorType& x) + { + this->anchor_.set (x); + } + + void ExternalType:: + setAnchor (const AnchorOptional& x) + { + this->anchor_ = x; + } + + void ExternalType:: + setAnchor (::std::unique_ptr< AnchorType > x) + { + this->anchor_.set (std::move (x)); + } + + const ExternalType::AnyAttributeSet& ExternalType:: + getAnyAttribute () const + { + return this->any_attribute_; + } + + ExternalType::AnyAttributeSet& ExternalType:: + getAnyAttribute () + { + return this->any_attribute_; + } + + void ExternalType:: + setAnyAttribute (const AnyAttributeSet& s) + { + this->any_attribute_ = s; + } + + const ::xercesc::DOMDocument& ExternalType:: + getDomDocument () const + { + return *this->dom_document_; + } + + ::xercesc::DOMDocument& ExternalType:: + getDomDocument () + { + return *this->dom_document_; + } + + + // DisplayNameType + // + + const DisplayNameType::LangOptional& DisplayNameType:: + getLang () const + { + return this->lang_; + } + + DisplayNameType::LangOptional& DisplayNameType:: + getLang () + { + return this->lang_; + } + + void DisplayNameType:: + setLang (const LangType& x) + { + this->lang_.set (x); + } + + void DisplayNameType:: + setLang (const LangOptional& x) + { + this->lang_ = x; + } + + void DisplayNameType:: + setLang (::std::unique_ptr< LangType > x) + { + this->lang_.set (std::move (x)); + } + + + // List + // + + + // DisplayName + // + + + // ResourceLists + // + + const ResourceLists::ListSequence& ResourceLists:: + getList () const + { + return this->list_; + } + + ResourceLists::ListSequence& ResourceLists:: + getList () + { + return this->list_; + } + + void ResourceLists:: + setList (const ListSequence& s) + { + this->list_ = s; + } + } } } @@ -636,1041 +640,1053 @@ namespace resource_lists #include -namespace resource_lists +namespace LinphonePrivate { - // ListType - // - - ListType:: - ListType () - : ::xml_schema::Type (), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_name_ (this), - list_ (this), - external_ (this), - entry_ (this), - entry_ref_ (this), - any_ (this->getDomDocument ()), - name_ (this), - any_attribute_ (this->getDomDocument ()) + namespace Xsd { - } - - ListType:: - ListType (const ListType& x, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (x, f, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_name_ (x.display_name_, f, this), - list_ (x.list_, f, this), - external_ (x.external_, f, this), - entry_ (x.entry_, f, this), - entry_ref_ (x.entry_ref_, f, this), - any_ (x.any_, this->getDomDocument ()), - name_ (x.name_, f, this), - any_attribute_ (x.any_attribute_, this->getDomDocument ()) - { - } - - ListType:: - ListType (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (e, f | ::xml_schema::Flags::base, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_name_ (this), - list_ (this), - external_ (this), - entry_ (this), - entry_ref_ (this), - any_ (this->getDomDocument ()), - name_ (this), - any_attribute_ (this->getDomDocument ()) - { - if ((f & ::xml_schema::Flags::base) == 0) + namespace ResourceLists { - ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); - this->parse (p, f); - } - } - - void ListType:: - parse (::xsd::cxx::xml::dom::parser< char >& p, - ::xml_schema::Flags f) - { - for (; p.more_content (); p.next_content (false)) - { - const ::xercesc::DOMElement& i (p.cur_element ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // display-name + // ListType // - if (n.name () == "display-name" && n.namespace_ () == "urn:ietf:params:xml:ns:resource-lists") - { - ::std::unique_ptr< Display_nameType > r ( - Display_nameTraits::create (i, f, this)); - if (!this->display_name_) + ListType:: + ListType () + : ::LinphonePrivate::Xsd::XmlSchema::Type (), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_name_ (this), + list_ (this), + external_ (this), + entry_ (this), + entry_ref_ (this), + any_ (this->getDomDocument ()), + name_ (this), + any_attribute_ (this->getDomDocument ()) + { + } + + ListType:: + ListType (const ListType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (x, f, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_name_ (x.display_name_, f, this), + list_ (x.list_, f, this), + external_ (x.external_, f, this), + entry_ (x.entry_, f, this), + entry_ref_ (x.entry_ref_, f, this), + any_ (x.any_, this->getDomDocument ()), + name_ (x.name_, f, this), + any_attribute_ (x.any_attribute_, this->getDomDocument ()) + { + } + + ListType:: + ListType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (e, f | ::LinphonePrivate::Xsd::XmlSchema::Flags::base, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_name_ (this), + list_ (this), + external_ (this), + entry_ (this), + entry_ref_ (this), + any_ (this->getDomDocument ()), + name_ (this), + any_attribute_ (this->getDomDocument ()) + { + if ((f & ::LinphonePrivate::Xsd::XmlSchema::Flags::base) == 0) { - this->display_name_.set (::std::move (r)); - continue; + ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); + this->parse (p, f); } } - // list - // - if (n.name () == "list" && n.namespace_ () == "urn:ietf:params:xml:ns:resource-lists") + void ListType:: + parse (::xsd::cxx::xml::dom::parser< char >& p, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) { - ::std::unique_ptr< ListType1 > r ( - ListTraits::create (i, f, this)); - - this->list_.push_back (::std::move (r)); - continue; - } - - // external - // - if (n.name () == "external" && n.namespace_ () == "urn:ietf:params:xml:ns:resource-lists") - { - ::std::unique_ptr< ExternalType > r ( - ExternalTraits::create (i, f, this)); - - this->external_.push_back (::std::move (r)); - continue; - } - - // entry - // - if (n.name () == "entry" && n.namespace_ () == "urn:ietf:params:xml:ns:resource-lists") - { - ::std::unique_ptr< EntryType > r ( - EntryTraits::create (i, f, this)); - - this->entry_.push_back (::std::move (r)); - continue; - } - - // entry-ref - // - if (n.name () == "entry-ref" && n.namespace_ () == "urn:ietf:params:xml:ns:resource-lists") - { - ::std::unique_ptr< Entry_refType > r ( - Entry_refTraits::create (i, f, this)); - - this->entry_ref_.push_back (::std::move (r)); - continue; - } - - // any - // - if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:resource-lists")) - { - ::xercesc::DOMElement* r ( - static_cast< ::xercesc::DOMElement* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMElement* > (&i), true))); - this->any_.push_back (r); - continue; - } - - break; - } - - while (p.more_attributes ()) - { - const ::xercesc::DOMAttr& i (p.next_attribute ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - if (n.name () == "name" && n.namespace_ ().empty ()) - { - this->name_.set (NameTraits::create (i, f, this)); - continue; - } - - // any_attribute - // - if ((!n.namespace_ ().empty () && - n.namespace_ () != "urn:ietf:params:xml:ns:resource-lists" && - n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && - n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) - { - ::xercesc::DOMAttr* r ( - static_cast< ::xercesc::DOMAttr* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMAttr* > (&i), true))); - this->any_attribute_ .insert (r); - continue; - } - } - } - - ListType* ListType:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class ListType (*this, f, c); - } - - ListType& ListType:: - operator= (const ListType& x) - { - if (this != &x) - { - static_cast< ::xml_schema::Type& > (*this) = x; - this->display_name_ = x.display_name_; - this->list_ = x.list_; - this->external_ = x.external_; - this->entry_ = x.entry_; - this->entry_ref_ = x.entry_ref_; - this->any_ = x.any_; - this->name_ = x.name_; - this->any_attribute_ = x.any_attribute_; - } - - return *this; - } - - ListType:: - ~ListType () - { - } - - // EntryType - // - - EntryType:: - EntryType (const UriType& uri) - : ::xml_schema::Type (), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_name_ (this), - any_ (this->getDomDocument ()), - uri_ (uri, this), - any_attribute_ (this->getDomDocument ()) - { - } - - EntryType:: - EntryType (const EntryType& x, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (x, f, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_name_ (x.display_name_, f, this), - any_ (x.any_, this->getDomDocument ()), - uri_ (x.uri_, f, this), - any_attribute_ (x.any_attribute_, this->getDomDocument ()) - { - } - - EntryType:: - EntryType (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (e, f | ::xml_schema::Flags::base, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_name_ (this), - any_ (this->getDomDocument ()), - uri_ (this), - any_attribute_ (this->getDomDocument ()) - { - if ((f & ::xml_schema::Flags::base) == 0) - { - ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); - this->parse (p, f); - } - } - - void EntryType:: - parse (::xsd::cxx::xml::dom::parser< char >& p, - ::xml_schema::Flags f) - { - for (; p.more_content (); p.next_content (false)) - { - const ::xercesc::DOMElement& i (p.cur_element ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // display-name - // - if (n.name () == "display-name" && n.namespace_ () == "urn:ietf:params:xml:ns:resource-lists") - { - ::std::unique_ptr< Display_nameType > r ( - Display_nameTraits::create (i, f, this)); - - if (!this->display_name_) + for (; p.more_content (); p.next_content (false)) { - this->display_name_.set (::std::move (r)); - continue; + const ::xercesc::DOMElement& i (p.cur_element ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // display-name + // + if (n.name () == "display-name" && n.namespace_ () == "urn:ietf:params:xml:ns:resource-lists") + { + ::std::unique_ptr< DisplayNameType > r ( + DisplayNameTraits::create (i, f, this)); + + if (!this->display_name_) + { + this->display_name_.set (::std::move (r)); + continue; + } + } + + // list + // + if (n.name () == "list" && n.namespace_ () == "urn:ietf:params:xml:ns:resource-lists") + { + ::std::unique_ptr< ListType1 > r ( + ListTraits::create (i, f, this)); + + this->list_.push_back (::std::move (r)); + continue; + } + + // external + // + if (n.name () == "external" && n.namespace_ () == "urn:ietf:params:xml:ns:resource-lists") + { + ::std::unique_ptr< ExternalType > r ( + ExternalTraits::create (i, f, this)); + + this->external_.push_back (::std::move (r)); + continue; + } + + // entry + // + if (n.name () == "entry" && n.namespace_ () == "urn:ietf:params:xml:ns:resource-lists") + { + ::std::unique_ptr< EntryType > r ( + EntryTraits::create (i, f, this)); + + this->entry_.push_back (::std::move (r)); + continue; + } + + // entry-ref + // + if (n.name () == "entry-ref" && n.namespace_ () == "urn:ietf:params:xml:ns:resource-lists") + { + ::std::unique_ptr< EntryRefType > r ( + EntryRefTraits::create (i, f, this)); + + this->entry_ref_.push_back (::std::move (r)); + continue; + } + + // any + // + if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:resource-lists")) + { + ::xercesc::DOMElement* r ( + static_cast< ::xercesc::DOMElement* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMElement* > (&i), true))); + this->any_.push_back (r); + continue; + } + + break; + } + + while (p.more_attributes ()) + { + const ::xercesc::DOMAttr& i (p.next_attribute ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + if (n.name () == "name" && n.namespace_ ().empty ()) + { + this->name_.set (NameTraits::create (i, f, this)); + continue; + } + + // any_attribute + // + if ((!n.namespace_ ().empty () && + n.namespace_ () != "urn:ietf:params:xml:ns:resource-lists" && + n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && + n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + { + ::xercesc::DOMAttr* r ( + static_cast< ::xercesc::DOMAttr* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMAttr* > (&i), true))); + this->any_attribute_ .insert (r); + continue; + } } } - // any - // - if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:resource-lists")) + ListType* ListType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const { - ::xercesc::DOMElement* r ( - static_cast< ::xercesc::DOMElement* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMElement* > (&i), true))); - this->any_.push_back (r); - continue; + return new class ListType (*this, f, c); } - break; - } - - while (p.more_attributes ()) - { - const ::xercesc::DOMAttr& i (p.next_attribute ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - if (n.name () == "uri" && n.namespace_ ().empty ()) + ListType& ListType:: + operator= (const ListType& x) { - this->uri_.set (UriTraits::create (i, f, this)); - continue; - } - - // any_attribute - // - if ((!n.namespace_ ().empty () && - n.namespace_ () != "urn:ietf:params:xml:ns:resource-lists" && - n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && - n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) - { - ::xercesc::DOMAttr* r ( - static_cast< ::xercesc::DOMAttr* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMAttr* > (&i), true))); - this->any_attribute_ .insert (r); - continue; - } - } - - if (!uri_.present ()) - { - throw ::xsd::cxx::tree::expected_attribute< char > ( - "uri", - ""); - } - } - - EntryType* EntryType:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class EntryType (*this, f, c); - } - - EntryType& EntryType:: - operator= (const EntryType& x) - { - if (this != &x) - { - static_cast< ::xml_schema::Type& > (*this) = x; - this->display_name_ = x.display_name_; - this->any_ = x.any_; - this->uri_ = x.uri_; - this->any_attribute_ = x.any_attribute_; - } - - return *this; - } - - EntryType:: - ~EntryType () - { - } - - // Entry_refType - // - - Entry_refType:: - Entry_refType (const RefType& ref) - : ::xml_schema::Type (), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_name_ (this), - any_ (this->getDomDocument ()), - ref_ (ref, this), - any_attribute_ (this->getDomDocument ()) - { - } - - Entry_refType:: - Entry_refType (const Entry_refType& x, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (x, f, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_name_ (x.display_name_, f, this), - any_ (x.any_, this->getDomDocument ()), - ref_ (x.ref_, f, this), - any_attribute_ (x.any_attribute_, this->getDomDocument ()) - { - } - - Entry_refType:: - Entry_refType (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (e, f | ::xml_schema::Flags::base, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_name_ (this), - any_ (this->getDomDocument ()), - ref_ (this), - any_attribute_ (this->getDomDocument ()) - { - if ((f & ::xml_schema::Flags::base) == 0) - { - ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); - this->parse (p, f); - } - } - - void Entry_refType:: - parse (::xsd::cxx::xml::dom::parser< char >& p, - ::xml_schema::Flags f) - { - for (; p.more_content (); p.next_content (false)) - { - const ::xercesc::DOMElement& i (p.cur_element ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // display-name - // - if (n.name () == "display-name" && n.namespace_ () == "urn:ietf:params:xml:ns:resource-lists") - { - ::std::unique_ptr< Display_nameType > r ( - Display_nameTraits::create (i, f, this)); - - if (!this->display_name_) + if (this != &x) { - this->display_name_.set (::std::move (r)); - continue; + static_cast< ::LinphonePrivate::Xsd::XmlSchema::Type& > (*this) = x; + this->display_name_ = x.display_name_; + this->list_ = x.list_; + this->external_ = x.external_; + this->entry_ = x.entry_; + this->entry_ref_ = x.entry_ref_; + this->any_ = x.any_; + this->name_ = x.name_; + this->any_attribute_ = x.any_attribute_; + } + + return *this; + } + + ListType:: + ~ListType () + { + } + + // EntryType + // + + EntryType:: + EntryType (const UriType& uri) + : ::LinphonePrivate::Xsd::XmlSchema::Type (), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_name_ (this), + any_ (this->getDomDocument ()), + uri_ (uri, this), + any_attribute_ (this->getDomDocument ()) + { + } + + EntryType:: + EntryType (const EntryType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (x, f, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_name_ (x.display_name_, f, this), + any_ (x.any_, this->getDomDocument ()), + uri_ (x.uri_, f, this), + any_attribute_ (x.any_attribute_, this->getDomDocument ()) + { + } + + EntryType:: + EntryType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (e, f | ::LinphonePrivate::Xsd::XmlSchema::Flags::base, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_name_ (this), + any_ (this->getDomDocument ()), + uri_ (this), + any_attribute_ (this->getDomDocument ()) + { + if ((f & ::LinphonePrivate::Xsd::XmlSchema::Flags::base) == 0) + { + ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); + this->parse (p, f); } } - // any - // - if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:resource-lists")) + void EntryType:: + parse (::xsd::cxx::xml::dom::parser< char >& p, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) { - ::xercesc::DOMElement* r ( - static_cast< ::xercesc::DOMElement* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMElement* > (&i), true))); - this->any_.push_back (r); - continue; - } - - break; - } - - while (p.more_attributes ()) - { - const ::xercesc::DOMAttr& i (p.next_attribute ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - if (n.name () == "ref" && n.namespace_ ().empty ()) - { - this->ref_.set (RefTraits::create (i, f, this)); - continue; - } - - // any_attribute - // - if ((!n.namespace_ ().empty () && - n.namespace_ () != "urn:ietf:params:xml:ns:resource-lists" && - n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && - n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) - { - ::xercesc::DOMAttr* r ( - static_cast< ::xercesc::DOMAttr* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMAttr* > (&i), true))); - this->any_attribute_ .insert (r); - continue; - } - } - - if (!ref_.present ()) - { - throw ::xsd::cxx::tree::expected_attribute< char > ( - "ref", - ""); - } - } - - Entry_refType* Entry_refType:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class Entry_refType (*this, f, c); - } - - Entry_refType& Entry_refType:: - operator= (const Entry_refType& x) - { - if (this != &x) - { - static_cast< ::xml_schema::Type& > (*this) = x; - this->display_name_ = x.display_name_; - this->any_ = x.any_; - this->ref_ = x.ref_; - this->any_attribute_ = x.any_attribute_; - } - - return *this; - } - - Entry_refType:: - ~Entry_refType () - { - } - - // ExternalType - // - - ExternalType:: - ExternalType () - : ::xml_schema::Type (), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_name_ (this), - any_ (this->getDomDocument ()), - anchor_ (this), - any_attribute_ (this->getDomDocument ()) - { - } - - ExternalType:: - ExternalType (const ExternalType& x, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (x, f, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_name_ (x.display_name_, f, this), - any_ (x.any_, this->getDomDocument ()), - anchor_ (x.anchor_, f, this), - any_attribute_ (x.any_attribute_, this->getDomDocument ()) - { - } - - ExternalType:: - ExternalType (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (e, f | ::xml_schema::Flags::base, c), - dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), - display_name_ (this), - any_ (this->getDomDocument ()), - anchor_ (this), - any_attribute_ (this->getDomDocument ()) - { - if ((f & ::xml_schema::Flags::base) == 0) - { - ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); - this->parse (p, f); - } - } - - void ExternalType:: - parse (::xsd::cxx::xml::dom::parser< char >& p, - ::xml_schema::Flags f) - { - for (; p.more_content (); p.next_content (false)) - { - const ::xercesc::DOMElement& i (p.cur_element ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // display-name - // - if (n.name () == "display-name" && n.namespace_ () == "urn:ietf:params:xml:ns:resource-lists") - { - ::std::unique_ptr< Display_nameType > r ( - Display_nameTraits::create (i, f, this)); - - if (!this->display_name_) + for (; p.more_content (); p.next_content (false)) { - this->display_name_.set (::std::move (r)); - continue; + const ::xercesc::DOMElement& i (p.cur_element ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // display-name + // + if (n.name () == "display-name" && n.namespace_ () == "urn:ietf:params:xml:ns:resource-lists") + { + ::std::unique_ptr< DisplayNameType > r ( + DisplayNameTraits::create (i, f, this)); + + if (!this->display_name_) + { + this->display_name_.set (::std::move (r)); + continue; + } + } + + // any + // + if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:resource-lists")) + { + ::xercesc::DOMElement* r ( + static_cast< ::xercesc::DOMElement* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMElement* > (&i), true))); + this->any_.push_back (r); + continue; + } + + break; + } + + while (p.more_attributes ()) + { + const ::xercesc::DOMAttr& i (p.next_attribute ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + if (n.name () == "uri" && n.namespace_ ().empty ()) + { + this->uri_.set (UriTraits::create (i, f, this)); + continue; + } + + // any_attribute + // + if ((!n.namespace_ ().empty () && + n.namespace_ () != "urn:ietf:params:xml:ns:resource-lists" && + n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && + n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + { + ::xercesc::DOMAttr* r ( + static_cast< ::xercesc::DOMAttr* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMAttr* > (&i), true))); + this->any_attribute_ .insert (r); + continue; + } + } + + if (!uri_.present ()) + { + throw ::xsd::cxx::tree::expected_attribute< char > ( + "uri", + ""); } } - // any + EntryType* EntryType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const + { + return new class EntryType (*this, f, c); + } + + EntryType& EntryType:: + operator= (const EntryType& x) + { + if (this != &x) + { + static_cast< ::LinphonePrivate::Xsd::XmlSchema::Type& > (*this) = x; + this->display_name_ = x.display_name_; + this->any_ = x.any_; + this->uri_ = x.uri_; + this->any_attribute_ = x.any_attribute_; + } + + return *this; + } + + EntryType:: + ~EntryType () + { + } + + // EntryRefType // - if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:resource-lists")) + + EntryRefType:: + EntryRefType (const RefType& ref) + : ::LinphonePrivate::Xsd::XmlSchema::Type (), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_name_ (this), + any_ (this->getDomDocument ()), + ref_ (ref, this), + any_attribute_ (this->getDomDocument ()) { - ::xercesc::DOMElement* r ( - static_cast< ::xercesc::DOMElement* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMElement* > (&i), true))); - this->any_.push_back (r); - continue; } - break; - } - - while (p.more_attributes ()) - { - const ::xercesc::DOMAttr& i (p.next_attribute ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - if (n.name () == "anchor" && n.namespace_ ().empty ()) + EntryRefType:: + EntryRefType (const EntryRefType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (x, f, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_name_ (x.display_name_, f, this), + any_ (x.any_, this->getDomDocument ()), + ref_ (x.ref_, f, this), + any_attribute_ (x.any_attribute_, this->getDomDocument ()) { - this->anchor_.set (AnchorTraits::create (i, f, this)); - continue; } - // any_attribute + EntryRefType:: + EntryRefType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (e, f | ::LinphonePrivate::Xsd::XmlSchema::Flags::base, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_name_ (this), + any_ (this->getDomDocument ()), + ref_ (this), + any_attribute_ (this->getDomDocument ()) + { + if ((f & ::LinphonePrivate::Xsd::XmlSchema::Flags::base) == 0) + { + ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); + this->parse (p, f); + } + } + + void EntryRefType:: + parse (::xsd::cxx::xml::dom::parser< char >& p, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) + { + for (; p.more_content (); p.next_content (false)) + { + const ::xercesc::DOMElement& i (p.cur_element ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // display-name + // + if (n.name () == "display-name" && n.namespace_ () == "urn:ietf:params:xml:ns:resource-lists") + { + ::std::unique_ptr< DisplayNameType > r ( + DisplayNameTraits::create (i, f, this)); + + if (!this->display_name_) + { + this->display_name_.set (::std::move (r)); + continue; + } + } + + // any + // + if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:resource-lists")) + { + ::xercesc::DOMElement* r ( + static_cast< ::xercesc::DOMElement* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMElement* > (&i), true))); + this->any_.push_back (r); + continue; + } + + break; + } + + while (p.more_attributes ()) + { + const ::xercesc::DOMAttr& i (p.next_attribute ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + if (n.name () == "ref" && n.namespace_ ().empty ()) + { + this->ref_.set (RefTraits::create (i, f, this)); + continue; + } + + // any_attribute + // + if ((!n.namespace_ ().empty () && + n.namespace_ () != "urn:ietf:params:xml:ns:resource-lists" && + n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && + n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + { + ::xercesc::DOMAttr* r ( + static_cast< ::xercesc::DOMAttr* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMAttr* > (&i), true))); + this->any_attribute_ .insert (r); + continue; + } + } + + if (!ref_.present ()) + { + throw ::xsd::cxx::tree::expected_attribute< char > ( + "ref", + ""); + } + } + + EntryRefType* EntryRefType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const + { + return new class EntryRefType (*this, f, c); + } + + EntryRefType& EntryRefType:: + operator= (const EntryRefType& x) + { + if (this != &x) + { + static_cast< ::LinphonePrivate::Xsd::XmlSchema::Type& > (*this) = x; + this->display_name_ = x.display_name_; + this->any_ = x.any_; + this->ref_ = x.ref_; + this->any_attribute_ = x.any_attribute_; + } + + return *this; + } + + EntryRefType:: + ~EntryRefType () + { + } + + // ExternalType // - if ((!n.namespace_ ().empty () && - n.namespace_ () != "urn:ietf:params:xml:ns:resource-lists" && - n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && - n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + + ExternalType:: + ExternalType () + : ::LinphonePrivate::Xsd::XmlSchema::Type (), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_name_ (this), + any_ (this->getDomDocument ()), + anchor_ (this), + any_attribute_ (this->getDomDocument ()) { - ::xercesc::DOMAttr* r ( - static_cast< ::xercesc::DOMAttr* > ( - this->getDomDocument ().importNode ( - const_cast< ::xercesc::DOMAttr* > (&i), true))); - this->any_attribute_ .insert (r); - continue; } - } - } - ExternalType* ExternalType:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class ExternalType (*this, f, c); - } - - ExternalType& ExternalType:: - operator= (const ExternalType& x) - { - if (this != &x) - { - static_cast< ::xml_schema::Type& > (*this) = x; - this->display_name_ = x.display_name_; - this->any_ = x.any_; - this->anchor_ = x.anchor_; - this->any_attribute_ = x.any_attribute_; - } - - return *this; - } - - ExternalType:: - ~ExternalType () - { - } - - // Display_nameType - // - - Display_nameType:: - Display_nameType () - : ::xml_schema::String (), - lang_ (this) - { - } - - Display_nameType:: - Display_nameType (const char* _xsd_String_base) - : ::xml_schema::String (_xsd_String_base), - lang_ (this) - { - } - - Display_nameType:: - Display_nameType (const ::std::string& _xsd_String_base) - : ::xml_schema::String (_xsd_String_base), - lang_ (this) - { - } - - Display_nameType:: - Display_nameType (const ::xml_schema::String& _xsd_String_base) - : ::xml_schema::String (_xsd_String_base), - lang_ (this) - { - } - - Display_nameType:: - Display_nameType (const Display_nameType& x, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (x, f, c), - lang_ (x.lang_, f, this) - { - } - - Display_nameType:: - Display_nameType (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (e, f | ::xml_schema::Flags::base, c), - lang_ (this) - { - if ((f & ::xml_schema::Flags::base) == 0) - { - ::xsd::cxx::xml::dom::parser< char > p (e, false, false, true); - this->parse (p, f); - } - } - - void Display_nameType:: - parse (::xsd::cxx::xml::dom::parser< char >& p, - ::xml_schema::Flags f) - { - while (p.more_attributes ()) - { - const ::xercesc::DOMAttr& i (p.next_attribute ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - if (n.name () == "lang" && n.namespace_ () == "http://www.w3.org/XML/1998/namespace") + ExternalType:: + ExternalType (const ExternalType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (x, f, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_name_ (x.display_name_, f, this), + any_ (x.any_, this->getDomDocument ()), + anchor_ (x.anchor_, f, this), + any_attribute_ (x.any_attribute_, this->getDomDocument ()) { - this->lang_.set (LangTraits::create (i, f, this)); - continue; } - } - } - Display_nameType* Display_nameType:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class Display_nameType (*this, f, c); - } + ExternalType:: + ExternalType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (e, f | ::LinphonePrivate::Xsd::XmlSchema::Flags::base, c), + dom_document_ (::xsd::cxx::xml::dom::create_document< char > ()), + display_name_ (this), + any_ (this->getDomDocument ()), + anchor_ (this), + any_attribute_ (this->getDomDocument ()) + { + if ((f & ::LinphonePrivate::Xsd::XmlSchema::Flags::base) == 0) + { + ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true); + this->parse (p, f); + } + } - Display_nameType& Display_nameType:: - operator= (const Display_nameType& x) - { - if (this != &x) - { - static_cast< ::xml_schema::String& > (*this) = x; - this->lang_ = x.lang_; - } + void ExternalType:: + parse (::xsd::cxx::xml::dom::parser< char >& p, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) + { + for (; p.more_content (); p.next_content (false)) + { + const ::xercesc::DOMElement& i (p.cur_element ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); - return *this; - } + // display-name + // + if (n.name () == "display-name" && n.namespace_ () == "urn:ietf:params:xml:ns:resource-lists") + { + ::std::unique_ptr< DisplayNameType > r ( + DisplayNameTraits::create (i, f, this)); - Display_nameType:: - ~Display_nameType () - { - } + if (!this->display_name_) + { + this->display_name_.set (::std::move (r)); + continue; + } + } - // List - // + // any + // + if ((!n.namespace_ ().empty () && n.namespace_ () != "urn:ietf:params:xml:ns:resource-lists")) + { + ::xercesc::DOMElement* r ( + static_cast< ::xercesc::DOMElement* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMElement* > (&i), true))); + this->any_.push_back (r); + continue; + } - List:: - List () - : ::resource_lists::ListType () - { - } + break; + } - List:: - List (const List& x, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::resource_lists::ListType (x, f, c) - { - } + while (p.more_attributes ()) + { + const ::xercesc::DOMAttr& i (p.next_attribute ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); - List:: - List (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::resource_lists::ListType (e, f, c) - { - } + if (n.name () == "anchor" && n.namespace_ ().empty ()) + { + this->anchor_.set (AnchorTraits::create (i, f, this)); + continue; + } - List* List:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class List (*this, f, c); - } + // any_attribute + // + if ((!n.namespace_ ().empty () && + n.namespace_ () != "urn:ietf:params:xml:ns:resource-lists" && + n.namespace_ () != ::xsd::cxx::xml::bits::xmlns_namespace< char > () && + n.namespace_ () != ::xsd::cxx::xml::bits::xsi_namespace< char > ())) + { + ::xercesc::DOMAttr* r ( + static_cast< ::xercesc::DOMAttr* > ( + this->getDomDocument ().importNode ( + const_cast< ::xercesc::DOMAttr* > (&i), true))); + this->any_attribute_ .insert (r); + continue; + } + } + } - List:: - ~List () - { - } + ExternalType* ExternalType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const + { + return new class ExternalType (*this, f, c); + } - // Display_name - // + ExternalType& ExternalType:: + operator= (const ExternalType& x) + { + if (this != &x) + { + static_cast< ::LinphonePrivate::Xsd::XmlSchema::Type& > (*this) = x; + this->display_name_ = x.display_name_; + this->any_ = x.any_; + this->anchor_ = x.anchor_; + this->any_attribute_ = x.any_attribute_; + } - Display_name:: - Display_name () - : ::resource_lists::Display_nameType () - { - } + return *this; + } - Display_name:: - Display_name (const char* _xsd_String_base) - : ::resource_lists::Display_nameType (_xsd_String_base) - { - } + ExternalType:: + ~ExternalType () + { + } - Display_name:: - Display_name (const ::std::string& _xsd_String_base) - : ::resource_lists::Display_nameType (_xsd_String_base) - { - } - - Display_name:: - Display_name (const ::xml_schema::String& _xsd_String_base) - : ::resource_lists::Display_nameType (_xsd_String_base) - { - } - - Display_name:: - Display_name (const Display_name& x, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::resource_lists::Display_nameType (x, f, c) - { - } - - Display_name:: - Display_name (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::resource_lists::Display_nameType (e, f, c) - { - } - - Display_name* Display_name:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class Display_name (*this, f, c); - } - - Display_name:: - ~Display_name () - { - } - - // Resource_lists - // - - Resource_lists:: - Resource_lists () - : ::xml_schema::Type (), - list_ (this) - { - } - - Resource_lists:: - Resource_lists (const Resource_lists& x, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (x, f, c), - list_ (x.list_, f, this) - { - } - - Resource_lists:: - Resource_lists (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Type (e, f | ::xml_schema::Flags::base, c), - list_ (this) - { - if ((f & ::xml_schema::Flags::base) == 0) - { - ::xsd::cxx::xml::dom::parser< char > p (e, true, false, false); - this->parse (p, f); - } - } - - void Resource_lists:: - parse (::xsd::cxx::xml::dom::parser< char >& p, - ::xml_schema::Flags f) - { - for (; p.more_content (); p.next_content (false)) - { - const ::xercesc::DOMElement& i (p.cur_element ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (i)); - - // list + // DisplayNameType // - if (n.name () == "list" && n.namespace_ () == "urn:ietf:params:xml:ns:resource-lists") - { - ::std::unique_ptr< ListType > r ( - ListTraits::create (i, f, this)); - this->list_.push_back (::std::move (r)); - continue; + DisplayNameType:: + DisplayNameType () + : ::LinphonePrivate::Xsd::XmlSchema::String (), + lang_ (this) + { } - break; + DisplayNameType:: + DisplayNameType (const char* _xsd_String_base) + : ::LinphonePrivate::Xsd::XmlSchema::String (_xsd_String_base), + lang_ (this) + { + } + + DisplayNameType:: + DisplayNameType (const ::std::string& _xsd_String_base) + : ::LinphonePrivate::Xsd::XmlSchema::String (_xsd_String_base), + lang_ (this) + { + } + + DisplayNameType:: + DisplayNameType (const ::LinphonePrivate::Xsd::XmlSchema::String& _xsd_String_base) + : ::LinphonePrivate::Xsd::XmlSchema::String (_xsd_String_base), + lang_ (this) + { + } + + DisplayNameType:: + DisplayNameType (const DisplayNameType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (x, f, c), + lang_ (x.lang_, f, this) + { + } + + DisplayNameType:: + DisplayNameType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (e, f | ::LinphonePrivate::Xsd::XmlSchema::Flags::base, c), + lang_ (this) + { + if ((f & ::LinphonePrivate::Xsd::XmlSchema::Flags::base) == 0) + { + ::xsd::cxx::xml::dom::parser< char > p (e, false, false, true); + this->parse (p, f); + } + } + + void DisplayNameType:: + parse (::xsd::cxx::xml::dom::parser< char >& p, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) + { + while (p.more_attributes ()) + { + const ::xercesc::DOMAttr& i (p.next_attribute ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + if (n.name () == "lang" && n.namespace_ () == "http://www.w3.org/XML/1998/namespace") + { + this->lang_.set (LangTraits::create (i, f, this)); + continue; + } + } + } + + DisplayNameType* DisplayNameType:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const + { + return new class DisplayNameType (*this, f, c); + } + + DisplayNameType& DisplayNameType:: + operator= (const DisplayNameType& x) + { + if (this != &x) + { + static_cast< ::LinphonePrivate::Xsd::XmlSchema::String& > (*this) = x; + this->lang_ = x.lang_; + } + + return *this; + } + + DisplayNameType:: + ~DisplayNameType () + { + } + + // List + // + + List:: + List () + : ::LinphonePrivate::Xsd::ResourceLists::ListType () + { + } + + List:: + List (const List& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::ResourceLists::ListType (x, f, c) + { + } + + List:: + List (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::ResourceLists::ListType (e, f, c) + { + } + + List* List:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const + { + return new class List (*this, f, c); + } + + List:: + ~List () + { + } + + // DisplayName + // + + DisplayName:: + DisplayName () + : ::LinphonePrivate::Xsd::ResourceLists::DisplayNameType () + { + } + + DisplayName:: + DisplayName (const char* _xsd_String_base) + : ::LinphonePrivate::Xsd::ResourceLists::DisplayNameType (_xsd_String_base) + { + } + + DisplayName:: + DisplayName (const ::std::string& _xsd_String_base) + : ::LinphonePrivate::Xsd::ResourceLists::DisplayNameType (_xsd_String_base) + { + } + + DisplayName:: + DisplayName (const ::LinphonePrivate::Xsd::XmlSchema::String& _xsd_String_base) + : ::LinphonePrivate::Xsd::ResourceLists::DisplayNameType (_xsd_String_base) + { + } + + DisplayName:: + DisplayName (const DisplayName& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::ResourceLists::DisplayNameType (x, f, c) + { + } + + DisplayName:: + DisplayName (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::ResourceLists::DisplayNameType (e, f, c) + { + } + + DisplayName* DisplayName:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const + { + return new class DisplayName (*this, f, c); + } + + DisplayName:: + ~DisplayName () + { + } + + // ResourceLists + // + + ResourceLists:: + ResourceLists () + : ::LinphonePrivate::Xsd::XmlSchema::Type (), + list_ (this) + { + } + + ResourceLists:: + ResourceLists (const ResourceLists& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (x, f, c), + list_ (x.list_, f, this) + { + } + + ResourceLists:: + ResourceLists (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Type (e, f | ::LinphonePrivate::Xsd::XmlSchema::Flags::base, c), + list_ (this) + { + if ((f & ::LinphonePrivate::Xsd::XmlSchema::Flags::base) == 0) + { + ::xsd::cxx::xml::dom::parser< char > p (e, true, false, false); + this->parse (p, f); + } + } + + void ResourceLists:: + parse (::xsd::cxx::xml::dom::parser< char >& p, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) + { + for (; p.more_content (); p.next_content (false)) + { + const ::xercesc::DOMElement& i (p.cur_element ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (i)); + + // list + // + if (n.name () == "list" && n.namespace_ () == "urn:ietf:params:xml:ns:resource-lists") + { + ::std::unique_ptr< ListType > r ( + ListTraits::create (i, f, this)); + + this->list_.push_back (::std::move (r)); + continue; + } + + break; + } + } + + ResourceLists* ResourceLists:: + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const + { + return new class ResourceLists (*this, f, c); + } + + ResourceLists& ResourceLists:: + operator= (const ResourceLists& x) + { + if (this != &x) + { + static_cast< ::LinphonePrivate::Xsd::XmlSchema::Type& > (*this) = x; + this->list_ = x.list_; + } + + return *this; + } + + ResourceLists:: + ~ResourceLists () + { + } } } - - Resource_lists* Resource_lists:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const - { - return new class Resource_lists (*this, f, c); - } - - Resource_lists& Resource_lists:: - operator= (const Resource_lists& x) - { - if (this != &x) - { - static_cast< ::xml_schema::Type& > (*this) = x; - this->list_ = x.list_; - } - - return *this; - } - - Resource_lists:: - ~Resource_lists () - { - } } #include -namespace resource_lists +namespace LinphonePrivate { - ::std::ostream& - operator<< (::std::ostream& o, const ListType& i) + namespace Xsd { - if (i.getDisplay_name ()) + namespace ResourceLists { - o << ::std::endl << "display-name: " << *i.getDisplay_name (); + ::std::ostream& + operator<< (::std::ostream& o, const ListType& i) + { + if (i.getDisplayName ()) + { + o << ::std::endl << "display-name: " << *i.getDisplayName (); + } + + for (ListType::ListConstIterator + b (i.getList ().begin ()), e (i.getList ().end ()); + b != e; ++b) + { + o << ::std::endl << "list: " << *b; + } + + for (ListType::ExternalConstIterator + b (i.getExternal ().begin ()), e (i.getExternal ().end ()); + b != e; ++b) + { + o << ::std::endl << "external: " << *b; + } + + for (ListType::EntryConstIterator + b (i.getEntry ().begin ()), e (i.getEntry ().end ()); + b != e; ++b) + { + o << ::std::endl << "entry: " << *b; + } + + for (ListType::EntryRefConstIterator + b (i.getEntryRef ().begin ()), e (i.getEntryRef ().end ()); + b != e; ++b) + { + o << ::std::endl << "entry-ref: " << *b; + } + + if (i.getName ()) + { + o << ::std::endl << "name: " << *i.getName (); + } + + return o; + } + + ::std::ostream& + operator<< (::std::ostream& o, const EntryType& i) + { + if (i.getDisplayName ()) + { + o << ::std::endl << "display-name: " << *i.getDisplayName (); + } + + o << ::std::endl << "uri: " << i.getUri (); + return o; + } + + ::std::ostream& + operator<< (::std::ostream& o, const EntryRefType& i) + { + if (i.getDisplayName ()) + { + o << ::std::endl << "display-name: " << *i.getDisplayName (); + } + + o << ::std::endl << "ref: " << i.getRef (); + return o; + } + + ::std::ostream& + operator<< (::std::ostream& o, const ExternalType& i) + { + if (i.getDisplayName ()) + { + o << ::std::endl << "display-name: " << *i.getDisplayName (); + } + + if (i.getAnchor ()) + { + o << ::std::endl << "anchor: " << *i.getAnchor (); + } + + return o; + } + + ::std::ostream& + operator<< (::std::ostream& o, const DisplayNameType& i) + { + o << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); + + if (i.getLang ()) + { + o << ::std::endl << "lang: " << *i.getLang (); + } + + return o; + } + + ::std::ostream& + operator<< (::std::ostream& o, const List& i) + { + o << static_cast< const ::LinphonePrivate::Xsd::ResourceLists::ListType& > (i); + + return o; + } + + ::std::ostream& + operator<< (::std::ostream& o, const DisplayName& i) + { + o << static_cast< const ::LinphonePrivate::Xsd::ResourceLists::DisplayNameType& > (i); + + return o; + } + + ::std::ostream& + operator<< (::std::ostream& o, const ResourceLists& i) + { + for (ResourceLists::ListConstIterator + b (i.getList ().begin ()), e (i.getList ().end ()); + b != e; ++b) + { + o << ::std::endl << "list: " << *b; + } + + return o; + } } - - for (ListType::ListConstIterator - b (i.getList ().begin ()), e (i.getList ().end ()); - b != e; ++b) - { - o << ::std::endl << "list: " << *b; - } - - for (ListType::ExternalConstIterator - b (i.getExternal ().begin ()), e (i.getExternal ().end ()); - b != e; ++b) - { - o << ::std::endl << "external: " << *b; - } - - for (ListType::EntryConstIterator - b (i.getEntry ().begin ()), e (i.getEntry ().end ()); - b != e; ++b) - { - o << ::std::endl << "entry: " << *b; - } - - for (ListType::Entry_refConstIterator - b (i.getEntry_ref ().begin ()), e (i.getEntry_ref ().end ()); - b != e; ++b) - { - o << ::std::endl << "entry-ref: " << *b; - } - - if (i.getName ()) - { - o << ::std::endl << "name: " << *i.getName (); - } - - return o; - } - - ::std::ostream& - operator<< (::std::ostream& o, const EntryType& i) - { - if (i.getDisplay_name ()) - { - o << ::std::endl << "display-name: " << *i.getDisplay_name (); - } - - o << ::std::endl << "uri: " << i.getUri (); - return o; - } - - ::std::ostream& - operator<< (::std::ostream& o, const Entry_refType& i) - { - if (i.getDisplay_name ()) - { - o << ::std::endl << "display-name: " << *i.getDisplay_name (); - } - - o << ::std::endl << "ref: " << i.getRef (); - return o; - } - - ::std::ostream& - operator<< (::std::ostream& o, const ExternalType& i) - { - if (i.getDisplay_name ()) - { - o << ::std::endl << "display-name: " << *i.getDisplay_name (); - } - - if (i.getAnchor ()) - { - o << ::std::endl << "anchor: " << *i.getAnchor (); - } - - return o; - } - - ::std::ostream& - operator<< (::std::ostream& o, const Display_nameType& i) - { - o << static_cast< const ::xml_schema::String& > (i); - - if (i.getLang ()) - { - o << ::std::endl << "lang: " << *i.getLang (); - } - - return o; - } - - ::std::ostream& - operator<< (::std::ostream& o, const List& i) - { - o << static_cast< const ::resource_lists::ListType& > (i); - - return o; - } - - ::std::ostream& - operator<< (::std::ostream& o, const Display_name& i) - { - o << static_cast< const ::resource_lists::Display_nameType& > (i); - - return o; - } - - ::std::ostream& - operator<< (::std::ostream& o, const Resource_lists& i) - { - for (Resource_lists::ListConstIterator - b (i.getList ().begin ()), e (i.getList ().end ()); - b != e; ++b) - { - o << ::std::endl << "list: " << *b; - } - - return o; } } @@ -1678,272 +1694,278 @@ namespace resource_lists #include #include -namespace resource_lists +namespace LinphonePrivate { - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (const ::std::string& u, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) + namespace Xsd { - ::xsd::cxx::xml::auto_initializer i ( - (f & ::xml_schema::Flags::dont_initialize) == 0, - (f & ::xml_schema::Flags::keep_dom) == 0); - - ::xsd::cxx::tree::error_handler< char > h; - - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::xsd::cxx::xml::dom::parse< char > ( - u, h, p, f)); - - h.throw_if_failed< ::xsd::cxx::tree::parsing< char > > (); - - return ::std::unique_ptr< ::resource_lists::Resource_lists > ( - ::resource_lists::parseResource_lists ( - std::move (d), f | ::xml_schema::Flags::own_dom, p)); - } - - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (const ::std::string& u, - ::xml_schema::ErrorHandler& h, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) - { - ::xsd::cxx::xml::auto_initializer i ( - (f & ::xml_schema::Flags::dont_initialize) == 0, - (f & ::xml_schema::Flags::keep_dom) == 0); - - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::xsd::cxx::xml::dom::parse< char > ( - u, h, p, f)); - - if (!d.get ()) - throw ::xsd::cxx::tree::parsing< char > (); - - return ::std::unique_ptr< ::resource_lists::Resource_lists > ( - ::resource_lists::parseResource_lists ( - std::move (d), f | ::xml_schema::Flags::own_dom, p)); - } - - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (const ::std::string& u, - ::xercesc::DOMErrorHandler& h, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) - { - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::xsd::cxx::xml::dom::parse< char > ( - u, h, p, f)); - - if (!d.get ()) - throw ::xsd::cxx::tree::parsing< char > (); - - return ::std::unique_ptr< ::resource_lists::Resource_lists > ( - ::resource_lists::parseResource_lists ( - std::move (d), f | ::xml_schema::Flags::own_dom, p)); - } - - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (::std::istream& is, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) - { - ::xsd::cxx::xml::auto_initializer i ( - (f & ::xml_schema::Flags::dont_initialize) == 0, - (f & ::xml_schema::Flags::keep_dom) == 0); - - ::xsd::cxx::xml::sax::std_input_source isrc (is); - return ::resource_lists::parseResource_lists (isrc, f, p); - } - - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (::std::istream& is, - ::xml_schema::ErrorHandler& h, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) - { - ::xsd::cxx::xml::auto_initializer i ( - (f & ::xml_schema::Flags::dont_initialize) == 0, - (f & ::xml_schema::Flags::keep_dom) == 0); - - ::xsd::cxx::xml::sax::std_input_source isrc (is); - return ::resource_lists::parseResource_lists (isrc, h, f, p); - } - - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (::std::istream& is, - ::xercesc::DOMErrorHandler& h, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) - { - ::xsd::cxx::xml::sax::std_input_source isrc (is); - return ::resource_lists::parseResource_lists (isrc, h, f, p); - } - - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (::std::istream& is, - const ::std::string& sid, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) - { - ::xsd::cxx::xml::auto_initializer i ( - (f & ::xml_schema::Flags::dont_initialize) == 0, - (f & ::xml_schema::Flags::keep_dom) == 0); - - ::xsd::cxx::xml::sax::std_input_source isrc (is, sid); - return ::resource_lists::parseResource_lists (isrc, f, p); - } - - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (::std::istream& is, - const ::std::string& sid, - ::xml_schema::ErrorHandler& h, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) - { - ::xsd::cxx::xml::auto_initializer i ( - (f & ::xml_schema::Flags::dont_initialize) == 0, - (f & ::xml_schema::Flags::keep_dom) == 0); - - ::xsd::cxx::xml::sax::std_input_source isrc (is, sid); - return ::resource_lists::parseResource_lists (isrc, h, f, p); - } - - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (::std::istream& is, - const ::std::string& sid, - ::xercesc::DOMErrorHandler& h, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) - { - ::xsd::cxx::xml::sax::std_input_source isrc (is, sid); - return ::resource_lists::parseResource_lists (isrc, h, f, p); - } - - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (::xercesc::InputSource& i, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) - { - ::xsd::cxx::tree::error_handler< char > h; - - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::xsd::cxx::xml::dom::parse< char > ( - i, h, p, f)); - - h.throw_if_failed< ::xsd::cxx::tree::parsing< char > > (); - - return ::std::unique_ptr< ::resource_lists::Resource_lists > ( - ::resource_lists::parseResource_lists ( - std::move (d), f | ::xml_schema::Flags::own_dom, p)); - } - - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (::xercesc::InputSource& i, - ::xml_schema::ErrorHandler& h, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) - { - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::xsd::cxx::xml::dom::parse< char > ( - i, h, p, f)); - - if (!d.get ()) - throw ::xsd::cxx::tree::parsing< char > (); - - return ::std::unique_ptr< ::resource_lists::Resource_lists > ( - ::resource_lists::parseResource_lists ( - std::move (d), f | ::xml_schema::Flags::own_dom, p)); - } - - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (::xercesc::InputSource& i, - ::xercesc::DOMErrorHandler& h, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) - { - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::xsd::cxx::xml::dom::parse< char > ( - i, h, p, f)); - - if (!d.get ()) - throw ::xsd::cxx::tree::parsing< char > (); - - return ::std::unique_ptr< ::resource_lists::Resource_lists > ( - ::resource_lists::parseResource_lists ( - std::move (d), f | ::xml_schema::Flags::own_dom, p)); - } - - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (const ::xercesc::DOMDocument& doc, - ::xml_schema::Flags f, - const ::xml_schema::Properties& p) - { - if (f & ::xml_schema::Flags::keep_dom) + namespace ResourceLists { - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - static_cast< ::xercesc::DOMDocument* > (doc.cloneNode (true))); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (const ::std::string& u, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + ::xsd::cxx::xml::auto_initializer i ( + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::dont_initialize) == 0, + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::keep_dom) == 0); - return ::std::unique_ptr< ::resource_lists::Resource_lists > ( - ::resource_lists::parseResource_lists ( - std::move (d), f | ::xml_schema::Flags::own_dom, p)); + ::xsd::cxx::tree::error_handler< char > h; + + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::xsd::cxx::xml::dom::parse< char > ( + u, h, p, f)); + + h.throw_if_failed< ::xsd::cxx::tree::parsing< char > > (); + + return ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > ( + ::LinphonePrivate::Xsd::ResourceLists::parseResourceLists ( + std::move (d), f | ::LinphonePrivate::Xsd::XmlSchema::Flags::own_dom, p)); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (const ::std::string& u, + ::LinphonePrivate::Xsd::XmlSchema::ErrorHandler& h, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + ::xsd::cxx::xml::auto_initializer i ( + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::dont_initialize) == 0, + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::keep_dom) == 0); + + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::xsd::cxx::xml::dom::parse< char > ( + u, h, p, f)); + + if (!d.get ()) + throw ::xsd::cxx::tree::parsing< char > (); + + return ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > ( + ::LinphonePrivate::Xsd::ResourceLists::parseResourceLists ( + std::move (d), f | ::LinphonePrivate::Xsd::XmlSchema::Flags::own_dom, p)); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (const ::std::string& u, + ::xercesc::DOMErrorHandler& h, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::xsd::cxx::xml::dom::parse< char > ( + u, h, p, f)); + + if (!d.get ()) + throw ::xsd::cxx::tree::parsing< char > (); + + return ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > ( + ::LinphonePrivate::Xsd::ResourceLists::parseResourceLists ( + std::move (d), f | ::LinphonePrivate::Xsd::XmlSchema::Flags::own_dom, p)); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (::std::istream& is, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + ::xsd::cxx::xml::auto_initializer i ( + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::dont_initialize) == 0, + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::keep_dom) == 0); + + ::xsd::cxx::xml::sax::std_input_source isrc (is); + return ::LinphonePrivate::Xsd::ResourceLists::parseResourceLists (isrc, f, p); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (::std::istream& is, + ::LinphonePrivate::Xsd::XmlSchema::ErrorHandler& h, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + ::xsd::cxx::xml::auto_initializer i ( + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::dont_initialize) == 0, + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::keep_dom) == 0); + + ::xsd::cxx::xml::sax::std_input_source isrc (is); + return ::LinphonePrivate::Xsd::ResourceLists::parseResourceLists (isrc, h, f, p); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (::std::istream& is, + ::xercesc::DOMErrorHandler& h, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + ::xsd::cxx::xml::sax::std_input_source isrc (is); + return ::LinphonePrivate::Xsd::ResourceLists::parseResourceLists (isrc, h, f, p); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (::std::istream& is, + const ::std::string& sid, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + ::xsd::cxx::xml::auto_initializer i ( + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::dont_initialize) == 0, + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::keep_dom) == 0); + + ::xsd::cxx::xml::sax::std_input_source isrc (is, sid); + return ::LinphonePrivate::Xsd::ResourceLists::parseResourceLists (isrc, f, p); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (::std::istream& is, + const ::std::string& sid, + ::LinphonePrivate::Xsd::XmlSchema::ErrorHandler& h, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + ::xsd::cxx::xml::auto_initializer i ( + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::dont_initialize) == 0, + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::keep_dom) == 0); + + ::xsd::cxx::xml::sax::std_input_source isrc (is, sid); + return ::LinphonePrivate::Xsd::ResourceLists::parseResourceLists (isrc, h, f, p); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (::std::istream& is, + const ::std::string& sid, + ::xercesc::DOMErrorHandler& h, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + ::xsd::cxx::xml::sax::std_input_source isrc (is, sid); + return ::LinphonePrivate::Xsd::ResourceLists::parseResourceLists (isrc, h, f, p); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (::xercesc::InputSource& i, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + ::xsd::cxx::tree::error_handler< char > h; + + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::xsd::cxx::xml::dom::parse< char > ( + i, h, p, f)); + + h.throw_if_failed< ::xsd::cxx::tree::parsing< char > > (); + + return ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > ( + ::LinphonePrivate::Xsd::ResourceLists::parseResourceLists ( + std::move (d), f | ::LinphonePrivate::Xsd::XmlSchema::Flags::own_dom, p)); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (::xercesc::InputSource& i, + ::LinphonePrivate::Xsd::XmlSchema::ErrorHandler& h, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::xsd::cxx::xml::dom::parse< char > ( + i, h, p, f)); + + if (!d.get ()) + throw ::xsd::cxx::tree::parsing< char > (); + + return ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > ( + ::LinphonePrivate::Xsd::ResourceLists::parseResourceLists ( + std::move (d), f | ::LinphonePrivate::Xsd::XmlSchema::Flags::own_dom, p)); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (::xercesc::InputSource& i, + ::xercesc::DOMErrorHandler& h, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::xsd::cxx::xml::dom::parse< char > ( + i, h, p, f)); + + if (!d.get ()) + throw ::xsd::cxx::tree::parsing< char > (); + + return ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > ( + ::LinphonePrivate::Xsd::ResourceLists::parseResourceLists ( + std::move (d), f | ::LinphonePrivate::Xsd::XmlSchema::Flags::own_dom, p)); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (const ::xercesc::DOMDocument& doc, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p) + { + if (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::keep_dom) + { + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + static_cast< ::xercesc::DOMDocument* > (doc.cloneNode (true))); + + return ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > ( + ::LinphonePrivate::Xsd::ResourceLists::parseResourceLists ( + std::move (d), f | ::LinphonePrivate::Xsd::XmlSchema::Flags::own_dom, p)); + } + + const ::xercesc::DOMElement& e (*doc.getDocumentElement ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (e)); + + if (n.name () == "resource-lists" && + n.namespace_ () == "urn:ietf:params:xml:ns:resource-lists") + { + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > r ( + ::xsd::cxx::tree::traits< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists, char >::create ( + e, f, 0)); + return r; + } + + throw ::xsd::cxx::tree::unexpected_element < char > ( + n.name (), + n.namespace_ (), + "resource-lists", + "urn:ietf:params:xml:ns:resource-lists"); + } + + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d, + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + const ::LinphonePrivate::Xsd::XmlSchema::Properties&) + { + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > c ( + ((f & ::LinphonePrivate::Xsd::XmlSchema::Flags::keep_dom) && + !(f & ::LinphonePrivate::Xsd::XmlSchema::Flags::own_dom)) + ? static_cast< ::xercesc::DOMDocument* > (d->cloneNode (true)) + : 0); + + ::xercesc::DOMDocument& doc (c.get () ? *c : *d); + const ::xercesc::DOMElement& e (*doc.getDocumentElement ()); + + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (e)); + + if (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::keep_dom) + doc.setUserData (::LinphonePrivate::Xsd::XmlSchema::dom::treeNodeKey, + (c.get () ? &c : &d), + 0); + + if (n.name () == "resource-lists" && + n.namespace_ () == "urn:ietf:params:xml:ns:resource-lists") + { + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > r ( + ::xsd::cxx::tree::traits< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists, char >::create ( + e, f, 0)); + return r; + } + + throw ::xsd::cxx::tree::unexpected_element < char > ( + n.name (), + n.namespace_ (), + "resource-lists", + "urn:ietf:params:xml:ns:resource-lists"); + } } - - const ::xercesc::DOMElement& e (*doc.getDocumentElement ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (e)); - - if (n.name () == "resource-lists" && - n.namespace_ () == "urn:ietf:params:xml:ns:resource-lists") - { - ::std::unique_ptr< ::resource_lists::Resource_lists > r ( - ::xsd::cxx::tree::traits< ::resource_lists::Resource_lists, char >::create ( - e, f, 0)); - return r; - } - - throw ::xsd::cxx::tree::unexpected_element < char > ( - n.name (), - n.namespace_ (), - "resource-lists", - "urn:ietf:params:xml:ns:resource-lists"); - } - - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d, - ::xml_schema::Flags f, - const ::xml_schema::Properties&) - { - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > c ( - ((f & ::xml_schema::Flags::keep_dom) && - !(f & ::xml_schema::Flags::own_dom)) - ? static_cast< ::xercesc::DOMDocument* > (d->cloneNode (true)) - : 0); - - ::xercesc::DOMDocument& doc (c.get () ? *c : *d); - const ::xercesc::DOMElement& e (*doc.getDocumentElement ()); - - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (e)); - - if (f & ::xml_schema::Flags::keep_dom) - doc.setUserData (::xml_schema::dom::treeNodeKey, - (c.get () ? &c : &d), - 0); - - if (n.name () == "resource-lists" && - n.namespace_ () == "urn:ietf:params:xml:ns:resource-lists") - { - ::std::unique_ptr< ::resource_lists::Resource_lists > r ( - ::xsd::cxx::tree::traits< ::resource_lists::Resource_lists, char >::create ( - e, f, 0)); - return r; - } - - throw ::xsd::cxx::tree::unexpected_element < char > ( - n.name (), - n.namespace_ (), - "resource-lists", - "urn:ietf:params:xml:ns:resource-lists"); } } @@ -1951,499 +1973,505 @@ namespace resource_lists #include #include -namespace resource_lists +namespace LinphonePrivate { - void - operator<< (::xercesc::DOMElement& e, const ListType& i) + namespace Xsd { - e << static_cast< const ::xml_schema::Type& > (i); - - // any_attribute - // - for (ListType::AnyAttributeConstIterator - b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); - b != n; ++b) + namespace ResourceLists { - ::xercesc::DOMAttr* a ( - static_cast< ::xercesc::DOMAttr* > ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); + void + operator<< (::xercesc::DOMElement& e, const ListType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Type& > (i); - if (a->getLocalName () == 0) - e.setAttributeNode (a); - else - e.setAttributeNodeNS (a); - } + // any_attribute + // + for (ListType::AnyAttributeConstIterator + b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); + b != n; ++b) + { + ::xercesc::DOMAttr* a ( + static_cast< ::xercesc::DOMAttr* > ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); - // display-name - // - if (i.getDisplay_name ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "display-name", - "urn:ietf:params:xml:ns:resource-lists", - e)); + if (a->getLocalName () == 0) + e.setAttributeNode (a); + else + e.setAttributeNodeNS (a); + } - s << *i.getDisplay_name (); - } + // display-name + // + if (i.getDisplayName ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "display-name", + "urn:ietf:params:xml:ns:resource-lists", + e)); - // list - // - for (ListType::ListConstIterator - b (i.getList ().begin ()), n (i.getList ().end ()); - b != n; ++b) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "list", - "urn:ietf:params:xml:ns:resource-lists", - e)); + s << *i.getDisplayName (); + } - s << *b; - } + // list + // + for (ListType::ListConstIterator + b (i.getList ().begin ()), n (i.getList ().end ()); + b != n; ++b) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "list", + "urn:ietf:params:xml:ns:resource-lists", + e)); - // external - // - for (ListType::ExternalConstIterator - b (i.getExternal ().begin ()), n (i.getExternal ().end ()); - b != n; ++b) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "external", - "urn:ietf:params:xml:ns:resource-lists", - e)); + s << *b; + } - s << *b; - } + // external + // + for (ListType::ExternalConstIterator + b (i.getExternal ().begin ()), n (i.getExternal ().end ()); + b != n; ++b) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "external", + "urn:ietf:params:xml:ns:resource-lists", + e)); - // entry - // - for (ListType::EntryConstIterator - b (i.getEntry ().begin ()), n (i.getEntry ().end ()); - b != n; ++b) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "entry", - "urn:ietf:params:xml:ns:resource-lists", - e)); + s << *b; + } - s << *b; - } + // entry + // + for (ListType::EntryConstIterator + b (i.getEntry ().begin ()), n (i.getEntry ().end ()); + b != n; ++b) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "entry", + "urn:ietf:params:xml:ns:resource-lists", + e)); - // entry-ref - // - for (ListType::Entry_refConstIterator - b (i.getEntry_ref ().begin ()), n (i.getEntry_ref ().end ()); - b != n; ++b) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "entry-ref", - "urn:ietf:params:xml:ns:resource-lists", - e)); + s << *b; + } - s << *b; - } + // entry-ref + // + for (ListType::EntryRefConstIterator + b (i.getEntryRef ().begin ()), n (i.getEntryRef ().end ()); + b != n; ++b) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "entry-ref", + "urn:ietf:params:xml:ns:resource-lists", + e)); - // any - // - for (ListType::AnyConstIterator - b (i.getAny ().begin ()), n (i.getAny ().end ()); - b != n; ++b) - { - e.appendChild ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMElement* > (&(*b)), true)); - } + s << *b; + } - // name - // - if (i.getName ()) - { - ::xercesc::DOMAttr& a ( - ::xsd::cxx::xml::dom::create_attribute ( - "name", - e)); + // any + // + for (ListType::AnyConstIterator + b (i.getAny ().begin ()), n (i.getAny ().end ()); + b != n; ++b) + { + e.appendChild ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMElement* > (&(*b)), true)); + } - a << *i.getName (); - } - } + // name + // + if (i.getName ()) + { + ::xercesc::DOMAttr& a ( + ::xsd::cxx::xml::dom::create_attribute ( + "name", + e)); - void - operator<< (::xercesc::DOMElement& e, const EntryType& i) - { - e << static_cast< const ::xml_schema::Type& > (i); + a << *i.getName (); + } + } - // any_attribute - // - for (EntryType::AnyAttributeConstIterator - b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); - b != n; ++b) - { - ::xercesc::DOMAttr* a ( - static_cast< ::xercesc::DOMAttr* > ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); + void + operator<< (::xercesc::DOMElement& e, const EntryType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Type& > (i); - if (a->getLocalName () == 0) - e.setAttributeNode (a); - else - e.setAttributeNodeNS (a); - } + // any_attribute + // + for (EntryType::AnyAttributeConstIterator + b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); + b != n; ++b) + { + ::xercesc::DOMAttr* a ( + static_cast< ::xercesc::DOMAttr* > ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); - // display-name - // - if (i.getDisplay_name ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "display-name", - "urn:ietf:params:xml:ns:resource-lists", - e)); + if (a->getLocalName () == 0) + e.setAttributeNode (a); + else + e.setAttributeNodeNS (a); + } - s << *i.getDisplay_name (); - } + // display-name + // + if (i.getDisplayName ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "display-name", + "urn:ietf:params:xml:ns:resource-lists", + e)); - // any - // - for (EntryType::AnyConstIterator - b (i.getAny ().begin ()), n (i.getAny ().end ()); - b != n; ++b) - { - e.appendChild ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMElement* > (&(*b)), true)); - } + s << *i.getDisplayName (); + } - // uri - // - { - ::xercesc::DOMAttr& a ( - ::xsd::cxx::xml::dom::create_attribute ( - "uri", - e)); + // any + // + for (EntryType::AnyConstIterator + b (i.getAny ().begin ()), n (i.getAny ().end ()); + b != n; ++b) + { + e.appendChild ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMElement* > (&(*b)), true)); + } - a << i.getUri (); - } - } + // uri + // + { + ::xercesc::DOMAttr& a ( + ::xsd::cxx::xml::dom::create_attribute ( + "uri", + e)); - void - operator<< (::xercesc::DOMElement& e, const Entry_refType& i) - { - e << static_cast< const ::xml_schema::Type& > (i); + a << i.getUri (); + } + } - // any_attribute - // - for (Entry_refType::AnyAttributeConstIterator - b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); - b != n; ++b) - { - ::xercesc::DOMAttr* a ( - static_cast< ::xercesc::DOMAttr* > ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); + void + operator<< (::xercesc::DOMElement& e, const EntryRefType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Type& > (i); - if (a->getLocalName () == 0) - e.setAttributeNode (a); - else - e.setAttributeNodeNS (a); - } + // any_attribute + // + for (EntryRefType::AnyAttributeConstIterator + b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); + b != n; ++b) + { + ::xercesc::DOMAttr* a ( + static_cast< ::xercesc::DOMAttr* > ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); - // display-name - // - if (i.getDisplay_name ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "display-name", - "urn:ietf:params:xml:ns:resource-lists", - e)); + if (a->getLocalName () == 0) + e.setAttributeNode (a); + else + e.setAttributeNodeNS (a); + } - s << *i.getDisplay_name (); - } + // display-name + // + if (i.getDisplayName ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "display-name", + "urn:ietf:params:xml:ns:resource-lists", + e)); - // any - // - for (Entry_refType::AnyConstIterator - b (i.getAny ().begin ()), n (i.getAny ().end ()); - b != n; ++b) - { - e.appendChild ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMElement* > (&(*b)), true)); - } + s << *i.getDisplayName (); + } - // ref - // - { - ::xercesc::DOMAttr& a ( - ::xsd::cxx::xml::dom::create_attribute ( - "ref", - e)); + // any + // + for (EntryRefType::AnyConstIterator + b (i.getAny ().begin ()), n (i.getAny ().end ()); + b != n; ++b) + { + e.appendChild ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMElement* > (&(*b)), true)); + } - a << i.getRef (); - } - } + // ref + // + { + ::xercesc::DOMAttr& a ( + ::xsd::cxx::xml::dom::create_attribute ( + "ref", + e)); - void - operator<< (::xercesc::DOMElement& e, const ExternalType& i) - { - e << static_cast< const ::xml_schema::Type& > (i); + a << i.getRef (); + } + } - // any_attribute - // - for (ExternalType::AnyAttributeConstIterator - b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); - b != n; ++b) - { - ::xercesc::DOMAttr* a ( - static_cast< ::xercesc::DOMAttr* > ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); + void + operator<< (::xercesc::DOMElement& e, const ExternalType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Type& > (i); - if (a->getLocalName () == 0) - e.setAttributeNode (a); - else - e.setAttributeNodeNS (a); - } + // any_attribute + // + for (ExternalType::AnyAttributeConstIterator + b (i.getAnyAttribute ().begin ()), n (i.getAnyAttribute ().end ()); + b != n; ++b) + { + ::xercesc::DOMAttr* a ( + static_cast< ::xercesc::DOMAttr* > ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMAttr* > (&(*b)), true))); - // display-name - // - if (i.getDisplay_name ()) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "display-name", - "urn:ietf:params:xml:ns:resource-lists", - e)); + if (a->getLocalName () == 0) + e.setAttributeNode (a); + else + e.setAttributeNodeNS (a); + } - s << *i.getDisplay_name (); - } + // display-name + // + if (i.getDisplayName ()) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "display-name", + "urn:ietf:params:xml:ns:resource-lists", + e)); - // any - // - for (ExternalType::AnyConstIterator - b (i.getAny ().begin ()), n (i.getAny ().end ()); - b != n; ++b) - { - e.appendChild ( - e.getOwnerDocument ()->importNode ( - const_cast< ::xercesc::DOMElement* > (&(*b)), true)); - } + s << *i.getDisplayName (); + } - // anchor - // - if (i.getAnchor ()) - { - ::xercesc::DOMAttr& a ( - ::xsd::cxx::xml::dom::create_attribute ( - "anchor", - e)); + // any + // + for (ExternalType::AnyConstIterator + b (i.getAny ().begin ()), n (i.getAny ().end ()); + b != n; ++b) + { + e.appendChild ( + e.getOwnerDocument ()->importNode ( + const_cast< ::xercesc::DOMElement* > (&(*b)), true)); + } - a << *i.getAnchor (); - } - } + // anchor + // + if (i.getAnchor ()) + { + ::xercesc::DOMAttr& a ( + ::xsd::cxx::xml::dom::create_attribute ( + "anchor", + e)); - void - serializeResource_lists (::std::ostream& o, - const ::resource_lists::Resource_lists& s, - const ::xml_schema::NamespaceInfomap& m, - const ::std::string& e, - ::xml_schema::Flags f) - { - ::xsd::cxx::xml::auto_initializer i ( - (f & ::xml_schema::Flags::dont_initialize) == 0); + a << *i.getAnchor (); + } + } - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::resource_lists::serializeResource_lists (s, m, f)); + void + serializeResourceLists (::std::ostream& o, + const ::LinphonePrivate::Xsd::ResourceLists::ResourceLists& s, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m, + const ::std::string& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) + { + ::xsd::cxx::xml::auto_initializer i ( + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::dont_initialize) == 0); - ::xsd::cxx::tree::error_handler< char > h; + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::LinphonePrivate::Xsd::ResourceLists::serializeResourceLists (s, m, f)); - ::xsd::cxx::xml::dom::ostream_format_target t (o); - if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f)) - { - h.throw_if_failed< ::xsd::cxx::tree::serialization< char > > (); - } - } + ::xsd::cxx::tree::error_handler< char > h; - void - serializeResource_lists (::std::ostream& o, - const ::resource_lists::Resource_lists& s, - ::xml_schema::ErrorHandler& h, - const ::xml_schema::NamespaceInfomap& m, - const ::std::string& e, - ::xml_schema::Flags f) - { - ::xsd::cxx::xml::auto_initializer i ( - (f & ::xml_schema::Flags::dont_initialize) == 0); + ::xsd::cxx::xml::dom::ostream_format_target t (o); + if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f)) + { + h.throw_if_failed< ::xsd::cxx::tree::serialization< char > > (); + } + } - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::resource_lists::serializeResource_lists (s, m, f)); - ::xsd::cxx::xml::dom::ostream_format_target t (o); - if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f)) - { - throw ::xsd::cxx::tree::serialization< char > (); - } - } + void + serializeResourceLists (::std::ostream& o, + const ::LinphonePrivate::Xsd::ResourceLists::ResourceLists& s, + ::LinphonePrivate::Xsd::XmlSchema::ErrorHandler& h, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m, + const ::std::string& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) + { + ::xsd::cxx::xml::auto_initializer i ( + (f & ::LinphonePrivate::Xsd::XmlSchema::Flags::dont_initialize) == 0); - void - serializeResource_lists (::std::ostream& o, - const ::resource_lists::Resource_lists& s, - ::xercesc::DOMErrorHandler& h, - const ::xml_schema::NamespaceInfomap& m, - const ::std::string& e, - ::xml_schema::Flags f) - { - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::resource_lists::serializeResource_lists (s, m, f)); - ::xsd::cxx::xml::dom::ostream_format_target t (o); - if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f)) - { - throw ::xsd::cxx::tree::serialization< char > (); - } - } + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::LinphonePrivate::Xsd::ResourceLists::serializeResourceLists (s, m, f)); + ::xsd::cxx::xml::dom::ostream_format_target t (o); + if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f)) + { + throw ::xsd::cxx::tree::serialization< char > (); + } + } - void - serializeResource_lists (::xercesc::XMLFormatTarget& t, - const ::resource_lists::Resource_lists& s, - const ::xml_schema::NamespaceInfomap& m, - const ::std::string& e, - ::xml_schema::Flags f) - { - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::resource_lists::serializeResource_lists (s, m, f)); + void + serializeResourceLists (::std::ostream& o, + const ::LinphonePrivate::Xsd::ResourceLists::ResourceLists& s, + ::xercesc::DOMErrorHandler& h, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m, + const ::std::string& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) + { + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::LinphonePrivate::Xsd::ResourceLists::serializeResourceLists (s, m, f)); + ::xsd::cxx::xml::dom::ostream_format_target t (o); + if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f)) + { + throw ::xsd::cxx::tree::serialization< char > (); + } + } - ::xsd::cxx::tree::error_handler< char > h; + void + serializeResourceLists (::xercesc::XMLFormatTarget& t, + const ::LinphonePrivate::Xsd::ResourceLists::ResourceLists& s, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m, + const ::std::string& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) + { + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::LinphonePrivate::Xsd::ResourceLists::serializeResourceLists (s, m, f)); - if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f)) - { - h.throw_if_failed< ::xsd::cxx::tree::serialization< char > > (); - } - } + ::xsd::cxx::tree::error_handler< char > h; - void - serializeResource_lists (::xercesc::XMLFormatTarget& t, - const ::resource_lists::Resource_lists& s, - ::xml_schema::ErrorHandler& h, - const ::xml_schema::NamespaceInfomap& m, - const ::std::string& e, - ::xml_schema::Flags f) - { - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::resource_lists::serializeResource_lists (s, m, f)); - if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f)) - { - throw ::xsd::cxx::tree::serialization< char > (); - } - } + if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f)) + { + h.throw_if_failed< ::xsd::cxx::tree::serialization< char > > (); + } + } - void - serializeResource_lists (::xercesc::XMLFormatTarget& t, - const ::resource_lists::Resource_lists& s, - ::xercesc::DOMErrorHandler& h, - const ::xml_schema::NamespaceInfomap& m, - const ::std::string& e, - ::xml_schema::Flags f) - { - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::resource_lists::serializeResource_lists (s, m, f)); - if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f)) - { - throw ::xsd::cxx::tree::serialization< char > (); - } - } + void + serializeResourceLists (::xercesc::XMLFormatTarget& t, + const ::LinphonePrivate::Xsd::ResourceLists::ResourceLists& s, + ::LinphonePrivate::Xsd::XmlSchema::ErrorHandler& h, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m, + const ::std::string& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) + { + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::LinphonePrivate::Xsd::ResourceLists::serializeResourceLists (s, m, f)); + if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f)) + { + throw ::xsd::cxx::tree::serialization< char > (); + } + } - void - serializeResource_lists (::xercesc::DOMDocument& d, - const ::resource_lists::Resource_lists& s, - ::xml_schema::Flags) - { - ::xercesc::DOMElement& e (*d.getDocumentElement ()); - const ::xsd::cxx::xml::qualified_name< char > n ( - ::xsd::cxx::xml::dom::name< char > (e)); + void + serializeResourceLists (::xercesc::XMLFormatTarget& t, + const ::LinphonePrivate::Xsd::ResourceLists::ResourceLists& s, + ::xercesc::DOMErrorHandler& h, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m, + const ::std::string& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) + { + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::LinphonePrivate::Xsd::ResourceLists::serializeResourceLists (s, m, f)); + if (!::xsd::cxx::xml::dom::serialize (t, *d, e, h, f)) + { + throw ::xsd::cxx::tree::serialization< char > (); + } + } - if (n.name () == "resource-lists" && - n.namespace_ () == "urn:ietf:params:xml:ns:resource-lists") - { - e << s; - } - else - { - throw ::xsd::cxx::tree::unexpected_element < char > ( - n.name (), - n.namespace_ (), - "resource-lists", - "urn:ietf:params:xml:ns:resource-lists"); - } - } + void + serializeResourceLists (::xercesc::DOMDocument& d, + const ::LinphonePrivate::Xsd::ResourceLists::ResourceLists& s, + ::LinphonePrivate::Xsd::XmlSchema::Flags) + { + ::xercesc::DOMElement& e (*d.getDocumentElement ()); + const ::xsd::cxx::xml::qualified_name< char > n ( + ::xsd::cxx::xml::dom::name< char > (e)); - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > - serializeResource_lists (const ::resource_lists::Resource_lists& s, - const ::xml_schema::NamespaceInfomap& m, - ::xml_schema::Flags f) - { - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d ( - ::xsd::cxx::xml::dom::serialize< char > ( - "resource-lists", - "urn:ietf:params:xml:ns:resource-lists", - m, f)); + if (n.name () == "resource-lists" && + n.namespace_ () == "urn:ietf:params:xml:ns:resource-lists") + { + e << s; + } + else + { + throw ::xsd::cxx::tree::unexpected_element < char > ( + n.name (), + n.namespace_ (), + "resource-lists", + "urn:ietf:params:xml:ns:resource-lists"); + } + } - ::resource_lists::serializeResource_lists (*d, s, f); - return d; - } + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > + serializeResourceLists (const ::LinphonePrivate::Xsd::ResourceLists::ResourceLists& s, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m, + ::LinphonePrivate::Xsd::XmlSchema::Flags f) + { + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d ( + ::xsd::cxx::xml::dom::serialize< char > ( + "resource-lists", + "urn:ietf:params:xml:ns:resource-lists", + m, f)); - void - operator<< (::xercesc::DOMElement& e, const Display_nameType& i) - { - e << static_cast< const ::xml_schema::String& > (i); + ::LinphonePrivate::Xsd::ResourceLists::serializeResourceLists (*d, s, f); + return d; + } - // lang - // - if (i.getLang ()) - { - ::xercesc::DOMAttr& a ( - ::xsd::cxx::xml::dom::create_attribute ( - "lang", - "http://www.w3.org/XML/1998/namespace", - e)); + void + operator<< (::xercesc::DOMElement& e, const DisplayNameType& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); - a << *i.getLang (); - } - } + // lang + // + if (i.getLang ()) + { + ::xercesc::DOMAttr& a ( + ::xsd::cxx::xml::dom::create_attribute ( + "lang", + "http://www.w3.org/XML/1998/namespace", + e)); - void - operator<< (::xercesc::DOMElement& e, const List& i) - { - e << static_cast< const ::resource_lists::ListType& > (i); - } + a << *i.getLang (); + } + } - void - operator<< (::xercesc::DOMElement& e, const Display_name& i) - { - e << static_cast< const ::resource_lists::Display_nameType& > (i); - } + void + operator<< (::xercesc::DOMElement& e, const List& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::ResourceLists::ListType& > (i); + } - void - operator<< (::xercesc::DOMElement& e, const Resource_lists& i) - { - e << static_cast< const ::xml_schema::Type& > (i); + void + operator<< (::xercesc::DOMElement& e, const DisplayName& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::ResourceLists::DisplayNameType& > (i); + } - // list - // - for (Resource_lists::ListConstIterator - b (i.getList ().begin ()), n (i.getList ().end ()); - b != n; ++b) - { - ::xercesc::DOMElement& s ( - ::xsd::cxx::xml::dom::create_element ( - "list", - "urn:ietf:params:xml:ns:resource-lists", - e)); + void + operator<< (::xercesc::DOMElement& e, const ResourceLists& i) + { + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Type& > (i); - s << *b; + // list + // + for (ResourceLists::ListConstIterator + b (i.getList ().begin ()), n (i.getList ().end ()); + b != n; ++b) + { + ::xercesc::DOMElement& s ( + ::xsd::cxx::xml::dom::create_element ( + "list", + "urn:ietf:params:xml:ns:resource-lists", + e)); + + s << *b; + } + } } } } @@ -2452,11 +2480,9 @@ namespace resource_lists // Begin epilogue. // - #if __clang__ || __GNUC__ >= 4 #pragma GCC diagnostic pop #endif - // // End epilogue. diff --git a/src/xml/resource-lists.h b/src/xml/resource-lists.h index b3dab2800..ce7f1a8ce 100644 --- a/src/xml/resource-lists.h +++ b/src/xml/resource-lists.h @@ -48,12 +48,10 @@ // Begin prologue. // - #if __clang__ || __GNUC__ >= 4 #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wsuggest-override" #endif - // // End prologue. @@ -106,170 +104,182 @@ #include -namespace xml_schema +namespace LinphonePrivate { - // anyType and anySimpleType. - // - typedef ::xsd::cxx::tree::type Type; - typedef ::xsd::cxx::tree::simple_type< char, Type > SimpleType; - typedef ::xsd::cxx::tree::type Container; - - // 8-bit - // - typedef signed char Byte; - typedef unsigned char UnsignedByte; - - // 16-bit - // - typedef short Short; - typedef unsigned short UnsignedShort; - - // 32-bit - // - typedef int Int; - typedef unsigned int UnsignedInt; - - // 64-bit - // - typedef long long Long; - typedef unsigned long long UnsignedLong; - - // Supposed to be arbitrary-length integral types. - // - typedef long long Integer; - typedef long long NonPositiveInteger; - typedef unsigned long long NonNegativeInteger; - typedef unsigned long long PositiveInteger; - typedef long long NegativeInteger; - - // Boolean. - // - typedef bool Boolean; - - // Floating-point types. - // - typedef float Float; - typedef double Double; - typedef double Decimal; - - // String types. - // - typedef ::xsd::cxx::tree::string< char, SimpleType > String; - typedef ::xsd::cxx::tree::normalized_string< char, String > NormalizedString; - typedef ::xsd::cxx::tree::token< char, NormalizedString > Token; - typedef ::xsd::cxx::tree::name< char, Token > Name; - typedef ::xsd::cxx::tree::nmtoken< char, Token > Nmtoken; - typedef ::xsd::cxx::tree::nmtokens< char, SimpleType, Nmtoken > Nmtokens; - typedef ::xsd::cxx::tree::ncname< char, Name > Ncname; - typedef ::xsd::cxx::tree::language< char, Token > Language; - - // ID/IDREF. - // - typedef ::xsd::cxx::tree::id< char, Ncname > Id; - typedef ::xsd::cxx::tree::idref< char, Ncname, Type > Idref; - typedef ::xsd::cxx::tree::idrefs< char, SimpleType, Idref > Idrefs; - - // URI. - // - typedef ::xsd::cxx::tree::uri< char, SimpleType > Uri; - - // Qualified name. - // - typedef ::xsd::cxx::tree::qname< char, SimpleType, Uri, Ncname > Qname; - - // Binary. - // - typedef ::xsd::cxx::tree::buffer< char > Buffer; - typedef ::xsd::cxx::tree::base64_binary< char, SimpleType > Base64Binary; - typedef ::xsd::cxx::tree::hex_binary< char, SimpleType > HexBinary; - - // Date/time. - // - typedef ::xsd::cxx::tree::time_zone TimeZone; - typedef ::xsd::cxx::tree::date< char, SimpleType > Date; - typedef ::xsd::cxx::tree::date_time< char, SimpleType > DateTime; - typedef ::xsd::cxx::tree::duration< char, SimpleType > Duration; - typedef ::xsd::cxx::tree::gday< char, SimpleType > Gday; - typedef ::xsd::cxx::tree::gmonth< char, SimpleType > Gmonth; - typedef ::xsd::cxx::tree::gmonth_day< char, SimpleType > GmonthDay; - typedef ::xsd::cxx::tree::gyear< char, SimpleType > Gyear; - typedef ::xsd::cxx::tree::gyear_month< char, SimpleType > GyearMonth; - typedef ::xsd::cxx::tree::time< char, SimpleType > Time; - - // Entity. - // - typedef ::xsd::cxx::tree::entity< char, Ncname > Entity; - typedef ::xsd::cxx::tree::entities< char, SimpleType, Entity > Entities; - - typedef ::xsd::cxx::tree::content_order ContentOrder; - // Namespace information and list stream. Used in - // serialization functions. - // - typedef ::xsd::cxx::xml::dom::namespace_info< char > NamespaceInfo; - typedef ::xsd::cxx::xml::dom::namespace_infomap< char > NamespaceInfomap; - typedef ::xsd::cxx::tree::list_stream< char > ListStream; - typedef ::xsd::cxx::tree::as_double< Double > AsDouble; - typedef ::xsd::cxx::tree::as_decimal< Decimal > AsDecimal; - typedef ::xsd::cxx::tree::facet Facet; - - // Flags and properties. - // - typedef ::xsd::cxx::tree::flags Flags; - typedef ::xsd::cxx::tree::properties< char > Properties; - - // Parsing/serialization diagnostics. - // - typedef ::xsd::cxx::tree::severity Severity; - typedef ::xsd::cxx::tree::error< char > Error; - typedef ::xsd::cxx::tree::diagnostics< char > Diagnostics; - - // Exceptions. - // - typedef ::xsd::cxx::tree::exception< char > Exception; - typedef ::xsd::cxx::tree::bounds< char > Bounds; - typedef ::xsd::cxx::tree::duplicate_id< char > DuplicateId; - typedef ::xsd::cxx::tree::parsing< char > Parsing; - typedef ::xsd::cxx::tree::expected_element< char > ExpectedElement; - typedef ::xsd::cxx::tree::unexpected_element< char > UnexpectedElement; - typedef ::xsd::cxx::tree::expected_attribute< char > ExpectedAttribute; - typedef ::xsd::cxx::tree::unexpected_enumerator< char > UnexpectedEnumerator; - typedef ::xsd::cxx::tree::expected_text_content< char > ExpectedTextContent; - typedef ::xsd::cxx::tree::no_prefix_mapping< char > NoPrefixMapping; - typedef ::xsd::cxx::tree::serialization< char > Serialization; - - // Error handler callback interface. - // - typedef ::xsd::cxx::xml::error_handler< char > ErrorHandler; - - // DOM interaction. - // - namespace dom + namespace Xsd { - // Automatic pointer for DOMDocument. - // - using ::xsd::cxx::xml::dom::unique_ptr; + namespace XmlSchema + { + // anyType and anySimpleType. + // + typedef ::xsd::cxx::tree::type Type; + typedef ::xsd::cxx::tree::simple_type< char, Type > SimpleType; + typedef ::xsd::cxx::tree::type Container; -#ifndef XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA -#define XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA - // DOM user data key for back pointers to tree nodes. - // - const XMLCh* const treeNodeKey = ::xsd::cxx::tree::user_data_keys::node; + // 8-bit + // + typedef signed char Byte; + typedef unsigned char UnsignedByte; + + // 16-bit + // + typedef short Short; + typedef unsigned short UnsignedShort; + + // 32-bit + // + typedef int Int; + typedef unsigned int UnsignedInt; + + // 64-bit + // + typedef long long Long; + typedef unsigned long long UnsignedLong; + + // Supposed to be arbitrary-length integral types. + // + typedef long long Integer; + typedef long long NonPositiveInteger; + typedef unsigned long long NonNegativeInteger; + typedef unsigned long long PositiveInteger; + typedef long long NegativeInteger; + + // Boolean. + // + typedef bool Boolean; + + // Floating-point types. + // + typedef float Float; + typedef double Double; + typedef double Decimal; + + // String types. + // + typedef ::xsd::cxx::tree::string< char, SimpleType > String; + typedef ::xsd::cxx::tree::normalized_string< char, String > NormalizedString; + typedef ::xsd::cxx::tree::token< char, NormalizedString > Token; + typedef ::xsd::cxx::tree::name< char, Token > Name; + typedef ::xsd::cxx::tree::nmtoken< char, Token > Nmtoken; + typedef ::xsd::cxx::tree::nmtokens< char, SimpleType, Nmtoken > Nmtokens; + typedef ::xsd::cxx::tree::ncname< char, Name > Ncname; + typedef ::xsd::cxx::tree::language< char, Token > Language; + + // ID/IDREF. + // + typedef ::xsd::cxx::tree::id< char, Ncname > Id; + typedef ::xsd::cxx::tree::idref< char, Ncname, Type > Idref; + typedef ::xsd::cxx::tree::idrefs< char, SimpleType, Idref > Idrefs; + + // URI. + // + typedef ::xsd::cxx::tree::uri< char, SimpleType > Uri; + + // Qualified name. + // + typedef ::xsd::cxx::tree::qname< char, SimpleType, Uri, Ncname > Qname; + + // Binary. + // + typedef ::xsd::cxx::tree::buffer< char > Buffer; + typedef ::xsd::cxx::tree::base64_binary< char, SimpleType > Base64Binary; + typedef ::xsd::cxx::tree::hex_binary< char, SimpleType > HexBinary; + + // Date/time. + // + typedef ::xsd::cxx::tree::time_zone TimeZone; + typedef ::xsd::cxx::tree::date< char, SimpleType > Date; + typedef ::xsd::cxx::tree::date_time< char, SimpleType > DateTime; + typedef ::xsd::cxx::tree::duration< char, SimpleType > Duration; + typedef ::xsd::cxx::tree::gday< char, SimpleType > Gday; + typedef ::xsd::cxx::tree::gmonth< char, SimpleType > Gmonth; + typedef ::xsd::cxx::tree::gmonth_day< char, SimpleType > GmonthDay; + typedef ::xsd::cxx::tree::gyear< char, SimpleType > Gyear; + typedef ::xsd::cxx::tree::gyear_month< char, SimpleType > GyearMonth; + typedef ::xsd::cxx::tree::time< char, SimpleType > Time; + + // Entity. + // + typedef ::xsd::cxx::tree::entity< char, Ncname > Entity; + typedef ::xsd::cxx::tree::entities< char, SimpleType, Entity > Entities; + + typedef ::xsd::cxx::tree::content_order ContentOrder; + // Namespace information and list stream. Used in + // serialization functions. + // + typedef ::xsd::cxx::xml::dom::namespace_info< char > NamespaceInfo; + typedef ::xsd::cxx::xml::dom::namespace_infomap< char > NamespaceInfomap; + typedef ::xsd::cxx::tree::list_stream< char > ListStream; + typedef ::xsd::cxx::tree::as_double< Double > AsDouble; + typedef ::xsd::cxx::tree::as_decimal< Decimal > AsDecimal; + typedef ::xsd::cxx::tree::facet Facet; + + // Flags and properties. + // + typedef ::xsd::cxx::tree::flags Flags; + typedef ::xsd::cxx::tree::properties< char > Properties; + + // Parsing/serialization diagnostics. + // + typedef ::xsd::cxx::tree::severity Severity; + typedef ::xsd::cxx::tree::error< char > Error; + typedef ::xsd::cxx::tree::diagnostics< char > Diagnostics; + + // Exceptions. + // + typedef ::xsd::cxx::tree::exception< char > Exception; + typedef ::xsd::cxx::tree::bounds< char > Bounds; + typedef ::xsd::cxx::tree::duplicate_id< char > DuplicateId; + typedef ::xsd::cxx::tree::parsing< char > Parsing; + typedef ::xsd::cxx::tree::expected_element< char > ExpectedElement; + typedef ::xsd::cxx::tree::unexpected_element< char > UnexpectedElement; + typedef ::xsd::cxx::tree::expected_attribute< char > ExpectedAttribute; + typedef ::xsd::cxx::tree::unexpected_enumerator< char > UnexpectedEnumerator; + typedef ::xsd::cxx::tree::expected_text_content< char > ExpectedTextContent; + typedef ::xsd::cxx::tree::no_prefix_mapping< char > NoPrefixMapping; + typedef ::xsd::cxx::tree::serialization< char > Serialization; + + // Error handler callback interface. + // + typedef ::xsd::cxx::xml::error_handler< char > ErrorHandler; + + // DOM interaction. + // + namespace dom + { + // Automatic pointer for DOMDocument. + // + using ::xsd::cxx::xml::dom::unique_ptr; + +#ifndef XSD_CXX_TREE_TREE_NODE_KEY__LINPHONEPRIVATE__XSD__XMLSCHEMA +#define XSD_CXX_TREE_TREE_NODE_KEY__LINPHONEPRIVATE__XSD__XMLSCHEMA + // DOM user data key for back pointers to tree nodes. + // + const XMLCh* const treeNodeKey = ::xsd::cxx::tree::user_data_keys::node; #endif + } + } } } // Forward declarations. // -namespace resource_lists +namespace LinphonePrivate { - class ListType; - class EntryType; - class Entry_refType; - class ExternalType; - class Display_nameType; - class List; - class Display_name; - class Resource_lists; + namespace Xsd + { + namespace ResourceLists + { + class ListType; + class EntryType; + class EntryRefType; + class ExternalType; + class DisplayNameType; + class List; + class DisplayName; + class ResourceLists; + } + } } @@ -291,758 +301,770 @@ namespace resource_lists #include "xml.h" -namespace resource_lists +namespace LinphonePrivate { - class ListType: public ::xml_schema::Type + namespace Xsd { - public: - // display-name - // - typedef ::resource_lists::Display_nameType Display_nameType; - typedef ::xsd::cxx::tree::optional< Display_nameType > Display_nameOptional; - typedef ::xsd::cxx::tree::traits< Display_nameType, char > Display_nameTraits; + namespace ResourceLists + { + class ListType: public ::LinphonePrivate::Xsd::XmlSchema::Type + { + public: + // display-name + // + typedef ::LinphonePrivate::Xsd::ResourceLists::DisplayNameType DisplayNameType; + typedef ::xsd::cxx::tree::optional< DisplayNameType > DisplayNameOptional; + typedef ::xsd::cxx::tree::traits< DisplayNameType, char > DisplayNameTraits; + + const DisplayNameOptional& + getDisplayName () const; + + DisplayNameOptional& + getDisplayName (); + + void + setDisplayName (const DisplayNameType& x); + + void + setDisplayName (const DisplayNameOptional& x); + + void + setDisplayName (::std::unique_ptr< DisplayNameType > p); + + // list + // + typedef ::LinphonePrivate::Xsd::ResourceLists::List ListType1; + typedef ::xsd::cxx::tree::sequence< ListType1 > ListSequence; + typedef ListSequence::iterator ListIterator; + typedef ListSequence::const_iterator ListConstIterator; + typedef ::xsd::cxx::tree::traits< ListType1, char > ListTraits; + + const ListSequence& + getList () const; + + ListSequence& + getList (); + + void + setList (const ListSequence& s); - const Display_nameOptional& - getDisplay_name () const; - - Display_nameOptional& - getDisplay_name (); - - void - setDisplay_name (const Display_nameType& x); - - void - setDisplay_name (const Display_nameOptional& x); + // external + // + typedef ::LinphonePrivate::Xsd::ResourceLists::ExternalType ExternalType; + typedef ::xsd::cxx::tree::sequence< ExternalType > ExternalSequence; + typedef ExternalSequence::iterator ExternalIterator; + typedef ExternalSequence::const_iterator ExternalConstIterator; + typedef ::xsd::cxx::tree::traits< ExternalType, char > ExternalTraits; - void - setDisplay_name (::std::unique_ptr< Display_nameType > p); + const ExternalSequence& + getExternal () const; - // list - // - typedef ::resource_lists::List ListType1; - typedef ::xsd::cxx::tree::sequence< ListType1 > ListSequence; - typedef ListSequence::iterator ListIterator; - typedef ListSequence::const_iterator ListConstIterator; - typedef ::xsd::cxx::tree::traits< ListType1, char > ListTraits; + ExternalSequence& + getExternal (); - const ListSequence& - getList () const; + void + setExternal (const ExternalSequence& s); + + // entry + // + typedef ::LinphonePrivate::Xsd::ResourceLists::EntryType EntryType; + typedef ::xsd::cxx::tree::sequence< EntryType > EntrySequence; + typedef EntrySequence::iterator EntryIterator; + typedef EntrySequence::const_iterator EntryConstIterator; + typedef ::xsd::cxx::tree::traits< EntryType, char > EntryTraits; + + const EntrySequence& + getEntry () const; - ListSequence& - getList (); + EntrySequence& + getEntry (); - void - setList (const ListSequence& s); + void + setEntry (const EntrySequence& s); - // external - // - typedef ::resource_lists::ExternalType ExternalType; - typedef ::xsd::cxx::tree::sequence< ExternalType > ExternalSequence; - typedef ExternalSequence::iterator ExternalIterator; - typedef ExternalSequence::const_iterator ExternalConstIterator; - typedef ::xsd::cxx::tree::traits< ExternalType, char > ExternalTraits; + // entry-ref + // + typedef ::LinphonePrivate::Xsd::ResourceLists::EntryRefType EntryRefType; + typedef ::xsd::cxx::tree::sequence< EntryRefType > EntryRefSequence; + typedef EntryRefSequence::iterator EntryRefIterator; + typedef EntryRefSequence::const_iterator EntryRefConstIterator; + typedef ::xsd::cxx::tree::traits< EntryRefType, char > EntryRefTraits; - const ExternalSequence& - getExternal () const; + const EntryRefSequence& + getEntryRef () const; + + EntryRefSequence& + getEntryRef (); + + void + setEntryRef (const EntryRefSequence& s); + + // any + // + typedef ::xsd::cxx::tree::element_sequence AnySequence; + typedef AnySequence::iterator AnyIterator; + typedef AnySequence::const_iterator AnyConstIterator; + + const AnySequence& + getAny () const; + + AnySequence& + getAny (); + + void + setAny (const AnySequence& s); + + // name + // + typedef ::LinphonePrivate::Xsd::XmlSchema::String NameType; + typedef ::xsd::cxx::tree::optional< NameType > NameOptional; + typedef ::xsd::cxx::tree::traits< NameType, char > NameTraits; + + const NameOptional& + getName () const; + + NameOptional& + getName (); + + void + setName (const NameType& x); + + void + setName (const NameOptional& x); + + void + setName (::std::unique_ptr< NameType > p); + + // any_attribute + // + typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; + typedef AnyAttributeSet::iterator AnyAttributeIterator; + typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; - ExternalSequence& - getExternal (); + const AnyAttributeSet& + getAnyAttribute () const; - void - setExternal (const ExternalSequence& s); + AnyAttributeSet& + getAnyAttribute (); - // entry - // - typedef ::resource_lists::EntryType EntryType; - typedef ::xsd::cxx::tree::sequence< EntryType > EntrySequence; - typedef EntrySequence::iterator EntryIterator; - typedef EntrySequence::const_iterator EntryConstIterator; - typedef ::xsd::cxx::tree::traits< EntryType, char > EntryTraits; + void + setAnyAttribute (const AnyAttributeSet& s); - const EntrySequence& - getEntry () const; + // DOMDocument for wildcard content. + // + const ::xercesc::DOMDocument& + getDomDocument () const; - EntrySequence& - getEntry (); + ::xercesc::DOMDocument& + getDomDocument (); - void - setEntry (const EntrySequence& s); + // Constructors. + // + ListType (); - // entry-ref - // - typedef ::resource_lists::Entry_refType Entry_refType; - typedef ::xsd::cxx::tree::sequence< Entry_refType > Entry_refSequence; - typedef Entry_refSequence::iterator Entry_refIterator; - typedef Entry_refSequence::const_iterator Entry_refConstIterator; - typedef ::xsd::cxx::tree::traits< Entry_refType, char > Entry_refTraits; + ListType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); - const Entry_refSequence& - getEntry_ref () const; + ListType (const ListType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); - Entry_refSequence& - getEntry_ref (); + virtual ListType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; - void - setEntry_ref (const Entry_refSequence& s); - - // any - // - typedef ::xsd::cxx::tree::element_sequence AnySequence; - typedef AnySequence::iterator AnyIterator; - typedef AnySequence::const_iterator AnyConstIterator; - - const AnySequence& - getAny () const; - - AnySequence& - getAny (); - - void - setAny (const AnySequence& s); - - // name - // - typedef ::xml_schema::String NameType; - typedef ::xsd::cxx::tree::optional< NameType > NameOptional; - typedef ::xsd::cxx::tree::traits< NameType, char > NameTraits; - - const NameOptional& - getName () const; - - NameOptional& - getName (); - - void - setName (const NameType& x); - - void - setName (const NameOptional& x); - - void - setName (::std::unique_ptr< NameType > p); - - // any_attribute - // - typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; - typedef AnyAttributeSet::iterator AnyAttributeIterator; - typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; + ListType& + operator= (const ListType& x); - const AnyAttributeSet& - getAnyAttribute () const; + virtual + ~ListType (); - AnyAttributeSet& - getAnyAttribute (); + // Implementation. + // + protected: + void + parse (::xsd::cxx::xml::dom::parser< char >&, + ::LinphonePrivate::Xsd::XmlSchema::Flags); - void - setAnyAttribute (const AnyAttributeSet& s); + protected: + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; - // DOMDocument for wildcard content. - // - const ::xercesc::DOMDocument& - getDomDocument () const; + DisplayNameOptional display_name_; + ListSequence list_; + ExternalSequence external_; + EntrySequence entry_; + EntryRefSequence entry_ref_; + AnySequence any_; + NameOptional name_; + AnyAttributeSet any_attribute_; + }; - ::xercesc::DOMDocument& - getDomDocument (); + class EntryType: public ::LinphonePrivate::Xsd::XmlSchema::Type + { + public: + // display-name + // + typedef ::LinphonePrivate::Xsd::ResourceLists::DisplayName DisplayNameType; + typedef ::xsd::cxx::tree::optional< DisplayNameType > DisplayNameOptional; + typedef ::xsd::cxx::tree::traits< DisplayNameType, char > DisplayNameTraits; - // Constructors. - // - ListType (); + const DisplayNameOptional& + getDisplayName () const; - ListType (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + DisplayNameOptional& + getDisplayName (); - ListType (const ListType& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + void + setDisplayName (const DisplayNameType& x); - virtual ListType* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; + void + setDisplayName (const DisplayNameOptional& x); - ListType& - operator= (const ListType& x); + void + setDisplayName (::std::unique_ptr< DisplayNameType > p); - virtual - ~ListType (); + // any + // + typedef ::xsd::cxx::tree::element_sequence AnySequence; + typedef AnySequence::iterator AnyIterator; + typedef AnySequence::const_iterator AnyConstIterator; + + const AnySequence& + getAny () const; + + AnySequence& + getAny (); + + void + setAny (const AnySequence& s); - // Implementation. - // - protected: - void - parse (::xsd::cxx::xml::dom::parser< char >&, - ::xml_schema::Flags); + // uri + // + typedef ::LinphonePrivate::Xsd::XmlSchema::Uri UriType; + typedef ::xsd::cxx::tree::traits< UriType, char > UriTraits; - protected: - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; + const UriType& + getUri () const; - Display_nameOptional display_name_; - ListSequence list_; - ExternalSequence external_; - EntrySequence entry_; - Entry_refSequence entry_ref_; - AnySequence any_; - NameOptional name_; - AnyAttributeSet any_attribute_; - }; + UriType& + getUri (); - class EntryType: public ::xml_schema::Type - { - public: - // display-name - // - typedef ::resource_lists::Display_name Display_nameType; - typedef ::xsd::cxx::tree::optional< Display_nameType > Display_nameOptional; - typedef ::xsd::cxx::tree::traits< Display_nameType, char > Display_nameTraits; + void + setUri (const UriType& x); - const Display_nameOptional& - getDisplay_name () const; + void + setUri (::std::unique_ptr< UriType > p); - Display_nameOptional& - getDisplay_name (); + ::std::unique_ptr< UriType > + setDetachUri (); - void - setDisplay_name (const Display_nameType& x); + // any_attribute + // + typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; + typedef AnyAttributeSet::iterator AnyAttributeIterator; + typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; - void - setDisplay_name (const Display_nameOptional& x); + const AnyAttributeSet& + getAnyAttribute () const; - void - setDisplay_name (::std::unique_ptr< Display_nameType > p); + AnyAttributeSet& + getAnyAttribute (); - // any - // - typedef ::xsd::cxx::tree::element_sequence AnySequence; - typedef AnySequence::iterator AnyIterator; - typedef AnySequence::const_iterator AnyConstIterator; - - const AnySequence& - getAny () const; - - AnySequence& - getAny (); - - void - setAny (const AnySequence& s); + void + setAnyAttribute (const AnyAttributeSet& s); - // uri - // - typedef ::xml_schema::Uri UriType; - typedef ::xsd::cxx::tree::traits< UriType, char > UriTraits; + // DOMDocument for wildcard content. + // + const ::xercesc::DOMDocument& + getDomDocument () const; - const UriType& - getUri () const; + ::xercesc::DOMDocument& + getDomDocument (); - UriType& - getUri (); + // Constructors. + // + EntryType (const UriType&); - void - setUri (const UriType& x); + EntryType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); - void - setUri (::std::unique_ptr< UriType > p); + EntryType (const EntryType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); - ::std::unique_ptr< UriType > - detachUri (); + virtual EntryType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; - // any_attribute - // - typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; - typedef AnyAttributeSet::iterator AnyAttributeIterator; - typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; + EntryType& + operator= (const EntryType& x); - const AnyAttributeSet& - getAnyAttribute () const; + virtual + ~EntryType (); - AnyAttributeSet& - getAnyAttribute (); + // Implementation. + // + protected: + void + parse (::xsd::cxx::xml::dom::parser< char >&, + ::LinphonePrivate::Xsd::XmlSchema::Flags); - void - setAnyAttribute (const AnyAttributeSet& s); + protected: + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; - // DOMDocument for wildcard content. - // - const ::xercesc::DOMDocument& - getDomDocument () const; + DisplayNameOptional display_name_; + AnySequence any_; + ::xsd::cxx::tree::one< UriType > uri_; + AnyAttributeSet any_attribute_; + }; - ::xercesc::DOMDocument& - getDomDocument (); + class EntryRefType: public ::LinphonePrivate::Xsd::XmlSchema::Type + { + public: + // display-name + // + typedef ::LinphonePrivate::Xsd::ResourceLists::DisplayNameType DisplayNameType; + typedef ::xsd::cxx::tree::optional< DisplayNameType > DisplayNameOptional; + typedef ::xsd::cxx::tree::traits< DisplayNameType, char > DisplayNameTraits; - // Constructors. - // - EntryType (const UriType&); + const DisplayNameOptional& + getDisplayName () const; - EntryType (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + DisplayNameOptional& + getDisplayName (); - EntryType (const EntryType& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + void + setDisplayName (const DisplayNameType& x); - virtual EntryType* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; + void + setDisplayName (const DisplayNameOptional& x); - EntryType& - operator= (const EntryType& x); + void + setDisplayName (::std::unique_ptr< DisplayNameType > p); - virtual - ~EntryType (); + // any + // + typedef ::xsd::cxx::tree::element_sequence AnySequence; + typedef AnySequence::iterator AnyIterator; + typedef AnySequence::const_iterator AnyConstIterator; - // Implementation. - // - protected: - void - parse (::xsd::cxx::xml::dom::parser< char >&, - ::xml_schema::Flags); + const AnySequence& + getAny () const; - protected: - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; + AnySequence& + getAny (); - Display_nameOptional display_name_; - AnySequence any_; - ::xsd::cxx::tree::one< UriType > uri_; - AnyAttributeSet any_attribute_; - }; + void + setAny (const AnySequence& s); - class Entry_refType: public ::xml_schema::Type - { - public: - // display-name - // - typedef ::resource_lists::Display_nameType Display_nameType; - typedef ::xsd::cxx::tree::optional< Display_nameType > Display_nameOptional; - typedef ::xsd::cxx::tree::traits< Display_nameType, char > Display_nameTraits; + // ref + // + typedef ::LinphonePrivate::Xsd::XmlSchema::Uri RefType; + typedef ::xsd::cxx::tree::traits< RefType, char > RefTraits; - const Display_nameOptional& - getDisplay_name () const; + const RefType& + getRef () const; - Display_nameOptional& - getDisplay_name (); + RefType& + getRef (); - void - setDisplay_name (const Display_nameType& x); + void + setRef (const RefType& x); - void - setDisplay_name (const Display_nameOptional& x); + void + setRef (::std::unique_ptr< RefType > p); - void - setDisplay_name (::std::unique_ptr< Display_nameType > p); + ::std::unique_ptr< RefType > + setDetachRef (); - // any - // - typedef ::xsd::cxx::tree::element_sequence AnySequence; - typedef AnySequence::iterator AnyIterator; - typedef AnySequence::const_iterator AnyConstIterator; + // any_attribute + // + typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; + typedef AnyAttributeSet::iterator AnyAttributeIterator; + typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; - const AnySequence& - getAny () const; + const AnyAttributeSet& + getAnyAttribute () const; - AnySequence& - getAny (); + AnyAttributeSet& + getAnyAttribute (); - void - setAny (const AnySequence& s); + void + setAnyAttribute (const AnyAttributeSet& s); - // ref - // - typedef ::xml_schema::Uri RefType; - typedef ::xsd::cxx::tree::traits< RefType, char > RefTraits; + // DOMDocument for wildcard content. + // + const ::xercesc::DOMDocument& + getDomDocument () const; - const RefType& - getRef () const; + ::xercesc::DOMDocument& + getDomDocument (); - RefType& - getRef (); + // Constructors. + // + EntryRefType (const RefType&); - void - setRef (const RefType& x); + EntryRefType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); - void - setRef (::std::unique_ptr< RefType > p); + EntryRefType (const EntryRefType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); - ::std::unique_ptr< RefType > - detachRef (); + virtual EntryRefType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; - // any_attribute - // - typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; - typedef AnyAttributeSet::iterator AnyAttributeIterator; - typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; + EntryRefType& + operator= (const EntryRefType& x); - const AnyAttributeSet& - getAnyAttribute () const; + virtual + ~EntryRefType (); - AnyAttributeSet& - getAnyAttribute (); + // Implementation. + // + protected: + void + parse (::xsd::cxx::xml::dom::parser< char >&, + ::LinphonePrivate::Xsd::XmlSchema::Flags); - void - setAnyAttribute (const AnyAttributeSet& s); + protected: + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; - // DOMDocument for wildcard content. - // - const ::xercesc::DOMDocument& - getDomDocument () const; + DisplayNameOptional display_name_; + AnySequence any_; + ::xsd::cxx::tree::one< RefType > ref_; + AnyAttributeSet any_attribute_; + }; - ::xercesc::DOMDocument& - getDomDocument (); + class ExternalType: public ::LinphonePrivate::Xsd::XmlSchema::Type + { + public: + // display-name + // + typedef ::LinphonePrivate::Xsd::ResourceLists::DisplayNameType DisplayNameType; + typedef ::xsd::cxx::tree::optional< DisplayNameType > DisplayNameOptional; + typedef ::xsd::cxx::tree::traits< DisplayNameType, char > DisplayNameTraits; - // Constructors. - // - Entry_refType (const RefType&); + const DisplayNameOptional& + getDisplayName () const; - Entry_refType (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + DisplayNameOptional& + getDisplayName (); - Entry_refType (const Entry_refType& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + void + setDisplayName (const DisplayNameType& x); - virtual Entry_refType* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; + void + setDisplayName (const DisplayNameOptional& x); - Entry_refType& - operator= (const Entry_refType& x); + void + setDisplayName (::std::unique_ptr< DisplayNameType > p); - virtual - ~Entry_refType (); + // any + // + typedef ::xsd::cxx::tree::element_sequence AnySequence; + typedef AnySequence::iterator AnyIterator; + typedef AnySequence::const_iterator AnyConstIterator; - // Implementation. - // - protected: - void - parse (::xsd::cxx::xml::dom::parser< char >&, - ::xml_schema::Flags); + const AnySequence& + getAny () const; - protected: - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; + AnySequence& + getAny (); - Display_nameOptional display_name_; - AnySequence any_; - ::xsd::cxx::tree::one< RefType > ref_; - AnyAttributeSet any_attribute_; - }; + void + setAny (const AnySequence& s); - class ExternalType: public ::xml_schema::Type - { - public: - // display-name - // - typedef ::resource_lists::Display_nameType Display_nameType; - typedef ::xsd::cxx::tree::optional< Display_nameType > Display_nameOptional; - typedef ::xsd::cxx::tree::traits< Display_nameType, char > Display_nameTraits; + // anchor + // + typedef ::LinphonePrivate::Xsd::XmlSchema::Uri AnchorType; + typedef ::xsd::cxx::tree::optional< AnchorType > AnchorOptional; + typedef ::xsd::cxx::tree::traits< AnchorType, char > AnchorTraits; - const Display_nameOptional& - getDisplay_name () const; + const AnchorOptional& + getAnchor () const; - Display_nameOptional& - getDisplay_name (); + AnchorOptional& + getAnchor (); - void - setDisplay_name (const Display_nameType& x); + void + setAnchor (const AnchorType& x); - void - setDisplay_name (const Display_nameOptional& x); + void + setAnchor (const AnchorOptional& x); - void - setDisplay_name (::std::unique_ptr< Display_nameType > p); + void + setAnchor (::std::unique_ptr< AnchorType > p); - // any - // - typedef ::xsd::cxx::tree::element_sequence AnySequence; - typedef AnySequence::iterator AnyIterator; - typedef AnySequence::const_iterator AnyConstIterator; + // any_attribute + // + typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; + typedef AnyAttributeSet::iterator AnyAttributeIterator; + typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; - const AnySequence& - getAny () const; + const AnyAttributeSet& + getAnyAttribute () const; - AnySequence& - getAny (); + AnyAttributeSet& + getAnyAttribute (); - void - setAny (const AnySequence& s); + void + setAnyAttribute (const AnyAttributeSet& s); - // anchor - // - typedef ::xml_schema::Uri AnchorType; - typedef ::xsd::cxx::tree::optional< AnchorType > AnchorOptional; - typedef ::xsd::cxx::tree::traits< AnchorType, char > AnchorTraits; + // DOMDocument for wildcard content. + // + const ::xercesc::DOMDocument& + getDomDocument () const; - const AnchorOptional& - getAnchor () const; + ::xercesc::DOMDocument& + getDomDocument (); - AnchorOptional& - getAnchor (); + // Constructors. + // + ExternalType (); - void - setAnchor (const AnchorType& x); + ExternalType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); - void - setAnchor (const AnchorOptional& x); + ExternalType (const ExternalType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); - void - setAnchor (::std::unique_ptr< AnchorType > p); + virtual ExternalType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; - // any_attribute - // - typedef ::xsd::cxx::tree::attribute_set< char > AnyAttributeSet; - typedef AnyAttributeSet::iterator AnyAttributeIterator; - typedef AnyAttributeSet::const_iterator AnyAttributeConstIterator; + ExternalType& + operator= (const ExternalType& x); - const AnyAttributeSet& - getAnyAttribute () const; + virtual + ~ExternalType (); - AnyAttributeSet& - getAnyAttribute (); + // Implementation. + // + protected: + void + parse (::xsd::cxx::xml::dom::parser< char >&, + ::LinphonePrivate::Xsd::XmlSchema::Flags); - void - setAnyAttribute (const AnyAttributeSet& s); + protected: + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; - // DOMDocument for wildcard content. - // - const ::xercesc::DOMDocument& - getDomDocument () const; + DisplayNameOptional display_name_; + AnySequence any_; + AnchorOptional anchor_; + AnyAttributeSet any_attribute_; + }; - ::xercesc::DOMDocument& - getDomDocument (); + class DisplayNameType: public ::LinphonePrivate::Xsd::XmlSchema::String + { + public: + // lang + // + typedef ::namespace_::Lang LangType; + typedef ::xsd::cxx::tree::optional< LangType > LangOptional; + typedef ::xsd::cxx::tree::traits< LangType, char > LangTraits; - // Constructors. - // - ExternalType (); + const LangOptional& + getLang () const; - ExternalType (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + LangOptional& + getLang (); - ExternalType (const ExternalType& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + void + setLang (const LangType& x); - virtual ExternalType* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; + void + setLang (const LangOptional& x); - ExternalType& - operator= (const ExternalType& x); + void + setLang (::std::unique_ptr< LangType > p); - virtual - ~ExternalType (); + // Constructors. + // + DisplayNameType (); - // Implementation. - // - protected: - void - parse (::xsd::cxx::xml::dom::parser< char >&, - ::xml_schema::Flags); + DisplayNameType (const char*); - protected: - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > dom_document_; + DisplayNameType (const ::std::string&); - Display_nameOptional display_name_; - AnySequence any_; - AnchorOptional anchor_; - AnyAttributeSet any_attribute_; - }; + DisplayNameType (const ::LinphonePrivate::Xsd::XmlSchema::String&); - class Display_nameType: public ::xml_schema::String - { - public: - // lang - // - typedef ::namespace_::Lang LangType; - typedef ::xsd::cxx::tree::optional< LangType > LangOptional; - typedef ::xsd::cxx::tree::traits< LangType, char > LangTraits; + DisplayNameType (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); - const LangOptional& - getLang () const; + DisplayNameType (const DisplayNameType& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); - LangOptional& - getLang (); + virtual DisplayNameType* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; - void - setLang (const LangType& x); + DisplayNameType& + operator= (const DisplayNameType& x); - void - setLang (const LangOptional& x); + virtual + ~DisplayNameType (); - void - setLang (::std::unique_ptr< LangType > p); + // Implementation. + // + protected: + void + parse (::xsd::cxx::xml::dom::parser< char >&, + ::LinphonePrivate::Xsd::XmlSchema::Flags); - // Constructors. - // - Display_nameType (); + protected: + LangOptional lang_; + }; + + class List: public ::LinphonePrivate::Xsd::ResourceLists::ListType + { + public: + // Constructors. + // + List (); + + List (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + List (const List& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + virtual List* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; + + virtual + ~List (); + }; + + class DisplayName: public ::LinphonePrivate::Xsd::ResourceLists::DisplayNameType + { + public: + // Constructors. + // + DisplayName (); + + DisplayName (const char*); + + DisplayName (const ::std::string&); + + DisplayName (const ::LinphonePrivate::Xsd::XmlSchema::String&); - Display_nameType (const char*); + DisplayName (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); - Display_nameType (const ::std::string&); + DisplayName (const DisplayName& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); - Display_nameType (const ::xml_schema::String&); + virtual DisplayName* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; - Display_nameType (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + virtual + ~DisplayName (); + }; - Display_nameType (const Display_nameType& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - virtual Display_nameType* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; - - Display_nameType& - operator= (const Display_nameType& x); - - virtual - ~Display_nameType (); - - // Implementation. - // - protected: - void - parse (::xsd::cxx::xml::dom::parser< char >&, - ::xml_schema::Flags); - - protected: - LangOptional lang_; - }; - - class List: public ::resource_lists::ListType - { - public: - // Constructors. - // - List (); - - List (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - List (const List& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - virtual List* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; - - virtual - ~List (); - }; - - class Display_name: public ::resource_lists::Display_nameType - { - public: - // Constructors. - // - Display_name (); - - Display_name (const char*); - - Display_name (const ::std::string&); - - Display_name (const ::xml_schema::String&); - - Display_name (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Display_name (const Display_name& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - virtual Display_name* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; - - virtual - ~Display_name (); - }; - - class Resource_lists: public ::xml_schema::Type - { - public: - // list - // - typedef ::resource_lists::ListType ListType; - typedef ::xsd::cxx::tree::sequence< ListType > ListSequence; - typedef ListSequence::iterator ListIterator; - typedef ListSequence::const_iterator ListConstIterator; - typedef ::xsd::cxx::tree::traits< ListType, char > ListTraits; - - const ListSequence& - getList () const; - - ListSequence& - getList (); - - void - setList (const ListSequence& s); - - // Constructors. - // - Resource_lists (); - - Resource_lists (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - Resource_lists (const Resource_lists& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); - - virtual Resource_lists* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; - - Resource_lists& - operator= (const Resource_lists& x); - - virtual - ~Resource_lists (); - - // Implementation. - // - protected: - void - parse (::xsd::cxx::xml::dom::parser< char >&, - ::xml_schema::Flags); - - protected: - ListSequence list_; - }; + class ResourceLists: public ::LinphonePrivate::Xsd::XmlSchema::Type + { + public: + // list + // + typedef ::LinphonePrivate::Xsd::ResourceLists::ListType ListType; + typedef ::xsd::cxx::tree::sequence< ListType > ListSequence; + typedef ListSequence::iterator ListIterator; + typedef ListSequence::const_iterator ListConstIterator; + typedef ::xsd::cxx::tree::traits< ListType, char > ListTraits; + + const ListSequence& + getList () const; + + ListSequence& + getList (); + + void + setList (const ListSequence& s); + + // Constructors. + // + ResourceLists (); + + ResourceLists (const ::xercesc::DOMElement& e, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + ResourceLists (const ResourceLists& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); + + virtual ResourceLists* + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; + + ResourceLists& + operator= (const ResourceLists& x); + + virtual + ~ResourceLists (); + + // Implementation. + // + protected: + void + parse (::xsd::cxx::xml::dom::parser< char >&, + ::LinphonePrivate::Xsd::XmlSchema::Flags); + + protected: + ListSequence list_; + }; + } + } } #include -namespace resource_lists +namespace LinphonePrivate { - ::std::ostream& - operator<< (::std::ostream&, const ListType&); + namespace Xsd + { + namespace ResourceLists + { + ::std::ostream& + operator<< (::std::ostream&, const ListType&); - ::std::ostream& - operator<< (::std::ostream&, const EntryType&); + ::std::ostream& + operator<< (::std::ostream&, const EntryType&); - ::std::ostream& - operator<< (::std::ostream&, const Entry_refType&); + ::std::ostream& + operator<< (::std::ostream&, const EntryRefType&); - ::std::ostream& - operator<< (::std::ostream&, const ExternalType&); + ::std::ostream& + operator<< (::std::ostream&, const ExternalType&); - ::std::ostream& - operator<< (::std::ostream&, const Display_nameType&); + ::std::ostream& + operator<< (::std::ostream&, const DisplayNameType&); - ::std::ostream& - operator<< (::std::ostream&, const List&); + ::std::ostream& + operator<< (::std::ostream&, const List&); - ::std::ostream& - operator<< (::std::ostream&, const Display_name&); + ::std::ostream& + operator<< (::std::ostream&, const DisplayName&); - ::std::ostream& - operator<< (::std::ostream&, const Resource_lists&); + ::std::ostream& + operator<< (::std::ostream&, const ResourceLists&); + } + } } #include @@ -1051,100 +1073,106 @@ namespace resource_lists #include #include -namespace resource_lists +namespace LinphonePrivate { - // Parse a URI or a local file. - // + namespace Xsd + { + namespace ResourceLists + { + // Parse a URI or a local file. + // - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (const ::std::string& uri, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (const ::std::string& uri, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (const ::std::string& uri, - ::xml_schema::ErrorHandler& eh, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (const ::std::string& uri, + ::LinphonePrivate::Xsd::XmlSchema::ErrorHandler& eh, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (const ::std::string& uri, - ::xercesc::DOMErrorHandler& eh, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (const ::std::string& uri, + ::xercesc::DOMErrorHandler& eh, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - // Parse std::istream. - // + // Parse std::istream. + // - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (::std::istream& is, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (::std::istream& is, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (::std::istream& is, - ::xml_schema::ErrorHandler& eh, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (::std::istream& is, + ::LinphonePrivate::Xsd::XmlSchema::ErrorHandler& eh, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (::std::istream& is, - ::xercesc::DOMErrorHandler& eh, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (::std::istream& is, + ::xercesc::DOMErrorHandler& eh, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (::std::istream& is, - const ::std::string& id, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (::std::istream& is, + const ::std::string& id, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (::std::istream& is, - const ::std::string& id, - ::xml_schema::ErrorHandler& eh, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (::std::istream& is, + const ::std::string& id, + ::LinphonePrivate::Xsd::XmlSchema::ErrorHandler& eh, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (::std::istream& is, - const ::std::string& id, - ::xercesc::DOMErrorHandler& eh, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (::std::istream& is, + const ::std::string& id, + ::xercesc::DOMErrorHandler& eh, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - // Parse xercesc::InputSource. - // + // Parse xercesc::InputSource. + // - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (::xercesc::InputSource& is, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (::xercesc::InputSource& is, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (::xercesc::InputSource& is, - ::xml_schema::ErrorHandler& eh, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (::xercesc::InputSource& is, + ::LinphonePrivate::Xsd::XmlSchema::ErrorHandler& eh, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (::xercesc::InputSource& is, - ::xercesc::DOMErrorHandler& eh, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (::xercesc::InputSource& is, + ::xercesc::DOMErrorHandler& eh, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - // Parse xercesc::DOMDocument. - // + // Parse xercesc::DOMDocument. + // - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (const ::xercesc::DOMDocument& d, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (const ::xercesc::DOMDocument& d, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); - ::std::unique_ptr< ::resource_lists::Resource_lists > - parseResource_lists (::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d, - ::xml_schema::Flags f = 0, - const ::xml_schema::Properties& p = ::xml_schema::Properties ()); + ::std::unique_ptr< ::LinphonePrivate::Xsd::ResourceLists::ResourceLists > + parseResourceLists (::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > d, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); + } + } } #include @@ -1155,110 +1183,114 @@ namespace resource_lists #include -namespace resource_lists +namespace LinphonePrivate { - void - operator<< (::xercesc::DOMElement&, const ListType&); + namespace Xsd + { + namespace ResourceLists + { + void + operator<< (::xercesc::DOMElement&, const ListType&); - void - operator<< (::xercesc::DOMElement&, const EntryType&); + void + operator<< (::xercesc::DOMElement&, const EntryType&); - void - operator<< (::xercesc::DOMElement&, const Entry_refType&); + void + operator<< (::xercesc::DOMElement&, const EntryRefType&); - void - operator<< (::xercesc::DOMElement&, const ExternalType&); + void + operator<< (::xercesc::DOMElement&, const ExternalType&); - // Serialize to std::ostream. - // + // Serialize to std::ostream. + // - void - serializeResource_lists (::std::ostream& os, - const ::resource_lists::Resource_lists& x, - const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), - const ::std::string& e = "UTF-8", - ::xml_schema::Flags f = 0); + void + serializeResourceLists (::std::ostream& os, + const ::LinphonePrivate::Xsd::ResourceLists::ResourceLists& x, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m = ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap (), + const ::std::string& e = "UTF-8", + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0); - void - serializeResource_lists (::std::ostream& os, - const ::resource_lists::Resource_lists& x, - ::xml_schema::ErrorHandler& eh, - const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), - const ::std::string& e = "UTF-8", - ::xml_schema::Flags f = 0); + void + serializeResourceLists (::std::ostream& os, + const ::LinphonePrivate::Xsd::ResourceLists::ResourceLists& x, + ::LinphonePrivate::Xsd::XmlSchema::ErrorHandler& eh, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m = ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap (), + const ::std::string& e = "UTF-8", + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0); - void - serializeResource_lists (::std::ostream& os, - const ::resource_lists::Resource_lists& x, - ::xercesc::DOMErrorHandler& eh, - const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), - const ::std::string& e = "UTF-8", - ::xml_schema::Flags f = 0); + void + serializeResourceLists (::std::ostream& os, + const ::LinphonePrivate::Xsd::ResourceLists::ResourceLists& x, + ::xercesc::DOMErrorHandler& eh, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m = ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap (), + const ::std::string& e = "UTF-8", + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0); - // Serialize to xercesc::XMLFormatTarget. - // + // Serialize to xercesc::XMLFormatTarget. + // - void - serializeResource_lists (::xercesc::XMLFormatTarget& ft, - const ::resource_lists::Resource_lists& x, - const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), - const ::std::string& e = "UTF-8", - ::xml_schema::Flags f = 0); + void + serializeResourceLists (::xercesc::XMLFormatTarget& ft, + const ::LinphonePrivate::Xsd::ResourceLists::ResourceLists& x, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m = ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap (), + const ::std::string& e = "UTF-8", + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0); - void - serializeResource_lists (::xercesc::XMLFormatTarget& ft, - const ::resource_lists::Resource_lists& x, - ::xml_schema::ErrorHandler& eh, - const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), - const ::std::string& e = "UTF-8", - ::xml_schema::Flags f = 0); + void + serializeResourceLists (::xercesc::XMLFormatTarget& ft, + const ::LinphonePrivate::Xsd::ResourceLists::ResourceLists& x, + ::LinphonePrivate::Xsd::XmlSchema::ErrorHandler& eh, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m = ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap (), + const ::std::string& e = "UTF-8", + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0); - void - serializeResource_lists (::xercesc::XMLFormatTarget& ft, - const ::resource_lists::Resource_lists& x, - ::xercesc::DOMErrorHandler& eh, - const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), - const ::std::string& e = "UTF-8", - ::xml_schema::Flags f = 0); + void + serializeResourceLists (::xercesc::XMLFormatTarget& ft, + const ::LinphonePrivate::Xsd::ResourceLists::ResourceLists& x, + ::xercesc::DOMErrorHandler& eh, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m = ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap (), + const ::std::string& e = "UTF-8", + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0); - // Serialize to an existing xercesc::DOMDocument. - // + // Serialize to an existing xercesc::DOMDocument. + // - void - serializeResource_lists (::xercesc::DOMDocument& d, - const ::resource_lists::Resource_lists& x, - ::xml_schema::Flags f = 0); + void + serializeResourceLists (::xercesc::DOMDocument& d, + const ::LinphonePrivate::Xsd::ResourceLists::ResourceLists& x, + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0); - // Serialize to a new xercesc::DOMDocument. - // + // Serialize to a new xercesc::DOMDocument. + // - ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > - serializeResource_lists (const ::resource_lists::Resource_lists& x, - const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), - ::xml_schema::Flags f = 0); + ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > + serializeResourceLists (const ::LinphonePrivate::Xsd::ResourceLists::ResourceLists& x, + const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m = ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap (), + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0); - void - operator<< (::xercesc::DOMElement&, const Display_nameType&); + void + operator<< (::xercesc::DOMElement&, const DisplayNameType&); - void - operator<< (::xercesc::DOMElement&, const List&); + void + operator<< (::xercesc::DOMElement&, const List&); - void - operator<< (::xercesc::DOMElement&, const Display_name&); + void + operator<< (::xercesc::DOMElement&, const DisplayName&); - void - operator<< (::xercesc::DOMElement&, const Resource_lists&); + void + operator<< (::xercesc::DOMElement&, const ResourceLists&); + } + } } #include // Begin epilogue. // - #if __clang__ || __GNUC__ >= 4 #pragma GCC diagnostic pop #endif - // // End epilogue. diff --git a/src/xml/xml.cpp b/src/xml/xml.cpp index 68e991eb8..b691c35cf 100644 --- a/src/xml/xml.cpp +++ b/src/xml/xml.cpp @@ -33,12 +33,10 @@ // Begin prologue. // - #if __clang__ || __GNUC__ >= 4 #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wsuggest-override" #endif - // // End prologue. @@ -53,21 +51,21 @@ namespace namespace_ Lang:: Lang (const char* s) - : ::xml_schema::String (s) + : ::LinphonePrivate::Xsd::XmlSchema::String (s) { } Lang:: Lang (const ::std::string& s) - : ::xml_schema::String (s) + : ::LinphonePrivate::Xsd::XmlSchema::String (s) { } Lang:: Lang (const Lang& o, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (o, f, c) + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (o, f, c) { } @@ -76,41 +74,41 @@ namespace namespace_ Space:: Space (Value v) - : ::xml_schema::Ncname (_xsd_Space_literals_[v]) + : ::LinphonePrivate::Xsd::XmlSchema::Ncname (_xsd_Space_literals_[v]) { } Space:: Space (const char* v) - : ::xml_schema::Ncname (v) + : ::LinphonePrivate::Xsd::XmlSchema::Ncname (v) { } Space:: Space (const ::std::string& v) - : ::xml_schema::Ncname (v) + : ::LinphonePrivate::Xsd::XmlSchema::Ncname (v) { } Space:: - Space (const ::xml_schema::Ncname& v) - : ::xml_schema::Ncname (v) + Space (const ::LinphonePrivate::Xsd::XmlSchema::Ncname& v) + : ::LinphonePrivate::Xsd::XmlSchema::Ncname (v) { } Space:: Space (const Space& v, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Ncname (v, f, c) + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Ncname (v, f, c) { } Space& Space:: operator= (Value v) { - static_cast< ::xml_schema::Ncname& > (*this) = - ::xml_schema::Ncname (_xsd_Space_literals_[v]); + static_cast< ::LinphonePrivate::Xsd::XmlSchema::Ncname& > (*this) = + ::LinphonePrivate::Xsd::XmlSchema::Ncname (_xsd_Space_literals_[v]); return *this; } @@ -121,41 +119,41 @@ namespace namespace_ Lang_member:: Lang_member (Value v) - : ::xml_schema::String (_xsd_Lang_member_literals_[v]) + : ::LinphonePrivate::Xsd::XmlSchema::String (_xsd_Lang_member_literals_[v]) { } Lang_member:: Lang_member (const char* v) - : ::xml_schema::String (v) + : ::LinphonePrivate::Xsd::XmlSchema::String (v) { } Lang_member:: Lang_member (const ::std::string& v) - : ::xml_schema::String (v) + : ::LinphonePrivate::Xsd::XmlSchema::String (v) { } Lang_member:: - Lang_member (const ::xml_schema::String& v) - : ::xml_schema::String (v) + Lang_member (const ::LinphonePrivate::Xsd::XmlSchema::String& v) + : ::LinphonePrivate::Xsd::XmlSchema::String (v) { } Lang_member:: Lang_member (const Lang_member& v, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (v, f, c) + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (v, f, c) { } Lang_member& Lang_member:: operator= (Value v) { - static_cast< ::xml_schema::String& > (*this) = - ::xml_schema::String (_xsd_Lang_member_literals_[v]); + static_cast< ::LinphonePrivate::Xsd::XmlSchema::String& > (*this) = + ::LinphonePrivate::Xsd::XmlSchema::String (_xsd_Lang_member_literals_[v]); return *this; } @@ -172,32 +170,32 @@ namespace namespace_ Lang:: Lang (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (e, f, c) + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (e, f, c) { } Lang:: Lang (const ::xercesc::DOMAttr& a, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (a, f, c) + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (a, f, c) { } Lang:: Lang (const ::std::string& s, const ::xercesc::DOMElement* e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (s, e, f, c) + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (s, e, f, c) { } Lang* Lang:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const { return new class Lang (*this, f, c); } @@ -207,18 +205,18 @@ namespace namespace_ Space:: Space (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Ncname (e, f, c) + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Ncname (e, f, c) { _xsd_Space_convert (); } Space:: Space (const ::xercesc::DOMAttr& a, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Ncname (a, f, c) + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Ncname (a, f, c) { _xsd_Space_convert (); } @@ -226,16 +224,16 @@ namespace namespace_ Space:: Space (const ::std::string& s, const ::xercesc::DOMElement* e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::Ncname (s, e, f, c) + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::Ncname (s, e, f, c) { _xsd_Space_convert (); } Space* Space:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const { return new class Space (*this, f, c); } @@ -277,18 +275,18 @@ namespace namespace_ Lang_member:: Lang_member (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (e, f, c) + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (e, f, c) { _xsd_Lang_member_convert (); } Lang_member:: Lang_member (const ::xercesc::DOMAttr& a, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (a, f, c) + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (a, f, c) { _xsd_Lang_member_convert (); } @@ -296,16 +294,16 @@ namespace namespace_ Lang_member:: Lang_member (const ::std::string& s, const ::xercesc::DOMElement* e, - ::xml_schema::Flags f, - ::xml_schema::Container* c) - : ::xml_schema::String (s, e, f, c) + ::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) + : ::LinphonePrivate::Xsd::XmlSchema::String (s, e, f, c) { _xsd_Lang_member_convert (); } Lang_member* Lang_member:: - _clone (::xml_schema::Flags f, - ::xml_schema::Container* c) const + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f, + ::LinphonePrivate::Xsd::XmlSchema::Container* c) const { return new class Lang_member (*this, f, c); } @@ -348,7 +346,7 @@ namespace namespace_ ::std::ostream& operator<< (::std::ostream& o, const Lang& i) { - return o << static_cast< const ::xml_schema::String& > (i); + return o << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); } ::std::ostream& @@ -360,7 +358,7 @@ namespace namespace_ ::std::ostream& operator<< (::std::ostream& o, const Space& i) { - return o << static_cast< const ::xml_schema::Ncname& > (i); + return o << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Ncname& > (i); } ::std::ostream& @@ -372,7 +370,7 @@ namespace namespace_ ::std::ostream& operator<< (::std::ostream& o, const Lang_member& i) { - return o << static_cast< const ::xml_schema::String& > (i); + return o << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); } } @@ -393,58 +391,58 @@ namespace namespace_ void operator<< (::xercesc::DOMElement& e, const Lang& i) { - e << static_cast< const ::xml_schema::String& > (i); + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); } void operator<< (::xercesc::DOMAttr& a, const Lang& i) { - a << static_cast< const ::xml_schema::String& > (i); + a << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); } void - operator<< (::xml_schema::ListStream& l, + operator<< (::LinphonePrivate::Xsd::XmlSchema::ListStream& l, const Lang& i) { - l << static_cast< const ::xml_schema::String& > (i); + l << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); } void operator<< (::xercesc::DOMElement& e, const Space& i) { - e << static_cast< const ::xml_schema::Ncname& > (i); + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Ncname& > (i); } void operator<< (::xercesc::DOMAttr& a, const Space& i) { - a << static_cast< const ::xml_schema::Ncname& > (i); + a << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Ncname& > (i); } void - operator<< (::xml_schema::ListStream& l, + operator<< (::LinphonePrivate::Xsd::XmlSchema::ListStream& l, const Space& i) { - l << static_cast< const ::xml_schema::Ncname& > (i); + l << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::Ncname& > (i); } void operator<< (::xercesc::DOMElement& e, const Lang_member& i) { - e << static_cast< const ::xml_schema::String& > (i); + e << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); } void operator<< (::xercesc::DOMAttr& a, const Lang_member& i) { - a << static_cast< const ::xml_schema::String& > (i); + a << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); } void - operator<< (::xml_schema::ListStream& l, + operator<< (::LinphonePrivate::Xsd::XmlSchema::ListStream& l, const Lang_member& i) { - l << static_cast< const ::xml_schema::String& > (i); + l << static_cast< const ::LinphonePrivate::Xsd::XmlSchema::String& > (i); } } @@ -452,11 +450,9 @@ namespace namespace_ // Begin epilogue. // - #if __clang__ || __GNUC__ >= 4 #pragma GCC diagnostic pop #endif - // // End epilogue. diff --git a/src/xml/xml.h b/src/xml/xml.h index 54ad50e8c..0f1554543 100644 --- a/src/xml/xml.h +++ b/src/xml/xml.h @@ -48,12 +48,10 @@ // Begin prologue. // - #if __clang__ || __GNUC__ >= 4 #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wsuggest-override" #endif - // // End prologue. @@ -106,155 +104,161 @@ #include -namespace xml_schema +namespace LinphonePrivate { - // anyType and anySimpleType. - // - typedef ::xsd::cxx::tree::type Type; - typedef ::xsd::cxx::tree::simple_type< char, Type > SimpleType; - typedef ::xsd::cxx::tree::type Container; - - // 8-bit - // - typedef signed char Byte; - typedef unsigned char UnsignedByte; - - // 16-bit - // - typedef short Short; - typedef unsigned short UnsignedShort; - - // 32-bit - // - typedef int Int; - typedef unsigned int UnsignedInt; - - // 64-bit - // - typedef long long Long; - typedef unsigned long long UnsignedLong; - - // Supposed to be arbitrary-length integral types. - // - typedef long long Integer; - typedef long long NonPositiveInteger; - typedef unsigned long long NonNegativeInteger; - typedef unsigned long long PositiveInteger; - typedef long long NegativeInteger; - - // Boolean. - // - typedef bool Boolean; - - // Floating-point types. - // - typedef float Float; - typedef double Double; - typedef double Decimal; - - // String types. - // - typedef ::xsd::cxx::tree::string< char, SimpleType > String; - typedef ::xsd::cxx::tree::normalized_string< char, String > NormalizedString; - typedef ::xsd::cxx::tree::token< char, NormalizedString > Token; - typedef ::xsd::cxx::tree::name< char, Token > Name; - typedef ::xsd::cxx::tree::nmtoken< char, Token > Nmtoken; - typedef ::xsd::cxx::tree::nmtokens< char, SimpleType, Nmtoken > Nmtokens; - typedef ::xsd::cxx::tree::ncname< char, Name > Ncname; - typedef ::xsd::cxx::tree::language< char, Token > Language; - - // ID/IDREF. - // - typedef ::xsd::cxx::tree::id< char, Ncname > Id; - typedef ::xsd::cxx::tree::idref< char, Ncname, Type > Idref; - typedef ::xsd::cxx::tree::idrefs< char, SimpleType, Idref > Idrefs; - - // URI. - // - typedef ::xsd::cxx::tree::uri< char, SimpleType > Uri; - - // Qualified name. - // - typedef ::xsd::cxx::tree::qname< char, SimpleType, Uri, Ncname > Qname; - - // Binary. - // - typedef ::xsd::cxx::tree::buffer< char > Buffer; - typedef ::xsd::cxx::tree::base64_binary< char, SimpleType > Base64Binary; - typedef ::xsd::cxx::tree::hex_binary< char, SimpleType > HexBinary; - - // Date/time. - // - typedef ::xsd::cxx::tree::time_zone TimeZone; - typedef ::xsd::cxx::tree::date< char, SimpleType > Date; - typedef ::xsd::cxx::tree::date_time< char, SimpleType > DateTime; - typedef ::xsd::cxx::tree::duration< char, SimpleType > Duration; - typedef ::xsd::cxx::tree::gday< char, SimpleType > Gday; - typedef ::xsd::cxx::tree::gmonth< char, SimpleType > Gmonth; - typedef ::xsd::cxx::tree::gmonth_day< char, SimpleType > GmonthDay; - typedef ::xsd::cxx::tree::gyear< char, SimpleType > Gyear; - typedef ::xsd::cxx::tree::gyear_month< char, SimpleType > GyearMonth; - typedef ::xsd::cxx::tree::time< char, SimpleType > Time; - - // Entity. - // - typedef ::xsd::cxx::tree::entity< char, Ncname > Entity; - typedef ::xsd::cxx::tree::entities< char, SimpleType, Entity > Entities; - - typedef ::xsd::cxx::tree::content_order ContentOrder; - // Namespace information and list stream. Used in - // serialization functions. - // - typedef ::xsd::cxx::xml::dom::namespace_info< char > NamespaceInfo; - typedef ::xsd::cxx::xml::dom::namespace_infomap< char > NamespaceInfomap; - typedef ::xsd::cxx::tree::list_stream< char > ListStream; - typedef ::xsd::cxx::tree::as_double< Double > AsDouble; - typedef ::xsd::cxx::tree::as_decimal< Decimal > AsDecimal; - typedef ::xsd::cxx::tree::facet Facet; - - // Flags and properties. - // - typedef ::xsd::cxx::tree::flags Flags; - typedef ::xsd::cxx::tree::properties< char > Properties; - - // Parsing/serialization diagnostics. - // - typedef ::xsd::cxx::tree::severity Severity; - typedef ::xsd::cxx::tree::error< char > Error; - typedef ::xsd::cxx::tree::diagnostics< char > Diagnostics; - - // Exceptions. - // - typedef ::xsd::cxx::tree::exception< char > Exception; - typedef ::xsd::cxx::tree::bounds< char > Bounds; - typedef ::xsd::cxx::tree::duplicate_id< char > DuplicateId; - typedef ::xsd::cxx::tree::parsing< char > Parsing; - typedef ::xsd::cxx::tree::expected_element< char > ExpectedElement; - typedef ::xsd::cxx::tree::unexpected_element< char > UnexpectedElement; - typedef ::xsd::cxx::tree::expected_attribute< char > ExpectedAttribute; - typedef ::xsd::cxx::tree::unexpected_enumerator< char > UnexpectedEnumerator; - typedef ::xsd::cxx::tree::expected_text_content< char > ExpectedTextContent; - typedef ::xsd::cxx::tree::no_prefix_mapping< char > NoPrefixMapping; - typedef ::xsd::cxx::tree::serialization< char > Serialization; - - // Error handler callback interface. - // - typedef ::xsd::cxx::xml::error_handler< char > ErrorHandler; - - // DOM interaction. - // - namespace dom + namespace Xsd { - // Automatic pointer for DOMDocument. - // - using ::xsd::cxx::xml::dom::unique_ptr; + namespace XmlSchema + { + // anyType and anySimpleType. + // + typedef ::xsd::cxx::tree::type Type; + typedef ::xsd::cxx::tree::simple_type< char, Type > SimpleType; + typedef ::xsd::cxx::tree::type Container; -#ifndef XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA -#define XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA - // DOM user data key for back pointers to tree nodes. - // - const XMLCh* const treeNodeKey = ::xsd::cxx::tree::user_data_keys::node; + // 8-bit + // + typedef signed char Byte; + typedef unsigned char UnsignedByte; + + // 16-bit + // + typedef short Short; + typedef unsigned short UnsignedShort; + + // 32-bit + // + typedef int Int; + typedef unsigned int UnsignedInt; + + // 64-bit + // + typedef long long Long; + typedef unsigned long long UnsignedLong; + + // Supposed to be arbitrary-length integral types. + // + typedef long long Integer; + typedef long long NonPositiveInteger; + typedef unsigned long long NonNegativeInteger; + typedef unsigned long long PositiveInteger; + typedef long long NegativeInteger; + + // Boolean. + // + typedef bool Boolean; + + // Floating-point types. + // + typedef float Float; + typedef double Double; + typedef double Decimal; + + // String types. + // + typedef ::xsd::cxx::tree::string< char, SimpleType > String; + typedef ::xsd::cxx::tree::normalized_string< char, String > NormalizedString; + typedef ::xsd::cxx::tree::token< char, NormalizedString > Token; + typedef ::xsd::cxx::tree::name< char, Token > Name; + typedef ::xsd::cxx::tree::nmtoken< char, Token > Nmtoken; + typedef ::xsd::cxx::tree::nmtokens< char, SimpleType, Nmtoken > Nmtokens; + typedef ::xsd::cxx::tree::ncname< char, Name > Ncname; + typedef ::xsd::cxx::tree::language< char, Token > Language; + + // ID/IDREF. + // + typedef ::xsd::cxx::tree::id< char, Ncname > Id; + typedef ::xsd::cxx::tree::idref< char, Ncname, Type > Idref; + typedef ::xsd::cxx::tree::idrefs< char, SimpleType, Idref > Idrefs; + + // URI. + // + typedef ::xsd::cxx::tree::uri< char, SimpleType > Uri; + + // Qualified name. + // + typedef ::xsd::cxx::tree::qname< char, SimpleType, Uri, Ncname > Qname; + + // Binary. + // + typedef ::xsd::cxx::tree::buffer< char > Buffer; + typedef ::xsd::cxx::tree::base64_binary< char, SimpleType > Base64Binary; + typedef ::xsd::cxx::tree::hex_binary< char, SimpleType > HexBinary; + + // Date/time. + // + typedef ::xsd::cxx::tree::time_zone TimeZone; + typedef ::xsd::cxx::tree::date< char, SimpleType > Date; + typedef ::xsd::cxx::tree::date_time< char, SimpleType > DateTime; + typedef ::xsd::cxx::tree::duration< char, SimpleType > Duration; + typedef ::xsd::cxx::tree::gday< char, SimpleType > Gday; + typedef ::xsd::cxx::tree::gmonth< char, SimpleType > Gmonth; + typedef ::xsd::cxx::tree::gmonth_day< char, SimpleType > GmonthDay; + typedef ::xsd::cxx::tree::gyear< char, SimpleType > Gyear; + typedef ::xsd::cxx::tree::gyear_month< char, SimpleType > GyearMonth; + typedef ::xsd::cxx::tree::time< char, SimpleType > Time; + + // Entity. + // + typedef ::xsd::cxx::tree::entity< char, Ncname > Entity; + typedef ::xsd::cxx::tree::entities< char, SimpleType, Entity > Entities; + + typedef ::xsd::cxx::tree::content_order ContentOrder; + // Namespace information and list stream. Used in + // serialization functions. + // + typedef ::xsd::cxx::xml::dom::namespace_info< char > NamespaceInfo; + typedef ::xsd::cxx::xml::dom::namespace_infomap< char > NamespaceInfomap; + typedef ::xsd::cxx::tree::list_stream< char > ListStream; + typedef ::xsd::cxx::tree::as_double< Double > AsDouble; + typedef ::xsd::cxx::tree::as_decimal< Decimal > AsDecimal; + typedef ::xsd::cxx::tree::facet Facet; + + // Flags and properties. + // + typedef ::xsd::cxx::tree::flags Flags; + typedef ::xsd::cxx::tree::properties< char > Properties; + + // Parsing/serialization diagnostics. + // + typedef ::xsd::cxx::tree::severity Severity; + typedef ::xsd::cxx::tree::error< char > Error; + typedef ::xsd::cxx::tree::diagnostics< char > Diagnostics; + + // Exceptions. + // + typedef ::xsd::cxx::tree::exception< char > Exception; + typedef ::xsd::cxx::tree::bounds< char > Bounds; + typedef ::xsd::cxx::tree::duplicate_id< char > DuplicateId; + typedef ::xsd::cxx::tree::parsing< char > Parsing; + typedef ::xsd::cxx::tree::expected_element< char > ExpectedElement; + typedef ::xsd::cxx::tree::unexpected_element< char > UnexpectedElement; + typedef ::xsd::cxx::tree::expected_attribute< char > ExpectedAttribute; + typedef ::xsd::cxx::tree::unexpected_enumerator< char > UnexpectedEnumerator; + typedef ::xsd::cxx::tree::expected_text_content< char > ExpectedTextContent; + typedef ::xsd::cxx::tree::no_prefix_mapping< char > NoPrefixMapping; + typedef ::xsd::cxx::tree::serialization< char > Serialization; + + // Error handler callback interface. + // + typedef ::xsd::cxx::xml::error_handler< char > ErrorHandler; + + // DOM interaction. + // + namespace dom + { + // Automatic pointer for DOMDocument. + // + using ::xsd::cxx::xml::dom::unique_ptr; + +#ifndef XSD_CXX_TREE_TREE_NODE_KEY__LINPHONEPRIVATE__XSD__XMLSCHEMA +#define XSD_CXX_TREE_TREE_NODE_KEY__LINPHONEPRIVATE__XSD__XMLSCHEMA + // DOM user data key for back pointers to tree nodes. + // + const XMLCh* const treeNodeKey = ::xsd::cxx::tree::user_data_keys::node; #endif + } + } } } @@ -286,7 +290,7 @@ namespace namespace_ namespace namespace_ { - class Lang: public ::xml_schema::String + class Lang: public ::LinphonePrivate::Xsd::XmlSchema::String { public: @@ -295,28 +299,28 @@ namespace namespace_ Lang (const ::std::string& v); Lang (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); Lang (const ::xercesc::DOMAttr& a, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); Lang (const ::std::string& s, const ::xercesc::DOMElement* e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); Lang (const Lang& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); virtual Lang* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; }; - class Space: public ::xml_schema::Ncname + class Space: public ::LinphonePrivate::Xsd::XmlSchema::Ncname { public: enum Value @@ -331,28 +335,28 @@ namespace namespace_ Space (const ::std::string& v); - Space (const ::xml_schema::Ncname& v); + Space (const ::LinphonePrivate::Xsd::XmlSchema::Ncname& v); Space (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); Space (const ::xercesc::DOMAttr& a, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); Space (const ::std::string& s, const ::xercesc::DOMElement* e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); Space (const Space& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); virtual Space* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; Space& operator= (Value v); @@ -372,7 +376,7 @@ namespace namespace_ static const Value _xsd_Space_indexes_[2]; }; - class Lang_member: public ::xml_schema::String + class Lang_member: public ::LinphonePrivate::Xsd::XmlSchema::String { public: enum Value @@ -386,28 +390,28 @@ namespace namespace_ Lang_member (const ::std::string& v); - Lang_member (const ::xml_schema::String& v); + Lang_member (const ::LinphonePrivate::Xsd::XmlSchema::String& v); Lang_member (const ::xercesc::DOMElement& e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); Lang_member (const ::xercesc::DOMAttr& a, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); Lang_member (const ::std::string& s, const ::xercesc::DOMElement* e, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); Lang_member (const Lang_member& x, - ::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0); + ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); virtual Lang_member* - _clone (::xml_schema::Flags f = 0, - ::xml_schema::Container* c = 0) const; + _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, + ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; Lang_member& operator= (Value v); @@ -475,7 +479,7 @@ namespace namespace_ operator<< (::xercesc::DOMAttr&, const Lang&); void - operator<< (::xml_schema::ListStream&, + operator<< (::LinphonePrivate::Xsd::XmlSchema::ListStream&, const Lang&); void @@ -485,7 +489,7 @@ namespace namespace_ operator<< (::xercesc::DOMAttr&, const Space&); void - operator<< (::xml_schema::ListStream&, + operator<< (::LinphonePrivate::Xsd::XmlSchema::ListStream&, const Space&); void @@ -495,7 +499,7 @@ namespace namespace_ operator<< (::xercesc::DOMAttr&, const Lang_member&); void - operator<< (::xml_schema::ListStream&, + operator<< (::LinphonePrivate::Xsd::XmlSchema::ListStream&, const Lang_member&); } @@ -503,11 +507,9 @@ namespace namespace_ // Begin epilogue. // - #if __clang__ || __GNUC__ >= 4 #pragma GCC diagnostic pop #endif - // // End epilogue.