gloox
1.0.1
|
#include <nickname.h>
Public Member Functions | |
Nickname (const Tag *tag) | |
Nickname (const std::string &nick) | |
virtual | ~Nickname () |
const std::string | nick () const |
virtual const std::string & | filterString () const |
virtual StanzaExtension * | newInstance (const Tag *tag) const |
Tag * | tag () const |
virtual StanzaExtension * | clone () const |
Public Member Functions inherited from StanzaExtension | |
StanzaExtension (int type) | |
virtual | ~StanzaExtension () |
int | extensionType () const |
An implementation of User Nickname (XEP-0172) as a StanzaExtension.
XEP version: 1.0
Definition at line 33 of file nickname.h.
Constructs a new object from the given Tag.
tag | A Tag to parse. |
Definition at line 19 of file nickname.cpp.
|
inline |
Constructs a new Nickname object.
nick | The nickname to include. |
Definition at line 47 of file nickname.h.
|
inlinevirtual |
Virtual destructor.
Definition at line 54 of file nickname.h.
|
inlinevirtual |
Returns an identical copy of the current StanzaExtension.
Implements StanzaExtension.
Definition at line 75 of file nickname.h.
|
virtual |
Returns an XPath expression that describes a path to child elements of a stanza that an extension handles.
Implements StanzaExtension.
Definition at line 26 of file nickname.cpp.
|
inlinevirtual |
Returns a new Instance of the derived type. Usually, for a derived class FooExtension, the implementation of this function looks like:
Implements StanzaExtension.
Definition at line 66 of file nickname.h.
|
inline |
Returns the extension's saved nickname.
Definition at line 60 of file nickname.h.
|
virtual |
Returns a Tag representation of the extension.
Implements StanzaExtension.
Definition at line 34 of file nickname.cpp.