osgEarth 2.1.1
Public Member Functions

ReaderWriterGDALTile Class Reference

Inheritance diagram for ReaderWriterGDALTile:
Collaboration diagram for ReaderWriterGDALTile:

List of all members.

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

Detailed Description

Definition at line 1538 of file ReaderWriterGDAL.cpp.


Constructor & Destructor Documentation

ReaderWriterGDALTile::ReaderWriterGDALTile ( ) [inline]

Definition at line 1541 of file ReaderWriterGDAL.cpp.

{}

Member Function Documentation

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) );
    }

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