osgEarth 2.1.1
|
Public Member Functions | |
optional< URI > & | url () |
const optional< URI > & | url () const |
optional< std::string > & | identifier () |
const optional< std::string > & | identifier () const |
optional< std::string > & | format () |
const optional< std::string > & | format () const |
optional< std::string > & | elevationUnit () |
const optional< std::string > & | elevationUnit () const |
optional< std::string > & | srs () |
const optional< std::string > & | srs () const |
optional< std::string > & | rangeSubset () |
const optional< std::string > & | rangeSubset () const |
WCSOptions (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 > | _identifier |
optional< std::string > | _format |
optional< std::string > | _elevationUnit |
optional< std::string > | _srs |
optional< std::string > | _rangeSubset |
Definition at line 29 of file WCSOptions.
osgEarth::Drivers::WCSOptions::WCSOptions | ( | const TileSourceOptions & | opt = TileSourceOptions() | ) | [inline] |
Definition at line 52 of file WCSOptions.
: TileSourceOptions( opt ), _elevationUnit( "m" ) { setDriver( "wcs" ); fromConfig( _conf ); }
optional<std::string>& osgEarth::Drivers::WCSOptions::elevationUnit | ( | ) | [inline] |
Definition at line 42 of file WCSOptions.
{ return _elevationUnit; }
const optional<std::string>& osgEarth::Drivers::WCSOptions::elevationUnit | ( | ) | const [inline] |
Definition at line 43 of file WCSOptions.
{ return _elevationUnit; }
optional<std::string>& osgEarth::Drivers::WCSOptions::format | ( | ) | [inline] |
Definition at line 39 of file WCSOptions.
{ return _format; }
const optional<std::string>& osgEarth::Drivers::WCSOptions::format | ( | ) | const [inline] |
Definition at line 40 of file WCSOptions.
{ return _format; }
void osgEarth::Drivers::WCSOptions::fromConfig | ( | const Config & | conf | ) | [inline, private] |
Reimplemented from osgEarth::TileSourceOptions.
Definition at line 79 of file WCSOptions.
{ conf.getIfSet("url", _url); conf.getIfSet("identifier", _identifier); conf.getIfSet("format", _format); conf.getIfSet("elevation_unit", _elevationUnit); conf.getIfSet("srs", _srs); conf.getIfSet("range_subset", _rangeSubset); }
Config osgEarth::Drivers::WCSOptions::getConfig | ( | ) | const [inline, virtual] |
Gets or sets the name of the object
Reimplemented from osgEarth::TileSourceOptions.
Definition at line 61 of file WCSOptions.
{ Config conf = TileSourceOptions::getConfig(); conf.updateIfSet("url", _url); conf.updateIfSet("identifier", _identifier); conf.updateIfSet("format", _format); conf.updateIfSet("elevation_unit", _elevationUnit); conf.updateIfSet("srs", _srs); conf.updateIfSet("range_subset", _rangeSubset); return conf; }
optional<std::string>& osgEarth::Drivers::WCSOptions::identifier | ( | ) | [inline] |
Definition at line 36 of file WCSOptions.
{ return _identifier; }
const optional<std::string>& osgEarth::Drivers::WCSOptions::identifier | ( | ) | const [inline] |
Definition at line 37 of file WCSOptions.
{ return _identifier; }
void osgEarth::Drivers::WCSOptions::mergeConfig | ( | const Config & | conf | ) | [inline, protected, virtual] |
Reimplemented from osgEarth::TileSourceOptions.
Definition at line 73 of file WCSOptions.
{ TileSourceOptions::mergeConfig( conf ); fromConfig( conf ); }
optional<std::string>& osgEarth::Drivers::WCSOptions::rangeSubset | ( | ) | [inline] |
Definition at line 48 of file WCSOptions.
{ return _rangeSubset; }
const optional<std::string>& osgEarth::Drivers::WCSOptions::rangeSubset | ( | ) | const [inline] |
Definition at line 49 of file WCSOptions.
{ return _rangeSubset; }
const optional<std::string>& osgEarth::Drivers::WCSOptions::srs | ( | ) | const [inline] |
Definition at line 46 of file WCSOptions.
{ return _srs; }
optional<std::string>& osgEarth::Drivers::WCSOptions::srs | ( | ) | [inline] |
Definition at line 45 of file WCSOptions.
{ return _srs; }
Definition at line 34 of file WCSOptions.
{ return _url; }
Definition at line 33 of file WCSOptions.
{ return _url; }
optional<std::string> osgEarth::Drivers::WCSOptions::_elevationUnit [private] |
Definition at line 89 of file WCSOptions.
optional<std::string> osgEarth::Drivers::WCSOptions::_format [private] |
Definition at line 89 of file WCSOptions.
optional<std::string> osgEarth::Drivers::WCSOptions::_identifier [private] |
Definition at line 89 of file WCSOptions.
optional<std::string> osgEarth::Drivers::WCSOptions::_rangeSubset [private] |
Definition at line 89 of file WCSOptions.
optional<std::string> osgEarth::Drivers::WCSOptions::_srs [private] |
Definition at line 89 of file WCSOptions.
optional<URI> osgEarth::Drivers::WCSOptions::_url [private] |
Definition at line 88 of file WCSOptions.