An abstraction of an <reported> element in a XEP-0004 Data Form of type result. More...
#include <dataformreported.h>
Inherits gloox::DataFormBase, and gloox::DataFormField.
Public Member Functions | |
DataFormReported () | |
DataFormReported (Tag *tag) | |
virtual | ~DataFormReported () |
virtual Tag * | tag () const |
An abstraction of an <reported> element in a XEP-0004 Data Form of type result.
There are some constraints regarding usage of this element you should be aware of. Check XEP-0004 section 3.4. This class does not enforce correct usage at this point.
Definition at line 34 of file dataformreported.h.
DataFormReported | ( | ) |
Creates an empty 'reported' element you can add fields to.
Definition at line 21 of file dataformreported.cpp.
DataFormReported | ( | Tag * | tag | ) |
Creates a 'reported' element and fills it with the 'field' elements contained in the given Tag. The Tag's root element must be a 'reported' element. Its child element should be 'field' elements.
tag | The tag to read the 'field' elements from. |
Definition at line 26 of file dataformreported.cpp.
~DataFormReported | ( | ) | [virtual] |
Virtual destructor.
Definition at line 41 of file dataformreported.cpp.
Tag * tag | ( | ) | const [virtual] |
Use this function to create a Tag representation of the form field. This is usually called by DataForm.
Reimplemented from DataFormField.
Definition at line 45 of file dataformreported.cpp.