Public Types | Public Member Functions

Swift::RosterItemExchangePayload::Item Class Reference

Collaboration diagram for Swift::RosterItemExchangePayload::Item:

List of all members.

Public Types

enum  Action { Add, Modify, Delete }

Public Member Functions

 Item (Action action=Add)
Action getAction () const
void setAction (Action action)
const JIDgetJID () const
void setJID (const JID &jid)
const std::string & getName () const
void setName (const std::string &name)
const std::vector< std::string > & getGroups () const
void setGroups (const std::vector< std::string > &groups)
void addGroup (const std::string &group)

Detailed Description

Definition at line 22 of file RosterItemExchangePayload.h.


Member Enumeration Documentation

Enumerator:
Add 
Modify 
Delete 

Definition at line 24 of file RosterItemExchangePayload.h.


Constructor & Destructor Documentation

Swift::RosterItemExchangePayload::Item::Item ( Action  action = Add  ) 

Member Function Documentation

void Swift::RosterItemExchangePayload::Item::addGroup ( const std::string &  group  )  [inline]

Definition at line 60 of file RosterItemExchangePayload.h.

Action Swift::RosterItemExchangePayload::Item::getAction (  )  const [inline]

Definition at line 28 of file RosterItemExchangePayload.h.

const std::vector<std::string>& Swift::RosterItemExchangePayload::Item::getGroups (  )  const [inline]

Definition at line 52 of file RosterItemExchangePayload.h.

const JID& Swift::RosterItemExchangePayload::Item::getJID (  )  const [inline]

Definition at line 36 of file RosterItemExchangePayload.h.

const std::string& Swift::RosterItemExchangePayload::Item::getName (  )  const [inline]

Definition at line 44 of file RosterItemExchangePayload.h.

void Swift::RosterItemExchangePayload::Item::setAction ( Action  action  )  [inline]

Definition at line 32 of file RosterItemExchangePayload.h.

void Swift::RosterItemExchangePayload::Item::setGroups ( const std::vector< std::string > &  groups  )  [inline]

Definition at line 56 of file RosterItemExchangePayload.h.

void Swift::RosterItemExchangePayload::Item::setJID ( const JID jid  )  [inline]

Definition at line 40 of file RosterItemExchangePayload.h.

void Swift::RosterItemExchangePayload::Item::setName ( const std::string &  name  )  [inline]

Definition at line 48 of file RosterItemExchangePayload.h.