![]() |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Utility class holding all time units. More...
#include <ilog/date.h>
Public Member Functions | |
| IlTimeUnit * | getNextUnit () |
| Gets the next unit in the array. More... | |
| IlTimeUnit * | operator[] (IlUInt i) |
Returns a IlTimeUnit from the array. More... | |
| void | reset () |
Ensure getNextUnit returns the first unit. More... | |
Static Public Member Functions | |
| static unsigned int | nbUnits () |
| Returns the number of units in the array. More... | |
Utility class holding all time units.
Library: ilog
IlPredefinedUnits is used by IlvTimeScaleStepsUpdater::autoComputeUnit() to cycle through all possible units for a data set.
IlTimeUnit. | IlTimeUnit* IlPredefinedUnits::getNextUnit | ( | ) |
Gets the next unit in the array.
If the last unit has been reached, it keeps returning that last unit.
|
static |
Returns the number of units in the array.
| IlTimeUnit* IlPredefinedUnits::operator[] | ( | IlUInt | i | ) |
Returns a IlTimeUnit from the array.
| i | The index of the unit in the array. |
nbUnits().nbUnits(). | void IlPredefinedUnits::reset | ( | ) |
Ensure getNextUnit returns the first unit.
Reset the internal unit counter so that the next call to getNextUnit will return the first predefined IlTimeUnit.
getNextUnit(). © 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.