rwlogo

Rogue Wave Views
Charts Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
List of all members | Public Member Functions
IlvXMLPropertyReader Class Referenceabstract

Base class for XML property readers. More...

#include <ilviews/charts/xml.h>

Public Member Functions

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

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
propertyEltThe 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
dataSetThe data set on which the property should be set.
propertyNameThe property name.
valueThe property value.
Returns
Whether the corresponding IlvXMLProperty should be deleted or not.

© Copyright 2015, 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.