|
gloox
1.0.1
|
#include <registration.h>

Public Member Functions | |
| Query (DataForm *form) | |
| Query (bool del=false) | |
| Query (int fields, const RegistrationFields &values) | |
| Query (const Tag *tag) | |
| virtual | ~Query () |
| const DataForm * | form () const |
| const std::string & | instructions () const |
| int | fields () const |
| bool | registered () const |
| bool | remove () const |
| const OOB * | oob () 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 |
A wrapping class for the XEP-0077 <query> element.
Definition at line 125 of file registration.h.
Creates a new object that can be used to carry out a registration.
| form | A DataForm containing the registration terms. |
Definition at line 26 of file registration.cpp.
| Query | ( | bool | del = false | ) |
Creates a new object that can be used to carry out a registration.
| del | Whether or not to remove the account. |
Definition at line 32 of file registration.cpp.
| Query | ( | int | fields, |
| const RegistrationFields & | values | ||
| ) |
Creates a new object that can be used to carry out a registration.
| fields | Bit-wise ORed fieldEnum values describing the valid (i.e., set) fields in the values parameter. |
| values | Contains the registration fields. |
Definition at line 38 of file registration.cpp.
Creates a new object from the given Tag.
| tag | The Tag to parse. |
Definition at line 44 of file registration.cpp.
|
virtual |
Virtual Destructor.
Definition at line 149 of file registration.cpp.
|
inlinevirtual |
Returns an identical copy of the current StanzaExtension.
Implements StanzaExtension.
Definition at line 213 of file registration.h.
|
inline |
Returns the registration fields, if set.
Definition at line 175 of file registration.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 155 of file registration.cpp.
|
inline |
Returns the contained registration form, if any.
Definition at line 163 of file registration.h.
|
inline |
Returns the registration instructions, if given
Definition at line 169 of file registration.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 204 of file registration.h.
|
inline |
Returns an optional OOB object.
Definition at line 198 of file registration.h.
|
inline |
Indicates whether the account is already registered.
Definition at line 186 of file registration.h.
|
inline |
Indicates whether the account shall be removed.
Definition at line 192 of file registration.h.
|
virtual |
Returns a Tag representation of the extension.
Implements StanzaExtension.
Definition at line 161 of file registration.cpp.
1.8.1.2