osgEarth 2.1.1
|
Public Member Functions | |
WFSFeatureSourceFactory () | |
virtual const char * | className () |
virtual ReadResult | readObject (const std::string &file_name, const Options *options) const |
Definition at line 350 of file FeatureSourceWFS.cpp.
WFSFeatureSourceFactory::WFSFeatureSourceFactory | ( | ) | [inline] |
Definition at line 353 of file FeatureSourceWFS.cpp.
{ supportsExtension( "osgearth_feature_wfs", "WFS feature driver for osgEarth" ); }
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) ) ); }