gloox  1.0.1
Public Member Functions | List of all members
Attention Class Reference

#include <attention.h>

Inheritance diagram for Attention:
Inheritance graph
[legend]

Public Member Functions

 Attention ()
virtual ~Attention ()
virtual const std::string & filterString () const
virtual StanzaExtensionnewInstance (const Tag *) const
virtual Tagtag () const
virtual StanzaExtensionclone () const
- Public Member Functions inherited from StanzaExtension
 StanzaExtension (int type)
virtual ~StanzaExtension ()
int extensionType () const

Detailed Description

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

Author
Jakob Schroeter js@ca.nosp@m.maya.nosp@m..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 21 of file attention.cpp.

~Attention ( )
virtual

Virtual Destructor.

Definition at line 26 of file attention.cpp.

Member Function Documentation

virtual StanzaExtension* clone ( ) const
inlinevirtual

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 30 of file attention.cpp.

virtual StanzaExtension* newInstance ( const Tag tag) const
inlinevirtual

Returns a new Instance of the derived type. Usually, for a derived class FooExtension, the implementation of this function looks like:

{
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 36 of file attention.cpp.


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