|
osgEarth 2.1.1
|
Inheritance diagram for osgEarth::Drivers::OGRFeatureOptions:
Collaboration diagram for osgEarth::Drivers::OGRFeatureOptions:Public Member Functions | |
| optional< URI > & | url () |
| const optional< URI > & | url () const |
| optional< std::string > & | connection () |
| const optional< std::string > & | connection () const |
| optional< std::string > & | ogrDriver () |
| const optional< std::string > & | ogrDriver () const |
| optional< bool > & | buildSpatialIndex () |
| const optional< bool > & | buildSpatialIndex () const |
| optional< Config > & | geometryConfig () |
| const optional< Config > & | geometryConfig () const |
| optional< std::string > & | geometryUrl () |
| const optional< std::string > & | geometryUrl () const |
| osg::ref_ptr < Symbology::Geometry > & | geometry () |
| const osg::ref_ptr < Symbology::Geometry > & | geometry () const |
| OGRFeatureOptions (const ConfigOptions &opt=ConfigOptions()) | |
| 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 > | _connection |
| optional< std::string > | _ogrDriver |
| optional< bool > | _buildSpatialIndex |
| optional< Config > | _geometryConf |
| optional< Config > | _geometryProfileConf |
| optional< std::string > | _geometryUrl |
| osg::ref_ptr< Symbology::Geometry > | _geometry |
Definition at line 30 of file OGRFeatureOptions.
| osgEarth::Drivers::OGRFeatureOptions::OGRFeatureOptions | ( | const ConfigOptions & | opt = ConfigOptions() | ) | [inline] |
Definition at line 56 of file OGRFeatureOptions.
: FeatureSourceOptions( opt ) { setDriver( "ogr" ); fromConfig( _conf ); }
| optional<bool>& osgEarth::Drivers::OGRFeatureOptions::buildSpatialIndex | ( | ) | [inline] |
Definition at line 42 of file OGRFeatureOptions.
{ return _buildSpatialIndex; }
| const optional<bool>& osgEarth::Drivers::OGRFeatureOptions::buildSpatialIndex | ( | ) | const [inline] |
Definition at line 43 of file OGRFeatureOptions.
{ return _buildSpatialIndex; }
| const optional<std::string>& osgEarth::Drivers::OGRFeatureOptions::connection | ( | ) | const [inline] |
Definition at line 37 of file OGRFeatureOptions.
{ return _connection; }
| optional<std::string>& osgEarth::Drivers::OGRFeatureOptions::connection | ( | ) | [inline] |
Definition at line 36 of file OGRFeatureOptions.
{ return _connection; }
| void osgEarth::Drivers::OGRFeatureOptions::fromConfig | ( | const Config & | conf | ) | [inline, private] |
Reimplemented from osgEarth::Features::FeatureSourceOptions.
Definition at line 81 of file OGRFeatureOptions.
{
conf.getIfSet( "url", _url );
conf.getIfSet( "connection", _connection );
conf.getIfSet( "ogr_driver", _ogrDriver );
conf.getIfSet( "build_spatial_index", _buildSpatialIndex );
conf.getIfSet( "geometry", _geometryConf );
conf.getIfSet( "geometry_url", _geometryUrl );
_geometry = conf.getNonSerializable<Symbology::Geometry>( "OGRFeatureOptions::geometry" );
}
Here is the call graph for this function:| osg::ref_ptr<Symbology::Geometry>& osgEarth::Drivers::OGRFeatureOptions::geometry | ( | ) | [inline] |
Definition at line 52 of file OGRFeatureOptions.
{ return _geometry; }
Here is the caller graph for this function:| const osg::ref_ptr<Symbology::Geometry>& osgEarth::Drivers::OGRFeatureOptions::geometry | ( | ) | const [inline] |
Definition at line 53 of file OGRFeatureOptions.
{ return _geometry; }
Definition at line 45 of file OGRFeatureOptions.
{ return _geometryConf; }
Definition at line 46 of file OGRFeatureOptions.
{ return _geometryConf; }
| optional<std::string>& osgEarth::Drivers::OGRFeatureOptions::geometryUrl | ( | ) | [inline] |
Definition at line 48 of file OGRFeatureOptions.
{ return _geometryUrl; }
| const optional<std::string>& osgEarth::Drivers::OGRFeatureOptions::geometryUrl | ( | ) | const [inline] |
Definition at line 49 of file OGRFeatureOptions.
{ return _geometryUrl; }
| Config osgEarth::Drivers::OGRFeatureOptions::getConfig | ( | ) | const [inline, virtual] |
Gets or sets the name of the object
Reimplemented from osgEarth::Features::FeatureSourceOptions.
Definition at line 62 of file OGRFeatureOptions.
{
Config conf = FeatureSourceOptions::getConfig();
conf.updateIfSet( "url", _url );
conf.updateIfSet( "connection", _connection );
conf.updateIfSet( "ogr_driver", _ogrDriver );
conf.updateIfSet( "build_spatial_index", _buildSpatialIndex );
conf.updateIfSet( "geometry", _geometryConf );
conf.updateIfSet( "geometry_url", _geometryUrl );
conf.updateNonSerializable( "OGRFeatureOptions::geometry", _geometry.get() );
return conf;
}
Here is the call graph for this function:| void osgEarth::Drivers::OGRFeatureOptions::mergeConfig | ( | const Config & | conf | ) | [inline, protected, virtual] |
Reimplemented from osgEarth::Features::FeatureSourceOptions.
Definition at line 75 of file OGRFeatureOptions.
{
FeatureSourceOptions::mergeConfig( conf );
fromConfig( conf );
}
Here is the call graph for this function:| optional<std::string>& osgEarth::Drivers::OGRFeatureOptions::ogrDriver | ( | ) | [inline] |
Definition at line 39 of file OGRFeatureOptions.
{ return _ogrDriver; }
| const optional<std::string>& osgEarth::Drivers::OGRFeatureOptions::ogrDriver | ( | ) | const [inline] |
Definition at line 40 of file OGRFeatureOptions.
{ return _ogrDriver; }
Definition at line 34 of file OGRFeatureOptions.
{ return _url; }
Definition at line 33 of file OGRFeatureOptions.
{ return _url; }
Here is the caller graph for this function:optional<bool> osgEarth::Drivers::OGRFeatureOptions::_buildSpatialIndex [private] |
Definition at line 94 of file OGRFeatureOptions.
optional<std::string> osgEarth::Drivers::OGRFeatureOptions::_connection [private] |
Definition at line 92 of file OGRFeatureOptions.
osg::ref_ptr<Symbology::Geometry> osgEarth::Drivers::OGRFeatureOptions::_geometry [private] |
Definition at line 98 of file OGRFeatureOptions.
Definition at line 95 of file OGRFeatureOptions.
Definition at line 96 of file OGRFeatureOptions.
optional<std::string> osgEarth::Drivers::OGRFeatureOptions::_geometryUrl [private] |
Definition at line 97 of file OGRFeatureOptions.
optional<std::string> osgEarth::Drivers::OGRFeatureOptions::_ogrDriver [private] |
Definition at line 93 of file OGRFeatureOptions.
Definition at line 91 of file OGRFeatureOptions.
1.7.3