gloox
1.0.16
|
#include <featureneg.h>
Public Member Functions | |
FeatureNeg (DataForm *form) | |
FeatureNeg (const Tag *tag=0) | |
virtual | ~FeatureNeg () |
const DataForm * | form () const |
virtual const std::string & | filterString () const |
virtual StanzaExtension * | newInstance (const Tag *tag) const |
virtual Tag * | tag () const |
virtual StanzaExtension * | clone () const |
Public Member Functions inherited from StanzaExtension | |
StanzaExtension (int type) | |
virtual | ~StanzaExtension () |
virtual Stanza * | embeddedStanza () const |
virtual Tag * | embeddedTag () const |
int | extensionType () const |
An abstraction of Feature Negotiation (XEP-0020), implemented as a StanzaExtension.
XEP Version: 1.5
Definition at line 35 of file featureneg.h.
FeatureNeg | ( | DataForm * | form | ) |
Creates a new wrapper object using the given DataForm.
form | The DataForm to embed. The FeatureNeg object will own the DataForm. |
Definition at line 21 of file featureneg.cpp.
FeatureNeg | ( | const Tag * | tag = 0 | ) |
Creates a new wrapper object from the given Tag.
tag | The Tag to parse. |
Definition at line 26 of file featureneg.cpp.
|
virtual |
Virtual destructor.
Definition at line 37 of file featureneg.cpp.
|
inlinevirtual |
Returns an identical copy of the current StanzaExtension.
Implements StanzaExtension.
Definition at line 74 of file featureneg.h.
|
virtual |
Returns an XPath expression that describes a path to child elements of a stanza that an extension handles.
Implements StanzaExtension.
Definition at line 42 of file featureneg.cpp.
|
inline |
Returns the wrapped DataForm.
Definition at line 59 of file featureneg.h.
|
inlinevirtual |
Returns a new Instance of the derived type. Usually, for a derived class FooExtension, the implementation of this function looks like:
Implements StanzaExtension.
Definition at line 65 of file featureneg.h.
|
virtual |
Returns a Tag representation of the extension.
Implements StanzaExtension.
Definition at line 49 of file featureneg.cpp.