#include <shim.h>
|
typedef std::map< std::string, std::string > | HeaderList |
|
An implementation/abstraction of Stanza Headers and Internet Metadata (SHIM, XEP-0131).
XEP Version: 1.2
- Author
- Jakob Schröter js@ca.nosp@m.maya.nosp@m..net
- Since
- 1.0
Definition at line 35 of file shim.h.
◆ HeaderList
typedef std::map<std::string, std::string> HeaderList |
A list of SHIM headers (name & value).
Definition at line 41 of file shim.h.
◆ SHIM() [1/2]
Creates a new SHIM object containing the given headers.
- Parameters
-
Definition at line 19 of file shim.cpp.
◆ SHIM() [2/2]
Creates a new SHIM object from the given Tag.
- Parameters
-
Definition at line 24 of file shim.cpp.
◆ ~SHIM()
Virtual destructor.
Definition at line 41 of file shim.cpp.
◆ clone()
◆ filterString()
const std::string & filterString |
( |
| ) |
const |
|
virtual |
Returns an XPath expression that describes a path to child elements of a stanza that an extension handles.
- Returns
- The extension's filter string.
Implements StanzaExtension.
Definition at line 45 of file shim.cpp.
◆ headers()
Returns the headers.
- Returns
- The headers.
Definition at line 59 of file shim.h.
◆ newInstance()
Returns a new Instance of the derived type. Usually, for a derived class FooExtension, the implementation of this function looks like:
{
return new FooExtension(
tag );
}
virtual Tag * tag() const
StanzaExtension(int type)
- Returns
- The derived extension's new instance.
Implements StanzaExtension.
Definition at line 70 of file shim.h.
◆ tag()
Returns a Tag representation of the extension.
- Returns
- A Tag representation of the extension.
Implements StanzaExtension.
Definition at line 53 of file shim.cpp.
The documentation for this class was generated from the following files: