Public Types | Public Member Functions

Swift::RosterPayload Class Reference

Inheritance diagram for Swift::RosterPayload:
Collaboration diagram for Swift::RosterPayload:

List of all members.

Public Types

typedef boost::shared_ptr
< RosterPayload
ref
typedef std::vector
< RosterItemPayload
RosterItemPayloads

Public Member Functions

 RosterPayload ()
boost::optional
< RosterItemPayload
getItem (const JID &jid) const
void addItem (const RosterItemPayload &item)
const RosterItemPayloadsgetItems () const
const boost::optional
< std::string > & 
getVersion () const
void setVersion (const std::string &version)

Detailed Description

Definition at line 16 of file RosterPayload.h.


Member Typedef Documentation

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

Reimplemented from Swift::Payload.

Definition at line 17 of file RosterPayload.h.

Definition at line 18 of file RosterPayload.h.


Constructor & Destructor Documentation

Swift::RosterPayload::RosterPayload (  )  [inline]

Definition at line 21 of file RosterPayload.h.


Member Function Documentation

void Swift::RosterPayload::addItem ( const RosterItemPayload item  )  [inline]

Definition at line 25 of file RosterPayload.h.

boost::optional<RosterItemPayload> Swift::RosterPayload::getItem ( const JID jid  )  const
const RosterItemPayloads& Swift::RosterPayload::getItems (  )  const [inline]

Definition at line 29 of file RosterPayload.h.

const boost::optional<std::string>& Swift::RosterPayload::getVersion (  )  const [inline]

Definition at line 33 of file RosterPayload.h.

void Swift::RosterPayload::setVersion ( const std::string &  version  )  [inline]

Definition at line 37 of file RosterPayload.h.