osgEarth 2.1.1
Public Member Functions | Private Member Functions | Private Attributes

osgEarth::TMSCacheOptions Class Reference

Inheritance diagram for osgEarth::TMSCacheOptions:
Collaboration diagram for osgEarth::TMSCacheOptions:

List of all members.

Public Member Functions

 TMSCacheOptions (const ConfigOptions &options=ConfigOptions())
optional< bool > & invertY ()
const optional< bool > & invertY () const
virtual Config getConfig () const
virtual void mergeConfig (const Config &conf)

Private Member Functions

void fromConfig (const Config &conf)

Private Attributes

optional< bool > _invertY

Detailed Description

Options for a TMS-style disk cache. The cache is stored on disk in a file hierarchy identical to that in the TMS specification: http://wiki.osgeo.org/wiki/Tile_Map_Service_Specification

Definition at line 146 of file Caching.


Constructor & Destructor Documentation

osgEarth::TMSCacheOptions::TMSCacheOptions ( const ConfigOptions options = ConfigOptions()) [inline]

Definition at line 149 of file Caching.

            : DiskCacheOptions( options ),
              _invertY( false )
        {
            setDriver("tms");
            fromConfig( _conf );
        }

Here is the call graph for this function:


Member Function Documentation

void osgEarth::TMSCacheOptions::fromConfig ( const Config conf) [inline, private]

Reimplemented from osgEarth::DiskCacheOptions.

Definition at line 173 of file Caching.

                                              {
            conf.getIfSet("invert_y", _invertY);
        }

Here is the call graph for this function:

Here is the caller graph for this function:

virtual Config osgEarth::TMSCacheOptions::getConfig ( ) const [inline, virtual]

Gets or sets the name of the object

Reimplemented from osgEarth::DiskCacheOptions.

Definition at line 162 of file Caching.

                                         {
            Config conf = DiskCacheOptions::getConfig();
            conf.updateIfSet("invert_y", _invertY);
            return conf;
        }

Here is the call graph for this function:

const optional<bool>& osgEarth::TMSCacheOptions::invertY ( ) const [inline]

Definition at line 159 of file Caching.

{ return _invertY; }
optional<bool>& osgEarth::TMSCacheOptions::invertY ( ) [inline]

Wheher to invert the Y tile indicies ("google type")

Definition at line 158 of file Caching.

{ return _invertY; }

Here is the caller graph for this function:

virtual void osgEarth::TMSCacheOptions::mergeConfig ( const Config conf) [inline, virtual]

Reimplemented from osgEarth::DiskCacheOptions.

Definition at line 167 of file Caching.

Here is the call graph for this function:


Member Data Documentation

Definition at line 177 of file Caching.


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