gloox  0.9.9.12
Public Member Functions | List of all members
StanzaExtension Class Reference

#include <stanzaextension.h>

Inheritance diagram for StanzaExtension:
Inheritance graph
[legend]

Public Member Functions

 StanzaExtension (StanzaExtensionType type)
virtual ~StanzaExtension ()
StanzaExtensionType type () const
virtual Tagtag () const =0

Detailed Description

This class abstracts a stanza extension, which is usually (but not necessarily) an 'x' element in a specific namespace.

You should not need to use this class directly.

Author
Jakob Schroeter js@ca.nosp@m.maya.nosp@m..net
Since
0.9

Definition at line 49 of file stanzaextension.h.

Constructor & Destructor Documentation

Constructs an empty StanzaExtension.

Definition at line 55 of file stanzaextension.h.

virtual ~StanzaExtension ( )
inlinevirtual

Virtual destructor.

Definition at line 60 of file stanzaextension.h.

Member Function Documentation

virtual Tag* tag ( ) const
pure virtual

Returns a Tag representation of the extension.

Returns
A Tag representation of the extension.

Implemented in DelayedDelivery, XDelayedDelivery, OOB, VCardUpdate, GPGEncrypted, and GPGSigned.

StanzaExtensionType type ( ) const
inline

Returns the extension's type.

Returns
The extension's type.

Definition at line 66 of file stanzaextension.h.


The documentation for this class was generated from the following file: