osgEarth 2.1.1
Public Member Functions

WFSFeatureSourceFactory Class Reference

Inheritance diagram for WFSFeatureSourceFactory:
Collaboration diagram for WFSFeatureSourceFactory:

List of all members.

Public Member Functions

 WFSFeatureSourceFactory ()
virtual const char * className ()
virtual ReadResult readObject (const std::string &file_name, const Options *options) const

Detailed Description

Definition at line 350 of file FeatureSourceWFS.cpp.


Constructor & Destructor Documentation

WFSFeatureSourceFactory::WFSFeatureSourceFactory ( ) [inline]

Definition at line 353 of file FeatureSourceWFS.cpp.

    {
        supportsExtension( "osgearth_feature_wfs", "WFS feature driver for osgEarth" );
    }

Member Function Documentation

virtual const char* WFSFeatureSourceFactory::className ( ) [inline, virtual]

Definition at line 358 of file FeatureSourceWFS.cpp.

    {
        return "WFS Feature Reader";
    }
virtual ReadResult WFSFeatureSourceFactory::readObject ( const std::string &  file_name,
const Options *  options 
) const [inline, virtual]

Definition at line 363 of file FeatureSourceWFS.cpp.

    {
        if ( !acceptsExtension(osgDB::getLowerCaseFileExtension( file_name )))
            return ReadResult::FILE_NOT_HANDLED;

        return ReadResult( new WFSFeatureSource( getFeatureSourceOptions(options) ) );
    }

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