osgEarth 2.1.1
|
Public Member Functions | |
OGRFeatureSourceFactory () | |
virtual const char * | className () |
virtual ReadResult | readObject (const std::string &file_name, const Options *options) const |
Definition at line 477 of file FeatureSourceOGR.cpp.
OGRFeatureSourceFactory::OGRFeatureSourceFactory | ( | ) | [inline] |
Definition at line 480 of file FeatureSourceOGR.cpp.
{ supportsExtension( "osgearth_feature_ogr", "OGR feature driver for osgEarth" ); }
virtual const char* OGRFeatureSourceFactory::className | ( | ) | [inline, virtual] |
Definition at line 485 of file FeatureSourceOGR.cpp.
{ return "OGR Feature Reader"; }
virtual ReadResult OGRFeatureSourceFactory::readObject | ( | const std::string & | file_name, |
const Options * | options | ||
) | const [inline, virtual] |
Definition at line 490 of file FeatureSourceOGR.cpp.
{ if ( !acceptsExtension(osgDB::getLowerCaseFileExtension( file_name ))) return ReadResult::FILE_NOT_HANDLED; return ReadResult( new OGRFeatureSource( getFeatureSourceOptions(options) ) ); }