#include <xmpp_muc.h>
Inheritance diagram for XMPP::MUC::User:
Public Types | |
None | |
Moderator | |
Participant | |
Visitor | |
Unknown = 999 | |
None_a | |
Owner | |
Admin | |
Member | |
Outcast | |
Unknown_a = 999 | |
enum | Role { None, Moderator, Participant, Visitor, Unknown = 999 } |
enum | Affiliation { None_a, Owner, Admin, Member, Outcast, Unknown_a = 999 } |
Public Member Functions | |
User () | |
~User () | |
Comparison | Compare (const PObject &obj) const |
Compare the two objects and return their relative rank. | |
Static Public Member Functions | |
static const PString & | NamespaceTag () |
Public Attributes | |
PString | m_Nick |
Role | m_Role |
Affiliation | m_Affiliation |
XMPP::MUC::User::User | ( | ) |
XMPP::MUC::User::~User | ( | ) |
Comparison XMPP::MUC::User::Compare | ( | const PObject & | obj | ) | const [virtual] |
Compare the two objects and return their relative rank.
This function is usually overridden by descendent classes to yield the ranking according to the semantics of the object.
The default function is to use the CompareObjectMemoryDirect()
function to do a byte wise memory comparison of the two objects.
LessThan
, EqualTo
or GreaterThan
according to the relative rank of the objects. Reimplemented from PObject.
static const PString& XMPP::MUC::User::NamespaceTag | ( | ) | [static] |