osgEarth 2.1.1
|
Public Member Functions | |
MBTilesTileSourceFactory () | |
virtual const char * | className () |
virtual ReadResult | readObject (const std::string &file_name, const Options *options) const |
Definition at line 266 of file ReaderWriterMBTiles.cpp.
MBTilesTileSourceFactory::MBTilesTileSourceFactory | ( | ) | [inline] |
Definition at line 269 of file ReaderWriterMBTiles.cpp.
{ supportsExtension( "osgearth_mbtiles", "MBTiles Driver" ); }
virtual const char* MBTilesTileSourceFactory::className | ( | ) | [inline, virtual] |
Definition at line 274 of file ReaderWriterMBTiles.cpp.
{ return "MBTiles ReaderWriter"; }
virtual ReadResult MBTilesTileSourceFactory::readObject | ( | const std::string & | file_name, |
const Options * | options | ||
) | const [inline, virtual] |
Definition at line 279 of file ReaderWriterMBTiles.cpp.
{ if ( !acceptsExtension(osgDB::getLowerCaseFileExtension( file_name ))) return ReadResult::FILE_NOT_HANDLED; return new MBTilesSource( getTileSourceOptions(options) ); }