osgEarth 2.1.1
|
Public Member Functions | |
virtual bool | hasMore () const =0 |
virtual Feature * | nextFeature ()=0 |
void | fill (FeatureList &output) |
A cursor that lets you iterate over a collection of features returned from a feature query performed on a FeatureStore.
Definition at line 36 of file FeatureCursor.
void FeatureCursor::fill | ( | FeatureList & | output | ) |
Definition at line 28 of file FeatureCursor.cpp.
{ while( hasMore() ) { list.push_back( nextFeature() ); } }
virtual bool osgEarth::Features::FeatureCursor::hasMore | ( | ) | const [pure virtual] |
virtual Feature* osgEarth::Features::FeatureCursor::nextFeature | ( | ) | [pure virtual] |
Implemented in FeatureCursorOGR, osgEarth::Features::FeatureListCursor, osgEarth::Features::GeometryFeatureCursor, and anonymous_namespace{VirtualFeatureSource.cpp}::VirtualFeatureCursor.