Qt IOC Container 3.5


qic::PropertyMapParser Class Reference

#include <PropertyMapParser.h>

Inheritance diagram for qic::PropertyMapParser:

Inheritance graph
[legend]
Collaboration diagram for qic::PropertyMapParser:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~PropertyMapParser ()
virtual QVariant parseProperty (const QDomNode &prop, QHash< QString, QObject * > &parser_map)

Detailed Description

PropertyMapParser parses <map></map> element of the properties and convert it to a QVariant object.

Author:
Zhihong "John" Wang

Definition at line 20 of file PropertyMapParser.h.


Constructor & Destructor Documentation

virtual qic::PropertyMapParser::~PropertyMapParser  )  [inline, virtual]
 

Definition at line 26 of file PropertyMapParser.h.


Member Function Documentation

QVariant PropertyMapParser::parseProperty const QDomNode &  prop,
QHash< QString, QObject * > &  parser_map
[virtual]
 

Construct QVariant objects from property in XML format.

parser_map is provided for recursive parsing of the XML fragement.

Parameters:
prop property value as DOM sub-tree.
parser_map all the parsers registered in the system.

Implements qic::PropertyParser.

Definition at line 14 of file PropertyMapParser.cpp.


The documentation for this class was generated from the following files: