osgEarth 2.1.1
|
Public Member Functions | |
optional< std::string > & | dataset () |
const optional< std::string > & | dataset () const |
YahooOptions (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< std::string > | _dataset |
Definition at line 29 of file YahooOptions.
osgEarth::Drivers::YahooOptions::YahooOptions | ( | const TileSourceOptions & | opt = TileSourceOptions() | ) | [inline] |
Definition at line 36 of file YahooOptions.
: TileSourceOptions( opt ) { setDriver( "yahoo" ); fromConfig( _conf ); }
optional<std::string>& osgEarth::Drivers::YahooOptions::dataset | ( | ) | [inline] |
Definition at line 32 of file YahooOptions.
{ return _dataset; }
const optional<std::string>& osgEarth::Drivers::YahooOptions::dataset | ( | ) | const [inline] |
Definition at line 33 of file YahooOptions.
{ return _dataset; }
void osgEarth::Drivers::YahooOptions::fromConfig | ( | const Config & | conf | ) | [inline, private] |
Reimplemented from osgEarth::TileSourceOptions.
Definition at line 56 of file YahooOptions.
Config osgEarth::Drivers::YahooOptions::getConfig | ( | ) | const [inline, virtual] |
Gets or sets the name of the object
Reimplemented from osgEarth::TileSourceOptions.
Definition at line 43 of file YahooOptions.
{ Config conf = TileSourceOptions::getConfig(); conf.updateIfSet("dataset", _dataset); return conf; }
void osgEarth::Drivers::YahooOptions::mergeConfig | ( | const Config & | conf | ) | [inline, protected, virtual] |
Reimplemented from osgEarth::TileSourceOptions.
Definition at line 50 of file YahooOptions.
{ TileSourceOptions::mergeConfig( conf ); fromConfig( conf ); }
optional<std::string> osgEarth::Drivers::YahooOptions::_dataset [private] |
Definition at line 60 of file YahooOptions.