|
gloox 1.0
|
An implementation of Message Receipts (XEP-0184) as a StanzaExtension. More...
#include <receipt.h>

Public Types | |
| enum | ReceiptType { Request, Received, Invalid } |
Public Member Functions | |
| Receipt (const Tag *tag) | |
| Receipt (ReceiptType rcpt) | |
| virtual | ~Receipt () |
| ReceiptType | rcpt () const |
| virtual const std::string & | filterString () const |
| virtual StanzaExtension * | newInstance (const Tag *tag) const |
| Tag * | tag () const |
| virtual StanzaExtension * | clone () const |
An implementation of Message Receipts (XEP-0184) as a StanzaExtension.
| enum ReceiptType |
Constructs a new object from the given Tag.
| tag | A Tag to parse. |
Definition at line 31 of file receipt.cpp.
| Receipt | ( | ReceiptType | rcpt | ) | [inline] |
| virtual StanzaExtension* clone | ( | ) | const [inline, virtual] |
Returns an identical copy of the current StanzaExtension.
Implements StanzaExtension.
| const std::string & filterString | ( | ) | const [virtual] |
Returns an XPath expression that describes a path to child elements of a stanza that an extension handles.
Implements StanzaExtension.
Definition at line 37 of file receipt.cpp.
| virtual StanzaExtension* newInstance | ( | const Tag * | tag | ) | const [inline, virtual] |
Returns a new Instance of the derived type. Usually, for a derived class FooExtension, the implementation of this function looks like:
StanzaExtension* FooExtension::newInstance( const Tag* tag ) const { return new FooExtension( tag ); }
Implements StanzaExtension.
| ReceiptType rcpt | ( | ) | const [inline] |
| Tag * tag | ( | ) | const [virtual] |
Returns a Tag representation of the extension.
Implements StanzaExtension.
Definition at line 45 of file receipt.cpp.
1.7.4