Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Defines an abstract class for feature iterators that have a look ahead ability. More...
#include <ilviews/maps/laiterator.h>
Public Member Functions | |
virtual IlvMapFeatureId * | getNextFeatureId (IlvMapsError &status)=0 |
Returns the ID of the next feature that will be returned by this feature iterator. | |
virtual IlBoolean | skipNextFeature (IlvMapsError &status)=0 |
Skips the next feature. |
Defines an abstract class for feature iterators that have a look ahead ability.
Library: ilvmaps
Feature iterators subclassing this class can fetch the ID of the next feature that will be returned by getNextFeature
, and skip the next feature. This behavior is needed for optimization in cases where the ID allows you to decide if the next feature is to be completely read or not.
virtual IlvMapFeatureId* IlvLookAheadFeatureIterator::getNextFeatureId | ( | IlvMapsError & | status | ) | [pure virtual] |
Returns the ID of the next feature that will be returned by this feature iterator.
When this method returns 0
, it does not mean that there are no more features available, but only that no more IDs are available.
0
if no more feature IDs are available. Implemented in IlvShapeFileReader, and IlvShapeSHPReader.
virtual IlBoolean IlvLookAheadFeatureIterator::skipNextFeature | ( | IlvMapsError & | status | ) | [pure virtual] |
Skips the next feature.
The feature normally returned by getNextFeature()
is skipped.
IlTrue
if the skipped feature is not the last feature. Implemented in IlvShapeFileReader, and IlvShapeSHPReader.
© 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.