|
gloox 1.0
|
An implementation/abstraction of Stanza Headers and Internet Metadata (SHIM, XEP-0131). More...
#include <shim.h>

Public Types | |
| typedef std::map< std::string, std::string > | HeaderList |
Public Member Functions | |
| SHIM (const HeaderList &hl) | |
| SHIM (const Tag *tag=0) | |
| const HeaderList & | headers () const |
| virtual | ~SHIM () |
| virtual const std::string & | filterString () const |
| virtual StanzaExtension * | newInstance (const Tag *tag) const |
| virtual Tag * | tag () const |
| virtual StanzaExtension * | clone () const |
An implementation/abstraction of Stanza Headers and Internet Metadata (SHIM, XEP-0131).
XEP Version: 1.2
| typedef std::map<std::string, std::string> HeaderList |
| SHIM | ( | const HeaderList & | hl | ) |
| 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.
| const HeaderList& headers | ( | ) | const [inline] |
| 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.
| Tag * tag | ( | ) | const [virtual] |
Returns a Tag representation of the extension.
Implements StanzaExtension.
1.7.4