QXmpp::Xml Namespace
namespace QXmpp::Xml| Header: | #include <QXmppXmlElementScope.h> |
| Since: | QXmpp 1.16 |
Classes
(since QXmpp 1.16) struct | Attribute |
(since QXmpp 1.16) class | Element |
(since QXmpp 1.16) class | Extensions |
(since QXmpp 1.16) class | Registry |
Types
Detailed Description
Contains types for generic and dynamically-registered XML extensions.
Classes
class Attribute
A single XML attribute (name-value pair). More...
class Element
A generic, recursive representation of an XML element. More...
class Extensions
A type-safe, ordered container for XML extension elements. More...
class Registry
A global registry for type-driven parsing and serialization of XML extension elements. More...
Type Documentation
[since QXmpp 1.16] enum class Xml::Scope
flags Xml::Scopes
Identifies the type of stanza a registered XML extension applies to.
Scopes are combined via QFlags. Scope::Generic is a catch-all that matches in every stanza scope, intended for application-defined extensions that do not belong to a specific stanza type.
| Constant | Value | Description |
|---|---|---|
QXmpp::Xml::Scope::Generic | 1U << 0 | Matches in every scope (catch-all for application extensions). |
QXmpp::Xml::Scope::Message | 1U << 1 | Matches in Message stanzas. |
QXmpp::Xml::Scope::Presence | 1U << 2 | Matches in Presence stanzas. |
This enum was introduced in QXmpp 1.16.
The Scopes type is a typedef for QFlags<Scope>. It stores an OR combination of Scope values.