Classes | Public Types | Public Member Functions

Swift::DiscoItems Class Reference

Service discovery disco::items from XEP-0030. More...

Inheritance diagram for Swift::DiscoItems:
Collaboration diagram for Swift::DiscoItems:

List of all members.


class  Item
 A single result item. More...

Public Types

typedef boost::shared_ptr
< Payload

Public Member Functions

 DiscoItems ()
const std::string & getNode () const
void setNode (const std::string &node)
const std::vector< Item > & getItems () const
void addItem (const Item &item)

Detailed Description

Service discovery disco::items from XEP-0030.

Definition at line 19 of file DiscoItems.h.

Member Typedef Documentation

typedef boost::shared_ptr<Payload> Swift::Payload::ref [inherited]

Constructor & Destructor Documentation

Swift::DiscoItems::DiscoItems (  )  [inline]

Definition at line 47 of file DiscoItems.h.

Member Function Documentation

void Swift::DiscoItems::addItem ( const Item item  )  [inline]

Definition at line 62 of file DiscoItems.h.

const std::vector<Item>& Swift::DiscoItems::getItems (  )  const [inline]

Definition at line 58 of file DiscoItems.h.

const std::string& Swift::DiscoItems::getNode (  )  const [inline]

Definition at line 50 of file DiscoItems.h.

void Swift::DiscoItems::setNode ( const std::string &  node  )  [inline]

Definition at line 54 of file DiscoItems.h.