gloox  1.0.27
Public Member Functions | List of all members
Event::ItemOperation Struct Reference

#include <pubsubevent.h>

Public Member Functions

 ItemOperation (bool remove, const std::string &itemid, const Tag *pld=0)
 
 ItemOperation (const ItemOperation &right)
 

Detailed Description

Stores a retract or item notification.

Definition at line 41 of file pubsubevent.h.

Constructor & Destructor Documentation

◆ ItemOperation() [1/2]

ItemOperation ( bool  remove,
const std::string &  itemid,
const Tag pld = 0 
)
inline

Constructor.

Parameters
removeWhether this is a retract operation or not (ie item).
itemidItem ID of this item.
pldPayload for this object (in the case of a non transient item notification).

Definition at line 51 of file pubsubevent.h.

◆ ItemOperation() [2/2]

ItemOperation ( const ItemOperation right)

Copy constructor.

Parameters
rightThe ItemOperation to copy from.

Definition at line 33 of file pubsubevent.cpp.


The documentation for this struct was generated from the following files: