gloox
1.0.28
|
#include <pubsubitem.h>
Public Member Functions | |
Item () | |
Item (const Tag *tag) | |
Item (const Item &item) | |
~Item () | |
const Tag * | payload () const |
void | setPayload (Tag *tag) |
const std::string & | id () const |
void | setID (const std::string &id) |
Tag * | tag () const |
Abstracts a PubSub Item (XEP-0060).
XEP Version: 1.12
Definition at line 37 of file pubsubitem.h.
Item | ( | ) |
Constructs a new empty Item.
Definition at line 23 of file pubsubitem.cpp.
Constructs a new Item from the given Tag.
tag | The Tag to parse. |
Definition at line 28 of file pubsubitem.cpp.
Copy constructor.
item | The Item to be copied. |
Definition at line 40 of file pubsubitem.cpp.
~Item | ( | ) |
Destructor.
Definition at line 46 of file pubsubitem.cpp.
|
inline |
|
inline |
|
inline |
void setPayload | ( | Tag * | tag | ) |
Tag * tag | ( | ) | const |
Creates and returns a Tag representation of the Item.
Definition at line 57 of file pubsubitem.cpp.