Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | Related Pages

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>

Inherited by DelayedDelivery, GPGEncrypted, GPGSigned, OOB, VCardUpdate, and XDelayedDelivery.

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

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.

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:
Generated on Sat Mar 22 09:32:34 2008 for gloox by  doxygen 1.4.1