|
osgEarth 2.1.1
|
Inheritance diagram for osgEarth::DriverConfigOptions:
Collaboration diagram for osgEarth::DriverConfigOptions:Public Member Functions | |
| DriverConfigOptions (const ConfigOptions &rhs=ConfigOptions()) | |
| void | setDriver (const std::string &value) |
| const std::string & | getDriver () const |
| virtual Config | getConfig () const |
| virtual void | mergeConfig (const Config &conf) |
| void | fromConfig (const Config &conf) |
Private Attributes | |
| std::string | _name |
| std::string | _driver |
| osgEarth::DriverConfigOptions::DriverConfigOptions | ( | const ConfigOptions & | rhs = ConfigOptions() | ) | [inline] |
Definition at line 443 of file Config.
: ConfigOptions( rhs ) { fromConfig( _conf ); }
Here is the call graph for this function:| void osgEarth::DriverConfigOptions::fromConfig | ( | const Config & | conf | ) | [inline] |
Reimplemented in osgEarth::CacheOptions, osgEarth::DiskCacheOptions, osgEarth::TMSCacheOptions, osgEarth::CompositeTileSourceOptions, osgEarth::MaskSourceOptions, osgEarth::ModelSourceOptions, osgEarth::TerrainOptions, osgEarth::TileSourceOptions, osgEarth::Drivers::AGGLiteOptions, osgEarth::Drivers::ArcGISOptions, osgEarth::Drivers::Sqlite3CacheOptions, osgEarth::Drivers::DebugOptions, osgEarth::Drivers::OSGTerrainOptions, osgEarth::Drivers::SeamlessOptions, osgEarth::Drivers::OGRFeatureOptions, osgEarth::Drivers::WFSFeatureOptions, osgEarth::Drivers::GDALOptions, osgEarth::Drivers::FeatureSubModelOptions, osgEarth::Drivers::FeatureMaskOptions, osgEarth::Drivers::MBTilesOptions, osgEarth::Drivers::FeatureGeomModelOptions, osgEarth::Drivers::FeatureLabelModelOptions, osgEarth::Drivers::FeatureStencilModelOptions, osgEarth::Drivers::SimpleModelOptions, osgEarth::Drivers::OSGOptions, osgEarth::Drivers::TileCacheOptions, osgEarth::Drivers::TileServiceOptions, osgEarth::Drivers::TMSOptions, osgEarth::Drivers::VPBOptions, osgEarth::Drivers::WCSOptions, osgEarth::Drivers::WMSOptions, osgEarth::Drivers::WorldWindOptions, osgEarth::Drivers::YahooOptions, osgEarth::Features::FeatureModelSourceOptions, osgEarth::Features::FeatureSourceOptions, osgEarth::Features::FeatureTileSourceOptions, and osgEarth::Features::LabelSourceOptions.
Definition at line 468 of file Config.
{
//_name = conf.value( "name" );
_driver = conf.value( "driver" );
if ( _driver.empty() && conf.hasValue("type") )
_driver = conf.value("type");
}
Here is the call graph for this function:
Here is the caller graph for this function:| virtual Config osgEarth::DriverConfigOptions::getConfig | ( | ) | const [inline, virtual] |
Gets or sets the name of the object
Reimplemented from osgEarth::ConfigOptions.
Reimplemented in osgEarth::CacheOptions, osgEarth::DiskCacheOptions, osgEarth::TMSCacheOptions, osgEarth::CompositeTileSourceOptions, osgEarth::MaskSourceOptions, osgEarth::ModelSourceOptions, osgEarth::TerrainOptions, osgEarth::TileSourceOptions, osgEarth::Drivers::AGGLiteOptions, osgEarth::Drivers::ArcGISOptions, osgEarth::Drivers::Sqlite3CacheOptions, osgEarth::Drivers::DebugOptions, osgEarth::Drivers::OSGTerrainOptions, osgEarth::Drivers::SeamlessOptions, osgEarth::Drivers::OGRFeatureOptions, osgEarth::Drivers::WFSFeatureOptions, osgEarth::Drivers::GDALOptions, osgEarth::Drivers::FeatureSubModelOptions, osgEarth::Drivers::FeatureMaskOptions, osgEarth::Drivers::MBTilesOptions, osgEarth::Drivers::FeatureGeomModelOptions, osgEarth::Drivers::FeatureLabelModelOptions, osgEarth::Drivers::FeatureStencilModelOptions, osgEarth::Drivers::SimpleModelOptions, osgEarth::Drivers::OSGOptions, osgEarth::Drivers::TileCacheOptions, osgEarth::Drivers::TileServiceOptions, osgEarth::Drivers::TMSOptions, osgEarth::Drivers::VPBOptions, osgEarth::Drivers::WCSOptions, osgEarth::Drivers::WMSOptions, osgEarth::Drivers::WorldWindOptions, osgEarth::Drivers::YahooOptions, osgEarth::Features::FeatureModelSourceOptions, osgEarth::Features::FeatureSourceOptions, osgEarth::Features::FeatureTileSourceOptions, and osgEarth::Features::LabelSourceOptions.
Definition at line 455 of file Config.
{
Config conf = ConfigOptions::getConfig();
//conf.attr("name") = _name;
conf.attr("driver") = _driver;
return conf;
}
Here is the call graph for this function:
Here is the caller graph for this function:| const std::string& osgEarth::DriverConfigOptions::getDriver | ( | ) | const [inline] |
| virtual void osgEarth::DriverConfigOptions::mergeConfig | ( | const Config & | conf | ) | [inline, virtual] |
Reimplemented from osgEarth::ConfigOptions.
Reimplemented in osgEarth::CacheOptions, osgEarth::DiskCacheOptions, osgEarth::TMSCacheOptions, osgEarth::CompositeTileSourceOptions, osgEarth::MaskSourceOptions, osgEarth::ModelSourceOptions, osgEarth::TerrainOptions, osgEarth::TileSourceOptions, osgEarth::Drivers::AGGLiteOptions, osgEarth::Drivers::ArcGISOptions, osgEarth::Drivers::Sqlite3CacheOptions, osgEarth::Drivers::DebugOptions, osgEarth::Drivers::OSGTerrainOptions, osgEarth::Drivers::SeamlessOptions, osgEarth::Drivers::OGRFeatureOptions, osgEarth::Drivers::WFSFeatureOptions, osgEarth::Drivers::GDALOptions, osgEarth::Drivers::FeatureSubModelOptions, osgEarth::Drivers::FeatureMaskOptions, osgEarth::Drivers::MBTilesOptions, osgEarth::Drivers::FeatureGeomModelOptions, osgEarth::Drivers::FeatureLabelModelOptions, osgEarth::Drivers::FeatureStencilModelOptions, osgEarth::Drivers::SimpleModelOptions, osgEarth::Drivers::OSGOptions, osgEarth::Drivers::TileCacheOptions, osgEarth::Drivers::TileServiceOptions, osgEarth::Drivers::TMSOptions, osgEarth::Drivers::VPBOptions, osgEarth::Drivers::WCSOptions, osgEarth::Drivers::WMSOptions, osgEarth::Drivers::WorldWindOptions, osgEarth::Drivers::YahooOptions, osgEarth::Features::FeatureModelSourceOptions, osgEarth::Features::FeatureSourceOptions, osgEarth::Features::FeatureTileSourceOptions, and osgEarth::Features::LabelSourceOptions.
Definition at line 462 of file Config.
{
ConfigOptions::mergeConfig(conf);
fromConfig(conf);
}
Here is the call graph for this function:
Here is the caller graph for this function:| void osgEarth::DriverConfigOptions::setDriver | ( | const std::string & | value | ) | [inline] |
std::string osgEarth::DriverConfigOptions::_driver [private] |
std::string osgEarth::DriverConfigOptions::_name [private] |
Reimplemented in osgEarth::Features::FeatureSourceOptions.
1.7.3