gloox
1.0
|
#include <pubsubitem.h>
Public Member Functions | |
Item () | |
Item (const Tag *tag) | |
Item (const Item &item) | |
~Item () | |
const Tag * | payload () const |
const std::string & | id () const |
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 |
Tag * tag | ( | ) | const |
Creates and returns a Tag representation of the Item.
Definition at line 51 of file pubsubitem.cpp.