|
osgEarth 2.1.1
|
Inheritance diagram for osgEarth::Drivers::TileCacheOptions:
Collaboration diagram for osgEarth::Drivers::TileCacheOptions: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 |
Definition at line 29 of file TileCacheOptions.
| osgEarth::Drivers::TileCacheOptions::TileCacheOptions | ( | const TileSourceOptions & | opt = TileSourceOptions() | ) | [inline] |
Definition at line 42 of file TileCacheOptions.
:
TileSourceOptions( opt )
{
setDriver( "tilecache" );
fromConfig( _conf );
}
| 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.
{
TileSourceOptions::mergeConfig( conf );
fromConfig( conf );
}
Here is the call graph for this function:Definition at line 33 of file TileCacheOptions.
{ return _url; }
Definition at line 32 of file TileCacheOptions.
{ return _url; }
optional<std::string> osgEarth::Drivers::TileCacheOptions::_format [private] |
Definition at line 70 of file TileCacheOptions.
optional<std::string> osgEarth::Drivers::TileCacheOptions::_layer [private] |
Definition at line 69 of file TileCacheOptions.
optional<URI> osgEarth::Drivers::TileCacheOptions::_url [private] |
Definition at line 68 of file TileCacheOptions.
1.7.3