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

#include <stanzaextensionfactory.h>

Static Public Member Functions

static StanzaExtensioncreate (Tag *tag)

Detailed Description

A Factory that creates StanzaExtensions from Tags.

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 35 of file stanzaextensionfactory.h.

Member Function Documentation

StanzaExtension * create ( Tag tag)
static

This function tries to create a valid StanzaExtension (i.e., an object derived from StanzaExtension) from the given Tag.

Parameters
tagThe Tag to parse and create the StanzaExtension from.
Returns
A StanzaExtension-derived object if the Tag was recognized, or 0.
Note
To get rif of a StanzaExtension easily, you may use dispose().

Definition at line 28 of file stanzaextensionfactory.cpp.


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