osgEarth 2.1.1
|
Public Member Functions | |
optional< URI > & | url () |
const optional< URI > & | url () const |
optional< std::string > & | dataset () |
const optional< std::string > & | dataset () const |
optional< std::string > & | format () |
const optional< std::string > & | format () const |
TileServiceOptions (const TileSourceOptions &opt=TileSourceOptions()) | |
Config | getConfig () const |
Protected Member Functions | |
void | mergeConfig (const Config &conf) |
Private Member Functions | |
void | fromConfig (const Config &conf) |
Private Attributes | |
optional< URI > | _url |
optional< std::string > | _dataset |
optional< std::string > | _format |
Definition at line 29 of file TileServiceOptions.
osgEarth::Drivers::TileServiceOptions::TileServiceOptions | ( | const TileSourceOptions & | opt = TileSourceOptions() | ) | [inline] |
Definition at line 42 of file TileServiceOptions.
: TileSourceOptions( opt ) { setDriver( "tileservice" ); fromConfig( _conf ); }
optional<std::string>& osgEarth::Drivers::TileServiceOptions::dataset | ( | ) | [inline] |
Definition at line 35 of file TileServiceOptions.
{ return _dataset; }
const optional<std::string>& osgEarth::Drivers::TileServiceOptions::dataset | ( | ) | const [inline] |
Definition at line 36 of file TileServiceOptions.
{ return _dataset; }
optional<std::string>& osgEarth::Drivers::TileServiceOptions::format | ( | ) | [inline] |
Definition at line 38 of file TileServiceOptions.
{ return _format; }
const optional<std::string>& osgEarth::Drivers::TileServiceOptions::format | ( | ) | const [inline] |
Definition at line 39 of file TileServiceOptions.
{ return _format; }
void osgEarth::Drivers::TileServiceOptions::fromConfig | ( | const Config & | conf | ) | [inline, private] |
Reimplemented from osgEarth::TileSourceOptions.
Definition at line 63 of file TileServiceOptions.
{ conf.getIfSet( "dataset", _dataset ); conf.getIfSet( "url", _url ); conf.getIfSet( "format", _format ); }
Config osgEarth::Drivers::TileServiceOptions::getConfig | ( | ) | const [inline, virtual] |
Gets or sets the name of the object
Reimplemented from osgEarth::TileSourceOptions.
Definition at line 49 of file TileServiceOptions.
{ Config conf = TileSourceOptions::getConfig(); conf.updateIfSet("dataset", _dataset); conf.updateIfSet("url", _url ); conf.updateIfSet("format", _format); return conf; }
void osgEarth::Drivers::TileServiceOptions::mergeConfig | ( | const Config & | conf | ) | [inline, protected, virtual] |
Reimplemented from osgEarth::TileSourceOptions.
Definition at line 57 of file TileServiceOptions.
{ TileSourceOptions::mergeConfig( conf ); fromConfig(conf); }
Definition at line 32 of file TileServiceOptions.
{ return _url; }
Definition at line 33 of file TileServiceOptions.
{ return _url; }
optional<std::string> osgEarth::Drivers::TileServiceOptions::_dataset [private] |
Definition at line 70 of file TileServiceOptions.
optional<std::string> osgEarth::Drivers::TileServiceOptions::_format [private] |
Definition at line 70 of file TileServiceOptions.
Definition at line 69 of file TileServiceOptions.