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

osgEarth::Drivers::TileCacheOptions Class Reference

Inheritance diagram for osgEarth::Drivers::TileCacheOptions:
Collaboration diagram for osgEarth::Drivers::TileCacheOptions:

List of all members.

Public Member Functions

optional< URI > & url ()
const optional< URI > & url () const
optional< std::string > & layer ()
const optional< std::string > & layer () const
optional< std::string > & format ()
const optional< std::string > & format () const
 TileCacheOptions (const TileSourceOptions &opt=TileSourceOptions())

Protected Member Functions

Config getConfig () const
void mergeConfig (const Config &conf)

Private Member Functions

void fromConfig (const Config &conf)

Private Attributes

optional< URI_url
optional< std::string > _layer
optional< std::string > _format

Detailed Description

Definition at line 29 of file TileCacheOptions.


Constructor & Destructor Documentation

osgEarth::Drivers::TileCacheOptions::TileCacheOptions ( const TileSourceOptions opt = TileSourceOptions()) [inline]

Definition at line 42 of file TileCacheOptions.

                                                                              :
            TileSourceOptions( opt )
        {
            setDriver( "tilecache" );
            fromConfig( _conf );
        }

Member Function Documentation

optional<std::string>& osgEarth::Drivers::TileCacheOptions::format ( ) [inline]

Definition at line 38 of file TileCacheOptions.

{ return _format; }
const optional<std::string>& osgEarth::Drivers::TileCacheOptions::format ( ) const [inline]

Definition at line 39 of file TileCacheOptions.

{ return _format; }
void osgEarth::Drivers::TileCacheOptions::fromConfig ( const Config conf) [inline, private]

Reimplemented from osgEarth::TileSourceOptions.

Definition at line 62 of file TileCacheOptions.

                                              {
            conf.getIfSet( "url", _url );
            conf.getIfSet( "layer", _layer );
            conf.getIfSet( "format", _format );
        }

Here is the call graph for this function:

Config osgEarth::Drivers::TileCacheOptions::getConfig ( ) const [inline, protected, virtual]

Gets or sets the name of the object

Reimplemented from osgEarth::TileSourceOptions.

Definition at line 50 of file TileCacheOptions.

                                 {
            Config conf = TileSourceOptions::getConfig();
            conf.updateIfSet("url", _url );
            conf.updateIfSet("layer", _layer);
            conf.updateIfSet("format", _format);
            return conf;
        }

Here is the call graph for this function:

optional<std::string>& osgEarth::Drivers::TileCacheOptions::layer ( ) [inline]

Definition at line 35 of file TileCacheOptions.

{ return _layer; }
const optional<std::string>& osgEarth::Drivers::TileCacheOptions::layer ( ) const [inline]

Definition at line 36 of file TileCacheOptions.

{ return _layer; }
void osgEarth::Drivers::TileCacheOptions::mergeConfig ( const Config conf) [inline, protected, virtual]

Reimplemented from osgEarth::TileSourceOptions.

Definition at line 57 of file TileCacheOptions.

Here is the call graph for this function:

const optional<URI>& osgEarth::Drivers::TileCacheOptions::url ( ) const [inline]

Definition at line 33 of file TileCacheOptions.

{ return _url; }
optional<URI>& osgEarth::Drivers::TileCacheOptions::url ( ) [inline]

Definition at line 32 of file TileCacheOptions.

{ return _url; }

Member Data Documentation

Definition at line 70 of file TileCacheOptions.

Definition at line 69 of file TileCacheOptions.

Definition at line 68 of file TileCacheOptions.


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