Public Types | Public Member Functions

Swift::MUCOccupant Class Reference

Collaboration diagram for Swift::MUCOccupant:

List of all members.

Public Types

enum  Role { Moderator, Participant, Visitor, NoRole }
enum  Affiliation {
  Owner, Admin, Member, Outcast,
  NoAffiliation
}

Public Member Functions

 MUCOccupant (const std::string &nick, Role role, Affiliation affiliation)
 MUCOccupant (const MUCOccupant &other)
 ~MUCOccupant ()
std::string getNick () const
Role getRole () const
Affiliation getAffiliation () const
boost::optional< JIDgetRealJID () const
void setRealJID (const JID &jid)
void setNick (const std::string &nick)

Detailed Description

Definition at line 18 of file MUCOccupant.h.


Member Enumeration Documentation

Enumerator:
Owner 
Admin 
Member 
Outcast 
NoAffiliation 

Definition at line 21 of file MUCOccupant.h.

Enumerator:
Moderator 
Participant 
Visitor 
NoRole 

Definition at line 20 of file MUCOccupant.h.


Constructor & Destructor Documentation

Swift::MUCOccupant::MUCOccupant ( const std::string &  nick,
Role  role,
Affiliation  affiliation 
)
Swift::MUCOccupant::MUCOccupant ( const MUCOccupant other  ) 
Swift::MUCOccupant::~MUCOccupant (  ) 

Member Function Documentation

Affiliation Swift::MUCOccupant::getAffiliation (  )  const
std::string Swift::MUCOccupant::getNick (  )  const
boost::optional<JID> Swift::MUCOccupant::getRealJID (  )  const
Role Swift::MUCOccupant::getRole (  )  const
void Swift::MUCOccupant::setNick ( const std::string &  nick  ) 
void Swift::MUCOccupant::setRealJID ( const JID jid  )