osgEarth 2.1.1
Public Member Functions

osgEarth::Features::FeatureCursor Class Reference

Inheritance diagram for osgEarth::Features::FeatureCursor:
Collaboration diagram for osgEarth::Features::FeatureCursor:

List of all members.

Public Member Functions

virtual bool hasMore () const =0
virtual FeaturenextFeature ()=0
void fill (FeatureList &output)

Detailed Description

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.


Member Function Documentation

void FeatureCursor::fill ( FeatureList output)

Definition at line 28 of file FeatureCursor.cpp.

{
    while( hasMore() )
    {
        list.push_back( nextFeature() );
    }
}

Here is the caller graph for this function:

virtual bool osgEarth::Features::FeatureCursor::hasMore ( ) const [pure virtual]
virtual Feature* osgEarth::Features::FeatureCursor::nextFeature ( ) [pure virtual]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines