cWidget::WithSingleData Class Reference

Allows one single DataSet without id="" attribute to be parsed and stored. More...

#include <cWidgetBase.h>

Inheritance diagram for cWidget::WithSingleData:

Inheritance graph
[legend]
Collaboration diagram for cWidget::WithSingleData:

Collaboration graph
[legend]

List of all members.

Public Member Functions

bool Process (tXmlParser::node cur)
 Passes a DataSet to WithDataFunctions::ProcessDataSet() and saves the result or calls WithDataFunctions::Process for any other tag.

Protected Attributes

tValue::Set m_data
 The parsed DataSet.


Detailed Description

Allows one single DataSet without id="" attribute to be parsed and stored.

Definition at line 130 of file cWidgetBase.h.


Member Function Documentation

bool cWidget::WithSingleData::Process ( tXmlParser::node  cur  )  [virtual]

Passes a DataSet to WithDataFunctions::ProcessDataSet() and saves the result or calls WithDataFunctions::Process for any other tag.

Reimplemented from cWidget::WithDataFunctions.

Reimplemented in cWidget::BarGauge, and cWidget::Rectangle.

Definition at line 304 of file cWidgetBase.cpp.

References m_data, cWidget::WithDataFunctions::Process(), and cWidget::WithDataFunctions::ProcessDataSet().

Referenced by cWidget::Rectangle::Process(), and cWidget::BarGauge::Process().

00305                                                {
00306     if(cur.IsOfType("DataSet")) {
00307         m_data = ProcessDataSet(cur);
00308         return true;
00309     }
00310     return WithDataFunctions::Process(cur);

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

tValue::Set cWidget::WithSingleData::m_data [protected]

The parsed DataSet.

Definition at line 132 of file cWidgetBase.h.

Referenced by Process(), cWidget::Rectangle::Render(), and cWidget::BarGauge::Render().


The documentation for this class was generated from the following files:
Generated on Sun Mar 16 00:04:35 2008 for Armagetron Advanced by  doxygen 1.5.4