osgEarth 2.1.1
|
Public Member Functions | |
optional< URI > & | url () |
const optional< URI > & | url () const |
optional< std::string > & | token () |
const optional< std::string > & | token () const |
ArcGISOptions (const TileSourceOptions &opt=TileSourceOptions()) | |
Config | getConfig () const |
void | mergeConfig (const Config &conf) |
void | fromConfig (const Config &conf) |
Private Attributes | |
optional< URI > | _url |
optional< std::string > | _token |
Definition at line 29 of file ArcGISOptions.
osgEarth::Drivers::ArcGISOptions::ArcGISOptions | ( | const TileSourceOptions & | opt = TileSourceOptions() | ) | [inline] |
Definition at line 39 of file ArcGISOptions.
: TileSourceOptions( opt ) { setDriver( "arcgis" ); fromConfig( _conf ); }
void osgEarth::Drivers::ArcGISOptions::fromConfig | ( | const Config & | conf | ) | [inline] |
Reimplemented from osgEarth::TileSourceOptions.
Definition at line 58 of file ArcGISOptions.
Config osgEarth::Drivers::ArcGISOptions::getConfig | ( | ) | const [inline, virtual] |
Gets or sets the name of the object
Reimplemented from osgEarth::TileSourceOptions.
Definition at line 46 of file ArcGISOptions.
{ Config conf = TileSourceOptions::getConfig(); conf.updateIfSet("url", _url ); conf.updateIfSet("token", _token ); return conf; }
void osgEarth::Drivers::ArcGISOptions::mergeConfig | ( | const Config & | conf | ) | [inline, virtual] |
Reimplemented from osgEarth::TileSourceOptions.
Definition at line 53 of file ArcGISOptions.
{ TileSourceOptions::mergeConfig( conf ); fromConfig( conf ); }
const optional<std::string>& osgEarth::Drivers::ArcGISOptions::token | ( | ) | const [inline] |
Definition at line 36 of file ArcGISOptions.
{ return _token; }
optional<std::string>& osgEarth::Drivers::ArcGISOptions::token | ( | ) | [inline] |
Definition at line 35 of file ArcGISOptions.
{ return _token; }
Definition at line 32 of file ArcGISOptions.
{ return _url; }
Definition at line 33 of file ArcGISOptions.
{ return _url; }
optional<std::string> osgEarth::Drivers::ArcGISOptions::_token [private] |
Definition at line 65 of file ArcGISOptions.
optional<URI> osgEarth::Drivers::ArcGISOptions::_url [private] |
Definition at line 64 of file ArcGISOptions.