// Copyright (c) 2005-2014 Code Synthesis Tools CC // // This program was generated by CodeSynthesis XSD, an XML Schema to // C++ data binding compiler. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA // // In addition, as a special exception, Code Synthesis Tools CC gives // permission to link this program with the Xerces-C++ library (or with // modified versions of Xerces-C++ that use the same license as Xerces-C++), // and distribute linked combinations including the two. You must obey // the GNU General Public License version 2 in all respects for all of // the code used other than Xerces-C++. If you modify this copy of the // program, you may extend this exception to your version of the program, // but you are not obligated to do so. If you do not wish to do so, delete // this exception statement from your version. // // Furthermore, Code Synthesis Tools CC makes a special exception for // the Free/Libre and Open Source Software (FLOSS) which is described // in the accompanying FLOSSE file. // #ifndef XML_IS_COMPOSING_H #define XML_IS_COMPOSING_H #ifndef XSD_CXX11 #define XSD_CXX11 #endif #ifndef XSD_USE_CHAR #define XSD_USE_CHAR #endif #ifndef XSD_CXX_TREE_USE_CHAR #define XSD_CXX_TREE_USE_CHAR #endif // Begin prologue. // #if __clang__ || __GNUC__ >= 4 #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wfloat-equal" #pragma GCC diagnostic ignored "-Wsign-conversion" #pragma GCC diagnostic ignored "-Wconversion" #endif #if __GNUC__ > 5 || (__GNUC__ == 5 && __GNUC_MINOR__ >= 1) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wsuggest-override" #endif #if __GNUC__ >=7 #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wimplicit-fallthrough" #endif // // End prologue. #include #if (XSD_INT_VERSION != 4000000L) #error XSD runtime version mismatch #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include namespace LinphonePrivate { namespace Xsd { 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; // 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::no_type_info< char > NoTypeInfo; typedef ::xsd::cxx::tree::not_derived< char > NotDerived; 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 LinphonePrivate { namespace Xsd { namespace IsComposing { class IsComposing; } } } #include // ::std::unique_ptr #include // std::numeric_limits #include // std::binary_search #include // std::move #include #include #include #include #include #include #include namespace LinphonePrivate { namespace Xsd { namespace IsComposing { class IsComposing: public ::LinphonePrivate::Xsd::XmlSchema::Type { public: // state // typedef ::LinphonePrivate::Xsd::XmlSchema::String 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 (); // lastactive // typedef ::LinphonePrivate::Xsd::XmlSchema::DateTime LastactiveType; typedef ::xsd::cxx::tree::optional< LastactiveType > LastactiveOptional; typedef ::xsd::cxx::tree::traits< LastactiveType, char > LastactiveTraits; const LastactiveOptional& getLastactive () const; LastactiveOptional& getLastactive (); void setLastactive (const LastactiveType& x); void setLastactive (const LastactiveOptional& x); void setLastactive (::std::unique_ptr< LastactiveType > p); // contenttype // typedef ::LinphonePrivate::Xsd::XmlSchema::String ContenttypeType; typedef ::xsd::cxx::tree::optional< ContenttypeType > ContenttypeOptional; typedef ::xsd::cxx::tree::traits< ContenttypeType, char > ContenttypeTraits; const ContenttypeOptional& getContenttype () const; ContenttypeOptional& getContenttype (); void setContenttype (const ContenttypeType& x); void setContenttype (const ContenttypeOptional& x); void setContenttype (::std::unique_ptr< ContenttypeType > p); // refresh // typedef ::LinphonePrivate::Xsd::XmlSchema::PositiveInteger RefreshType; typedef ::xsd::cxx::tree::optional< RefreshType > RefreshOptional; typedef ::xsd::cxx::tree::traits< RefreshType, char > RefreshTraits; const RefreshOptional& getRefresh () const; RefreshOptional& getRefresh (); void setRefresh (const RefreshType& x); void setRefresh (const RefreshOptional& 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); // DOMDocument for wildcard content. // const ::xercesc::DOMDocument& getDomDocument () const; ::xercesc::DOMDocument& getDomDocument (); // Constructors. // IsComposing (const StateType&); IsComposing (const ::xercesc::DOMElement& e, ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); IsComposing (const IsComposing& x, ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0); virtual IsComposing* _clone (::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, ::LinphonePrivate::Xsd::XmlSchema::Container* c = 0) const; IsComposing& operator= (const IsComposing& x); virtual ~IsComposing (); // 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< StateType > state_; LastactiveOptional lastactive_; ContenttypeOptional contenttype_; RefreshOptional refresh_; AnySequence any_; }; } } } #include namespace LinphonePrivate { namespace Xsd { namespace IsComposing { ::std::ostream& operator<< (::std::ostream&, const IsComposing&); } } } #include #include #include #include namespace LinphonePrivate { namespace Xsd { namespace IsComposing { // Parse a URI or a local file. // ::std::unique_ptr< ::LinphonePrivate::Xsd::IsComposing::IsComposing > parseIsComposing (const ::std::string& uri, ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); ::std::unique_ptr< ::LinphonePrivate::Xsd::IsComposing::IsComposing > parseIsComposing (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< ::LinphonePrivate::Xsd::IsComposing::IsComposing > parseIsComposing (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. // ::std::unique_ptr< ::LinphonePrivate::Xsd::IsComposing::IsComposing > parseIsComposing (::std::istream& is, ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); ::std::unique_ptr< ::LinphonePrivate::Xsd::IsComposing::IsComposing > parseIsComposing (::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< ::LinphonePrivate::Xsd::IsComposing::IsComposing > parseIsComposing (::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< ::LinphonePrivate::Xsd::IsComposing::IsComposing > parseIsComposing (::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< ::LinphonePrivate::Xsd::IsComposing::IsComposing > parseIsComposing (::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< ::LinphonePrivate::Xsd::IsComposing::IsComposing > parseIsComposing (::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. // ::std::unique_ptr< ::LinphonePrivate::Xsd::IsComposing::IsComposing > parseIsComposing (::xercesc::InputSource& is, ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); ::std::unique_ptr< ::LinphonePrivate::Xsd::IsComposing::IsComposing > parseIsComposing (::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< ::LinphonePrivate::Xsd::IsComposing::IsComposing > parseIsComposing (::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. // ::std::unique_ptr< ::LinphonePrivate::Xsd::IsComposing::IsComposing > parseIsComposing (const ::xercesc::DOMDocument& d, ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0, const ::LinphonePrivate::Xsd::XmlSchema::Properties& p = ::LinphonePrivate::Xsd::XmlSchema::Properties ()); ::std::unique_ptr< ::LinphonePrivate::Xsd::IsComposing::IsComposing > parseIsComposing (::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 #include #include #include #include namespace LinphonePrivate { namespace Xsd { namespace IsComposing { // Serialize to std::ostream. // void serializeIsComposing (::std::ostream& os, const ::LinphonePrivate::Xsd::IsComposing::IsComposing& x, const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m = ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0); void serializeIsComposing (::std::ostream& os, const ::LinphonePrivate::Xsd::IsComposing::IsComposing& 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 serializeIsComposing (::std::ostream& os, const ::LinphonePrivate::Xsd::IsComposing::IsComposing& 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. // void serializeIsComposing (::xercesc::XMLFormatTarget& ft, const ::LinphonePrivate::Xsd::IsComposing::IsComposing& x, const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m = ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0); void serializeIsComposing (::xercesc::XMLFormatTarget& ft, const ::LinphonePrivate::Xsd::IsComposing::IsComposing& 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 serializeIsComposing (::xercesc::XMLFormatTarget& ft, const ::LinphonePrivate::Xsd::IsComposing::IsComposing& 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. // void serializeIsComposing (::xercesc::DOMDocument& d, const ::LinphonePrivate::Xsd::IsComposing::IsComposing& x, ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0); // Serialize to a new xercesc::DOMDocument. // ::LinphonePrivate::Xsd::XmlSchema::dom::unique_ptr< ::xercesc::DOMDocument > serializeIsComposing (const ::LinphonePrivate::Xsd::IsComposing::IsComposing& x, const ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap& m = ::LinphonePrivate::Xsd::XmlSchema::NamespaceInfomap (), ::LinphonePrivate::Xsd::XmlSchema::Flags f = 0); void operator<< (::xercesc::DOMElement&, const IsComposing&); } } } #include // Begin epilogue. // #if __GNUC__ >= 7 #pragma GCC diagnostic pop #endif #if __GNUC__ > 5 || (__GNUC__ == 5 && __GNUC_MINOR__ >= 1) #pragma GCC diagnostic pop #endif #if __clang__ || __GNUC__ >= 4 #pragma GCC diagnostic pop #endif // // End epilogue. #endif // XML_IS_COMPOSING_H