#include <shim.h>
Public Types |
typedef std::map< std::string,
std::string > | HeaderList |
Detailed Description
An implementation/abstraction of Stanza Headers and Internet Metadata (SHIM, XEP-0131).
XEP Version: 1.2
- Author
- Jakob Schroeter js@ca.nosp@m.maya.nosp@m..net
- Since
- 1.0
Definition at line 35 of file shim.h.
Member Typedef Documentation
typedef std::map<std::string, std::string> HeaderList |
A list of SHIM headers (name & value).
Definition at line 41 of file shim.h.
Constructor & Destructor Documentation
Creates a new SHIM object containing the given headers.
- Parameters
-
Definition at line 19 of file shim.cpp.
Creates a new SHIM object from the given Tag.
- Parameters
-
Definition at line 24 of file shim.cpp.
Virtual destructor.
Definition at line 41 of file shim.cpp.
Member Function Documentation
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.
Returns the headers.
- Returns
- The headers.
Definition at line 59 of file shim.h.
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 );
}
- Returns
- The derived extension's new instance.
Implements StanzaExtension.
Definition at line 70 of file shim.h.
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: