rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Charts Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvXMLPropertyReader Class Reference

Base class for XML property readers. More...

#include <ilviews/charts/xml.h>

List of all members.

Public Member Functions

virtual IlvXMLPropertyreadProperty (IlXmlElement *propertyElt)=0
 Reads the specified property element.
virtual IlBoolean setProperty (IlvChartDataSet *dataSet, IlString propertyName, IlAny value)=0
 Sets the specified property on the specified data set.

Detailed Description

Base class for XML property readers.

Library: ilvcharts

A property reader is an object that will process <property> nodes. While parsing the XML document, readProperty() will be called when such a node is encountered.

Once the document is parsed and the data set is built, setProperty() will be called for each property that was created by readProperty().


Member Function Documentation

virtual IlvXMLProperty* IlvXMLPropertyReader::readProperty ( IlXmlElement propertyElt  )  [pure virtual]

Reads the specified property element.

Parameters:
propertyElt The property element to read.
Returns:
The value of the property.
virtual IlBoolean IlvXMLPropertyReader::setProperty ( IlvChartDataSet dataSet,
IlString  propertyName,
IlAny  value 
) [pure virtual]

Sets the specified property on the specified data set.

Parameters:
dataSet The data set on which the property should be set.
propertyName The property name.
value The property value.
Returns:
Whether the corresponding IlvXMLProperty should be deleted or not.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.