Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Stores a unique IlvChartDataPointInfo
instance.
More...
#include <ilviews/charts/data.h>
Public Member Functions | |
IlvPointInfoSingleton (IlvChartDataPointInfo *singleton=0) | |
Constructor. | |
virtual IlvChartDataPointInfo * | getInfoForPoint (IlUInt ptidx) const |
Returns the point information for a given data point. | |
virtual IlvChartDataPointInfo * | getPointInfo (IlUInt idx) const |
Returns the point information at a given index. | |
virtual IlUInt | getPointInfoCount () const |
Returns the number of point information objects managed by this object. | |
IlvChartDataPointInfo * | getSingleton () const |
Returns the unique point information object. | |
virtual void | removeAllPointInfo () |
Removes all point information. | |
virtual IlBoolean | removePointInfo (IlUInt ptidx) |
Does nothing. | |
virtual void | setPointInfo (IlUInt ptidx, IlvChartDataPointInfo *ptInfo, IlBoolean copy=IlFalse) |
Does nothing. | |
void | setSingleton (IlvChartDataPointInfo *singleton) |
Sets the unique point information object. |
Stores a unique IlvChartDataPointInfo
instance.
Library: ilvcharts
This class is a subclass of IlvPointInfoCollection
that associates all data points of a given data set with a unique IlvChartDataPointInfo
instance.
IlvPointInfoCollection
, IlvChartDataPointInfo
. IlvPointInfoSingleton::IlvPointInfoSingleton | ( | IlvChartDataPointInfo * | singleton = 0 |
) |
Constructor.
Initializes a new IlvPointInfoSingleton
object.
singleton | The unique point information object associated with all the data points of the data set. This point information object is locked. |
virtual IlvChartDataPointInfo* IlvPointInfoSingleton::getInfoForPoint | ( | IlUInt | pidx | ) | const [virtual] |
Returns the point information for a given data point.
pidx | The index of the data point with which the returned point information is associated. |
Implements IlvPointInfoCollection.
virtual IlvChartDataPointInfo* IlvPointInfoSingleton::getPointInfo | ( | IlUInt | idx | ) | const [virtual] |
Returns the point information at a given index.
idx | The index of the returned point information. |
Implements IlvPointInfoCollection.
virtual IlUInt IlvPointInfoSingleton::getPointInfoCount | ( | ) | const [virtual] |
Returns the number of point information objects managed by this object.
Implements IlvPointInfoCollection.
IlvChartDataPointInfo* IlvPointInfoSingleton::getSingleton | ( | ) | const |
Returns the unique point information object.
virtual void IlvPointInfoSingleton::removeAllPointInfo | ( | ) | [virtual] |
Removes all point information.
Removes all the point information objects that are managed by the current object.
IlvChartDataPointInfo::unLock
method is called). It will be deleted only when no more objects reference it (see the IlvChartDataPointInfo::unLock
method). Implements IlvPointInfoCollection.
Does nothing.
This method does nothing and returns IlFalse
as the point information object is shared by all the data points of the data set.
Implements IlvPointInfoCollection.
virtual void IlvPointInfoSingleton::setPointInfo | ( | IlUInt | ptidx, | |
IlvChartDataPointInfo * | ptInfo, | |||
IlBoolean | copy = IlFalse | |||
) | [virtual] |
Does nothing.
This method does nothing as the information object is shared by all the data points of the data set. Use the IlvPointInfoSingleton::setSingleton
method instead.
Implements IlvPointInfoCollection.
void IlvPointInfoSingleton::setSingleton | ( | IlvChartDataPointInfo * | singleton | ) |
Sets the unique point information object.
The point information object singleton is locked and the previous point information object is unlocked.
singleton | The new point information object. |
© 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.