osgEarth 2.1.1
Public Member Functions

ReaderWriterWorldWind Class Reference

Inheritance diagram for ReaderWriterWorldWind:
Collaboration diagram for ReaderWriterWorldWind:

List of all members.

Public Member Functions

 ReaderWriterWorldWind ()
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 320 of file ReaderWriterWorldWind.cpp.


Constructor & Destructor Documentation

ReaderWriterWorldWind::ReaderWriterWorldWind ( ) [inline]

Definition at line 323 of file ReaderWriterWorldWind.cpp.

{}

Member Function Documentation

virtual bool ReaderWriterWorldWind::acceptsExtension ( const std::string &  extension) const [inline, virtual]

Definition at line 330 of file ReaderWriterWorldWind.cpp.

    {
        return osgDB::equalCaseInsensitive( extension, "osgearth_WorldWind" );
    }
virtual const char* ReaderWriterWorldWind::className ( ) [inline, virtual]

Definition at line 325 of file ReaderWriterWorldWind.cpp.

    {
        return "WorldWind Reader";
    }
virtual ReadResult ReaderWriterWorldWind::readObject ( const std::string &  file_name,
const Options *  opt 
) const [inline, virtual]

Definition at line 335 of file ReaderWriterWorldWind.cpp.

    {
        std::string ext = osgDB::getFileExtension( file_name );
        if ( !acceptsExtension( ext ) )
        {
            return ReadResult::FILE_NOT_HANDLED;
        }

        return new WorldWindSource( getTileSourceOptions(opt) );
    }

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