Views
Charts Package API Reference Guide
Product Documentation:
Views Documentation Home
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

◆ readProperty()

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.

◆ setProperty()

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.