#include <disco.h>
Inherits StanzaExtension.
Inheritance diagram for Disco::Info:

Public Member Functions | |
| const std::string & | node () const |
| const StringList & | features () const |
| bool | hasFeature (const std::string &feature) const |
| const IdentityList & | identities () const |
| const DataForm * | form () const |
| void | setForm (DataForm *form) |
| virtual const std::string & | filterString () const |
| virtual StanzaExtension * | newInstance (const Tag *tag) const |
| virtual StanzaExtension * | clone () const |
| virtual Tag * | tag () const |
Definition at line 65 of file disco.h.
|
|
Returns an identical copy of the current StanzaExtension.
Implements StanzaExtension. |
|
|
Returns the entity's supported features.
|
|
|
Returns an XPath expression that describes a path to child elements of a stanza that an extension handles.
Implements StanzaExtension. |
|
|
Returns an optionally included data form. This is used by e.g. MUC (XEP-0045).
|
|
|
Use this function to check if the entity the Info came from supports agiven feature.
|
|
|
Returns the entity's identities.
|
|
|
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 the queried node identifier, if any.
|
|
|
Adds an optional DataForm, e.g. for XEP-0232. Only one form can be added at this point.
|
|
|
Returns a Tag representation of the extension.
Implements StanzaExtension. |
1.4.1