PTLib  Version 2.10.4
XMPP::MUC::User Class Reference

#include <xmpp_muc.h>

Inheritance diagram for XMPP::MUC::User:
PObject

List of all members.

Public Types

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 PCaselessStringNamespaceTag ()

Public Attributes

PString m_Nick
Role m_Role
Affiliation m_Affiliation

Member Enumeration Documentation

Enumerator:
None_a 
Owner 
Admin 
Member 
Outcast 
Unknown_a 
Enumerator:
None 
Moderator 
Participant 
Visitor 
Unknown 

Constructor & Destructor Documentation


Member Function Documentation

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.

Returns:
LessThan, EqualTo or GreaterThan according to the relative rank of the objects.

Reimplemented from PObject.

static const PCaselessString& XMPP::MUC::User::NamespaceTag ( ) [static]

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines