Lines Matching refs:Jid
20 // The Jid class encapsulates and provides parsing help for Jids. A Jid
25 // The node and resource are both optional. A valid jid is defined to have
26 // a domain. A bare jid is defined to not have a resource and a full jid
28 class Jid {
30 explicit Jid();
31 explicit Jid(const std::string& jid_string);
32 explicit Jid(const std::string& node_name,
35 ~Jid();
42 Jid BareJid() const;
49 bool BareEquals(const Jid& other) const;
50 void CopyFrom(const Jid& jid);
51 bool operator==(const Jid& other) const;
52 bool operator!=(const Jid& other) const { return !operator==(other); }
54 bool operator<(const Jid& other) const { return Compare(other) < 0; };
55 bool operator>(const Jid& other) const { return Compare(other) > 0; };
57 int Compare(const Jid & other) const;