DataFormItem Class Reference

An abstraction of an <item> element in a JEP-0004 Data Form of type result. More...

#include <dataformitem.h>

Inherits DataFormBase, and DataFormField.

Inheritance diagram for DataFormItem:

Inheritance graph
[legend]
Collaboration diagram for DataFormItem:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DataFormItem ()
 DataFormItem (Tag *tag)
virtual ~DataFormItem ()
virtual Tagtag ()

Detailed Description

An abstraction of an <item> element in a JEP-0004 Data Form of type result.

There are some constraints regarding usage of this element you should be aware of. Check JEP-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 32 of file dataformitem.h.


Constructor & Destructor Documentation

DataFormItem (  ) 

Creates an empty 'item' element you can add fields to.

Definition at line 21 of file dataformitem.cpp.

DataFormItem ( Tag tag  ) 

Creates a 'item' element and fills it with the 'field' elements contained in the given Tag. The Tag's root element must be a 'item' 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 26 of file dataformitem.cpp.

~DataFormItem (  )  [virtual]

Virtual destructor.

Definition at line 41 of file dataformitem.cpp.


The documentation for this class was generated from the following files:
Generated on Tue May 1 14:20:23 2007 for gloox by  doxygen 1.5.1