Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | Related Pages

DataFormReported Class Reference

An abstraction of a <reported> element in a XEP-0004 Data Form of type result. More...

#include <dataformreported.h>

Inherits DataFormFieldContainer.

Inheritance diagram for DataFormReported:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 DataFormReported ()
 DataFormReported (Tag *tag)
virtual ~DataFormReported ()
virtual Tagtag () const

Detailed Description

An abstraction of a <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.

Author:
Jakob Schroeter <js@camaya.net>
Since:
0.7

Definition at line 33 of file dataformreported.h.


Constructor & Destructor Documentation

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.

Parameters:
tag The tag to read the 'field' elements from.
Since:
0.8.5

Definition at line 25 of file dataformreported.cpp.

~DataFormReported  )  [virtual]
 

Virtual destructor.

Definition at line 39 of file dataformreported.cpp.


Member Function Documentation

Tag * tag  )  const [virtual]
 

Creates and returns a Tag representation of the current object.

Returns:
A Tag representation of the current object.

Definition at line 43 of file dataformreported.cpp.


The documentation for this class was generated from the following files:
Generated on Sat Oct 31 19:54:36 2009 for gloox by  doxygen 1.4.1