StanzaExtension Class Reference

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

#include <stanzaextension.h>

Inheritance diagram for StanzaExtension:

Inheritance graph
[legend]

List of all members.

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@camaya.net>
Since:
0.9

Definition at line 49 of file stanzaextension.h.


Constructor & Destructor Documentation

StanzaExtension ( StanzaExtensionType  type  )  [inline]

Constructs an empty StanzaExtension.

Definition at line 55 of file stanzaextension.h.

virtual ~StanzaExtension (  )  [inline, virtual]

Virtual destructor.

Definition at line 60 of file stanzaextension.h.


Member Function Documentation

StanzaExtensionType type (  )  const [inline]

Returns the extension's type.

Returns:
The extension's type.

Definition at line 66 of file stanzaextension.h.

virtual Tag* tag (  )  const [pure virtual]

Returns a Tag representation of the extension.

Returns:
A Tag representation of the extension.

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


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

Generated on Fri Oct 10 15:26:25 2008 for gloox by  doxygen 1.5.6