osgEarth 2.1.1
Public Member Functions | Private Attributes

osgEarth::DriverConfigOptions Class Reference

Inheritance diagram for osgEarth::DriverConfigOptions:
Collaboration diagram for osgEarth::DriverConfigOptions:

List of all members.

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

Detailed Description

Base configoptions class for driver options.

Definition at line 440 of file Config.


Constructor & Destructor Documentation

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:


Member Function Documentation

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]

Definition at line 448 of file Config.

{ return _driver; }

Here is the caller graph for this function:

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.

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]

Gets or sets the name of the driver to load

Definition at line 447 of file Config.

{ _driver = value; }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 476 of file Config.

std::string osgEarth::DriverConfigOptions::_name [private]

Reimplemented in osgEarth::Features::FeatureSourceOptions.

Definition at line 476 of file Config.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines