#include <jid.h>
Public Member Functions | |
| JID () | |
| JID (const std::string &jid) | |
| ~JID () | |
| void | setJID (const std::string &jid) |
| const std::string & | full () const |
| const std::string & | bare () const |
| JID | bareJID () const |
| GLOOX_DEPRECATED JID | fullJID () const |
| void | setUsername (const std::string &username) |
| void | setServer (const std::string &server) |
| void | setResource (const std::string &resource) |
| const std::string & | username () const |
| const std::string & | server () const |
| const std::string & | serverRaw () const |
| const std::string & | resource () const |
| GLOOX_DEPRECATED bool | empty () const |
| bool | operator== (const JID &right) const |
| bool | operator!= (const JID &right) const |
| operator bool () const | |
Definition at line 30 of file jid.h.
|
|
Constructs an empty JID. |
|
|
Constructs a new JID from a string.
|
|
|
Destructor. |
|
|
Returns the bare (prepped) JID (user@host).
|
|
|
Creates and returns a JID from this JID's node and server parts.
|
|
|
A JID is empty as long as no server is set.
|
|
|
Returns the full (prepped) JID (user@host/resource).
|
|
|
Creates and returns a JID from this JID's node, server and resource parts.
|
|
|
Returns true if the Tag is valid, false otherwise. |
|
|
Compares two JIDs.
|
|
|
Compares two JIDs.
|
|
|
Returns the prepped resource.
|
|
|
Returns the prepped server name.
|
|
|
Returns the raw (unprepped) server name.
|
|
|
Sets the JID from a string.
|
|
|
Sets the resource.
|
|
|
Sets the server.
|
|
|
Sets the username.
|
|
|
Returns the prepped username.
|
1.4.1