Attention Class Reference

This is an implementation of XEP-0224 as a StanzaExtension. More...

#include <attention.h>

Inherits gloox::StanzaExtension.

List of all members.

Public Member Functions

 Attention ()
virtual ~Attention ()
virtual const std::string & filterString () const
virtual StanzaExtensionnewInstance (const Tag *) const
virtual Tagtag () const
virtual StanzaExtensionclone () const

Detailed Description

This is an implementation of XEP-0224 as a StanzaExtension.

Author:
Jakob Schroeter <js@camaya.net>
Since:
1.0

Definition at line 34 of file attention.h.


Constructor & Destructor Documentation

Attention (  ) 

Constructs a new object from the given Tag.

Definition at line 18 of file attention.cpp.

~Attention (  )  [virtual]

Virtual Destructor.

Definition at line 23 of file attention.cpp.


Member Function Documentation

virtual StanzaExtension* clone (  )  const [inline, virtual]

Returns an identical copy of the current StanzaExtension.

Returns:
An identical copy of the current StanzaExtension.

Implements StanzaExtension.

Definition at line 61 of file attention.h.

const std::string & filterString (  )  const [virtual]

Returns an XPath expression that describes a path to child elements of a stanza that an extension handles.

Returns:
The extension's filter string.

Implements StanzaExtension.

Definition at line 27 of file attention.cpp.

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 );
 }
Returns:
The derived extension's new instance.

Implements StanzaExtension.

Definition at line 52 of file attention.h.

Tag * tag (  )  const [virtual]

Returns a Tag representation of the extension.

Returns:
A Tag representation of the extension.

Implements StanzaExtension.

Definition at line 33 of file attention.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Jun 8 23:37:55 2010 for gloox by  doxygen 1.6.3