osgEarth 2.1.1
Public Member Functions | Protected Attributes

osgEarth::Symbology::FeatureDataSetAdapter Class Reference

Inheritance diagram for osgEarth::Symbology::FeatureDataSetAdapter:
Collaboration diagram for osgEarth::Symbology::FeatureDataSetAdapter:

List of all members.

Public Member Functions

osgEarth::Features::FeatureCursorcreateCursor ()
int getRevision () const
 FeatureDataSetAdapter (osgEarth::Features::FeatureSource *source)

Protected Attributes

osg::ref_ptr
< osgEarth::Features::FeatureSource
_features

Detailed Description

Source for (possibly dynamic) feature data that is to be symbolized.

Definition at line 31 of file FeatureDataSetAdapter.


Constructor & Destructor Documentation

FeatureDataSetAdapter::FeatureDataSetAdapter ( osgEarth::Features::FeatureSource source)

Definition at line 27 of file FeatureDataSetAdapter.cpp.

                                                                                  : _features(source)
{
    _features->initialize("");

}

Member Function Documentation

osgEarth::Features::FeatureCursor * FeatureDataSetAdapter::createCursor ( ) [virtual]

Creates and returns an iterator that the caller can use to access each of the Features in this dataset. Caller is responsible for the return object.

Implements osgEarth::Symbology::FeatureDataSet.

Definition at line 35 of file FeatureDataSetAdapter.cpp.

{
    return _features->createFeatureCursor(osgEarth::Features::Query());
}
int FeatureDataSetAdapter::getRevision ( ) const [virtual]

Gets the revision number of the dataset. Caller can use this is detect whether it is up to date with the latest version of the data set.

Implements osgEarth::Symbology::FeatureDataSet.

Definition at line 33 of file FeatureDataSetAdapter.cpp.

{ return 0; }

Member Data Documentation

Definition at line 51 of file FeatureDataSetAdapter.


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