#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.
JID | ( | const std::string & | jid | ) | [inline] |
void setJID | ( | const std::string & | jid | ) |
const std::string& full | ( | ) | const [inline] |
const std::string& bare | ( | ) | const [inline] |
JID bareJID | ( | ) | const [inline] |
GLOOX_DEPRECATED JID fullJID | ( | ) | const [inline] |
void setUsername | ( | const std::string & | username | ) |
void setServer | ( | const std::string & | server | ) |
void setResource | ( | const std::string & | resource | ) |
const std::string& username | ( | ) | const [inline] |
const std::string& server | ( | ) | const [inline] |
const std::string& serverRaw | ( | ) | const [inline] |
const std::string& resource | ( | ) | const [inline] |
GLOOX_DEPRECATED bool empty | ( | ) | const [inline] |
A JID is empty as long as no server is set.
bool operator== | ( | const JID & | right | ) | const [inline] |
bool operator!= | ( | const JID & | right | ) | const [inline] |
operator bool | ( | ) | const [inline] |