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
IlvXMLDateListProcessor Class Reference

Date list processor. More...

#include <ilviews/charts/xml.h>

Inheritance diagram for IlvXMLDateListProcessor:
IlvXMLValueListProcessor

Public Member Functions

virtual void parseDate (IlGregorianCalendar &res, IlString dateString)
 Parses a string representing a date and sets the value of res accordingly. More...
 
virtual IlvXMLSeriesprocessValueList (IlvXMLSeries *serie, IlXmlElement *el, IlString sep)
 Returns an IlvXMLSeries* extracted from the IlXmlElement. More...
 

Detailed Description

Date list processor.

Library: ilvcharts

Processor of a value list of dates. The only format currently accepted is MM/DD/YYYY, for example, 03/21/2001 (March 21st, 2001).

If a different date format is needed, derive this class and override the parseDate() method, and then register it to your IlvXMLChartData.

See Also
IlvXMLChartData::registerValueListProcessor

Member Function Documentation

virtual void IlvXMLDateListProcessor::parseDate ( IlGregorianCalendar res,
IlString  dateString 
)
virtual

Parses a string representing a date and sets the value of res accordingly.

This is the method to override if you need to parse a different date format.

virtual IlvXMLSeries* IlvXMLDateListProcessor::processValueList ( IlvXMLSeries serie,
IlXmlElement el,
IlString  sep 
)
virtual

Returns an IlvXMLSeries* extracted from the IlXmlElement.

Parses the value of the IlXmlElement into an IlvXMLSeries holding time values.

Reimplemented from IlvXMLValueListProcessor.


© 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.