A JID identity.
More...
#include <xmpputils.h>
List of all members.
Detailed Description
A JID identity.
This class holds an identity for a JID See http://xmpp.org/registrar/disco-categories.html for identity categories and associated types
Constructor & Destructor Documentation
JIDIdentity |
( |
const char * |
c, |
|
|
const char * |
t, |
|
|
const char * |
name = 0 |
|
) |
| [inline] |
Constructor. Build a JID identity
- Parameters:
-
c | The JID's category |
t | The JID's type |
name | Optional identity (JID) name |
Constructor. Build a JID identity from xml
- Parameters:
-
identity | The identity element |
Member Function Documentation
Create an 'identity' element
- Parameters:
-
category | The 'category' attribute |
type | The 'type' attribute |
name | The 'name' attribute |
- Returns:
- A valid XmlElement pointer
Update this identity from an XML element
- Parameters:
-
identity | The source element |
Build an XML element from this identity
- Returns:
- XmlElement pointer or 0 if category or type are empty
The documentation for this class was generated from the following file: