gloox
1.0
|
#include <disco.h>
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 |
An abstraction of a Disco Info element (from Service Discovery, XEP-0030) as a StanzaExtension.
virtual StanzaExtension* clone | ( | ) | const [inline, virtual] |
Returns an identical copy of the current StanzaExtension.
Implements StanzaExtension.
const StringList& features | ( | ) | const [inline] |
const std::string & filterString | ( | ) | const [virtual] |
Returns an XPath expression that describes a path to child elements of a stanza that an extension handles.
Implements StanzaExtension.
bool hasFeature | ( | const std::string & | feature | ) | const |
const IdentityList& identities | ( | ) | const [inline] |
virtual StanzaExtension* newInstance | ( | const Tag * | tag | ) | const [inline, virtual] |
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.
const std::string& node | ( | ) | const [inline] |
Returns a Tag representation of the extension.
Implements StanzaExtension.