gloox  1.0.28
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 ()
 
virtual StanzaembeddedStanza () const
 
virtual TagembeddedTag () const
 
int extensionType () const
 

Detailed Description

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

Author
Jakob Schröter js@ca.nosp@m.maya.nosp@m..net
Since
1.0

Definition at line 34 of file attention.h.

Constructor & Destructor Documentation

◆ Attention()

Attention ( )

Constructs a new object from the given Tag.

Definition at line 21 of file attention.cpp.

◆ ~Attention()

~Attention ( )
virtual

Virtual Destructor.

Definition at line 26 of file attention.cpp.

Member Function Documentation

◆ clone()

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.

◆ filterString()

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.

◆ newInstance()

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:

StanzaExtension* FooExtension::newInstance( const Tag* tag ) const
{
return new FooExtension( tag );
}
virtual Tag * tag() const
Definition: attention.cpp:36
Returns
The derived extension's new instance.

Implements StanzaExtension.

Definition at line 52 of file attention.h.

◆ tag()

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: