gloox
1.0
|
#include <softwareversion.h>
Public Member Functions | |
SoftwareVersion (const std::string &name, const std::string &version, const std::string &os) | |
SoftwareVersion (const Tag *tag=0) | |
virtual | ~SoftwareVersion () |
const std::string & | name () const |
const std::string & | version () const |
const std::string & | os () const |
virtual const std::string & | filterString () const |
virtual StanzaExtension * | newInstance (const Tag *tag) const |
virtual Tag * | tag () const |
virtual StanzaExtension * | clone () const |
Public Member Functions inherited from StanzaExtension | |
StanzaExtension (int type) | |
virtual | ~StanzaExtension () |
int | extensionType () const |
This is an implementation of XEP-0092 as a StanzaExtension.
Definition at line 34 of file softwareversion.h.
SoftwareVersion | ( | const std::string & | name, |
const std::string & | version, | ||
const std::string & | os | ||
) |
Constructs a new object with the given resource string.
name | The software's name. |
version | The software's version. |
os | The software's operating system. |
Definition at line 21 of file softwareversion.cpp.
SoftwareVersion | ( | const Tag * | tag = 0 | ) |
Constructs a new object from the given Tag.
tag | The Tag to parse. |
Definition at line 28 of file softwareversion.cpp.
|
virtual |
Virtual Destructor.
Definition at line 47 of file softwareversion.cpp.
|
inlinevirtual |
Returns an identical copy of the current StanzaExtension.
Implements StanzaExtension.
Definition at line 88 of file softwareversion.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 51 of file softwareversion.cpp.
|
inline |
Returns the application's name.
Definition at line 61 of file softwareversion.h.
|
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 79 of file softwareversion.h.
|
inline |
Returns the application's Operating System.
Definition at line 73 of file softwareversion.h.
|
virtual |
Returns a Tag representation of the extension.
Implements StanzaExtension.
Definition at line 57 of file softwareversion.cpp.
|
inline |
Returns the application's version.
Definition at line 67 of file softwareversion.h.