osgEarth 2.1.1
Public Member Functions

Sqlite3CacheFactory Class Reference

Inheritance diagram for Sqlite3CacheFactory:
Collaboration diagram for Sqlite3CacheFactory:

List of all members.

Public Member Functions

 Sqlite3CacheFactory ()
virtual const char * className ()
virtual ReadResult readObject (const std::string &file_name, const Options *options) const

Detailed Description

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.


Constructor & Destructor Documentation

Sqlite3CacheFactory::Sqlite3CacheFactory ( ) [inline]

Definition at line 1761 of file Sqlite3Cache.cpp.

    {
        supportsExtension( "osgearth_cache_sqlite3", "Sqlite3 Cache for osgEarth" );
    }

Member Function Documentation

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

Here is the call graph for this function:


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