osgEarth 2.1.1
|
Public Member Functions | |
ReaderWriterGDALTile () | |
virtual const char * | className () |
virtual bool | acceptsExtension (const std::string &extension) const |
virtual ReadResult | readObject (const std::string &file_name, const Options *opt) const |
Definition at line 1538 of file ReaderWriterGDAL.cpp.
ReaderWriterGDALTile::ReaderWriterGDALTile | ( | ) | [inline] |
Definition at line 1541 of file ReaderWriterGDAL.cpp.
{}
virtual bool ReaderWriterGDALTile::acceptsExtension | ( | const std::string & | extension | ) | const [inline, virtual] |
Definition at line 1548 of file ReaderWriterGDAL.cpp.
{ return osgDB::equalCaseInsensitive( extension, "osgearth_gdal" ); }
virtual const char* ReaderWriterGDALTile::className | ( | ) | [inline, virtual] |
Definition at line 1543 of file ReaderWriterGDAL.cpp.
{ return "GDAL Tile Reader"; }
virtual ReadResult ReaderWriterGDALTile::readObject | ( | const std::string & | file_name, |
const Options * | opt | ||
) | const [inline, virtual] |
Definition at line 1553 of file ReaderWriterGDAL.cpp.
{ if ( !acceptsExtension( osgDB::getFileExtension( file_name ) ) ) { return ReadResult::FILE_NOT_HANDLED; } return new GDALTileSource( getTileSourceOptions(opt) ); }