osgEarth 2.1.1
Public Member Functions

WCSSourceFactory Class Reference

Inheritance diagram for WCSSourceFactory:
Collaboration diagram for WCSSourceFactory:

List of all members.

Public Member Functions

 WCSSourceFactory ()
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 30 of file ReaderWriterWCS.cpp.


Constructor & Destructor Documentation

WCSSourceFactory::WCSSourceFactory ( ) [inline]

Definition at line 33 of file ReaderWriterWCS.cpp.

{}

Member Function Documentation

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

Definition at line 40 of file ReaderWriterWCS.cpp.

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

Definition at line 35 of file ReaderWriterWCS.cpp.

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

Definition at line 45 of file ReaderWriterWCS.cpp.

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

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