osgEarth 2.1.1
|
Public Member Functions | |
Sqlite3CacheFactory () | |
virtual const char * | className () |
virtual ReadResult | readObject (const std::string &file_name, const Options *options) const |
This driver defers loading of the source data to the appropriate OSG plugin. You must explicity set an override profile when using this driver.
For example, use this driver to load a simple jpeg file; then set the profile to tell osgEarth its projection.
Definition at line 1758 of file Sqlite3Cache.cpp.
Sqlite3CacheFactory::Sqlite3CacheFactory | ( | ) | [inline] |
Definition at line 1761 of file Sqlite3Cache.cpp.
{ supportsExtension( "osgearth_cache_sqlite3", "Sqlite3 Cache for osgEarth" ); }
virtual const char* Sqlite3CacheFactory::className | ( | ) | [inline, virtual] |
Definition at line 1766 of file Sqlite3Cache.cpp.
{ return "Sqlite3 Cache for osgEarth"; }
virtual ReadResult Sqlite3CacheFactory::readObject | ( | const std::string & | file_name, |
const Options * | options | ||
) | const [inline, virtual] |
Definition at line 1771 of file Sqlite3Cache.cpp.
{ if ( !acceptsExtension(osgDB::getLowerCaseFileExtension( file_name ))) return ReadResult::FILE_NOT_HANDLED; return ReadResult( new Sqlite3Cache( getCacheOptions(options) ) ); }