#include <cWidgetBase.h>
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 | |
std::map< tString, tValue::Set > | m_data |
The parsed data sets. |
Definition at line 138 of file cWidgetBase.h.
bool cWidget::WithIdData::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::Label, and cWidget::WithTable.
Definition at line 312 of file cWidgetBase.cpp.
References m_data, cWidget::WithDataFunctions::Process(), cWidget::WithDataFunctions::ProcessDataSet(), and tERR_WARN.
Referenced by cWidget::WithTable::Process().
00313 { 00314 if(cur.IsOfType("DataSet")) { 00315 tString id = cur.GetProp("id"); 00316 if(id.empty()) { 00317 tERR_WARN("Empty or no id tag where needed!"); 00318 return true; 00319 } 00320 m_data[id] = ProcessDataSet(cur); 00321 return true; 00322 } 00323 return WithDataFunctions::Process(cur);
std::map<tString, tValue::Set> cWidget::WithIdData::m_data [protected] |
The parsed data sets.
Definition at line 140 of file cWidgetBase.h.
Referenced by Process(), and cWidget::WithTable::ProcessCell().