osgEarth 2.1.1
|
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 |
Definition at line 30 of file ReaderWriterWCS.cpp.
WCSSourceFactory::WCSSourceFactory | ( | ) | [inline] |
Definition at line 33 of file ReaderWriterWCS.cpp.
{}
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) ); }