Classes | Public Types | Public Member Functions

Swift::MUCUserPayload Class Reference

Inheritance diagram for Swift::MUCUserPayload:
Collaboration diagram for Swift::MUCUserPayload:

List of all members.

Classes

struct  Invite
 reason is optional. More...
struct  StatusCode

Public Types

typedef boost::shared_ptr
< MUCUserPayload
ref

Public Member Functions

 MUCUserPayload ()
void addItem (const MUCItem &item)
void addStatusCode (StatusCode code)
const std::vector< MUCItem > & getItems () const
const std::vector< StatusCode > & getStatusCodes () const
boost::shared_ptr< PayloadgetPayload () const
void setPayload (boost::shared_ptr< Payload > p)
const boost::optional
< std::string > & 
getPassword () const
void setPassword (const std::string &password)
const boost::optional< Invite > & getInvite () const
void setInvite (const Invite &invite)

Detailed Description

Definition at line 20 of file MUCUserPayload.h.


Member Typedef Documentation

typedef boost::shared_ptr<MUCUserPayload> Swift::MUCUserPayload::ref

Reimplemented from Swift::Payload.

Definition at line 22 of file MUCUserPayload.h.


Constructor & Destructor Documentation

Swift::MUCUserPayload::MUCUserPayload (  )  [inline]

Definition at line 51 of file MUCUserPayload.h.


Member Function Documentation

void Swift::MUCUserPayload::addItem ( const MUCItem item  )  [inline]

Definition at line 54 of file MUCUserPayload.h.

void Swift::MUCUserPayload::addStatusCode ( StatusCode  code  )  [inline]

Definition at line 56 of file MUCUserPayload.h.

const boost::optional<Invite>& Swift::MUCUserPayload::getInvite (  )  const [inline]

Definition at line 79 of file MUCUserPayload.h.

const std::vector<MUCItem>& Swift::MUCUserPayload::getItems (  )  const [inline]

Definition at line 58 of file MUCUserPayload.h.

const boost::optional<std::string>& Swift::MUCUserPayload::getPassword (  )  const [inline]

Definition at line 70 of file MUCUserPayload.h.

boost::shared_ptr<Payload> Swift::MUCUserPayload::getPayload (  )  const [inline]

Definition at line 62 of file MUCUserPayload.h.

const std::vector<StatusCode>& Swift::MUCUserPayload::getStatusCodes (  )  const [inline]

Definition at line 60 of file MUCUserPayload.h.

void Swift::MUCUserPayload::setInvite ( const Invite invite  )  [inline]

Definition at line 83 of file MUCUserPayload.h.

void Swift::MUCUserPayload::setPassword ( const std::string &  password  )  [inline]

Definition at line 74 of file MUCUserPayload.h.

void Swift::MUCUserPayload::setPayload ( boost::shared_ptr< Payload p  )  [inline]

Definition at line 66 of file MUCUserPayload.h.