Qt IOC Container 3.5


qic::PropertyValueParser Class Reference

#include <PropertyValueParser.h>

Inheritance diagram for qic::PropertyValueParser:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Detailed Description

PropertyValueParser parses

element of the properties and convert it to a QVariant object.

Author:
Zhihong "John" Wang

Definition at line 21 of file PropertyValueParser.h.


Constructor & Destructor Documentation

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

Definition at line 27 of file PropertyValueParser.h.


Member Function Documentation

QVariant PropertyValueParser::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 15 of file PropertyValueParser.cpp.

References qic::PropertyParser::parseProperty().


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