#include <shim.h>
Inherits StanzaExtension.
Inheritance diagram for SHIM:

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 |
XEP Version: 1.2
Definition at line 35 of file shim.h.
|
|
A list of SHIM headers (name & value). |
|
|
Creates a new SHIM object containing the given headers.
|
|
|
Creates a new SHIM object from the given Tag.
|
|
|
Virtual destructor. |
|
|
Returns an identical copy of the current StanzaExtension.
Implements StanzaExtension. |
|
|
Returns an XPath expression that describes a path to child elements of a stanza that an extension handles.
Implements StanzaExtension. |
|
|
Returns the headers.
|
|
|
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. |
|
|
Returns a Tag representation of the extension.
Implements StanzaExtension. |
1.4.1