osgEarth 2.1.1
|
Public Member Functions | |
optional< URI > & | url () |
const optional< URI > & | url () const |
optional< Config > & | geometryProfileOptions () |
const optional< Config > & | geometryProfileOptions () const |
optional< std::string > & | typeName () |
const optional< std::string > & | typeName () const |
optional< unsigned int > & | maxFeatures () |
const optional< unsigned int > & | maxFeatures () const |
optional< std::string > & | outputFormat () |
const optional< std::string > & | outputFormat () const |
WFSFeatureOptions (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 > | _typename |
optional< Config > | _geometryProfileConf |
optional< std::string > | _outputFormat |
optional< unsigned > | _maxFeatures |
Definition at line 30 of file WFSFeatureOptions.
osgEarth::Drivers::WFSFeatureOptions::WFSFeatureOptions | ( | const ConfigOptions & | opt = ConfigOptions() | ) | [inline] |
Definition at line 51 of file WFSFeatureOptions.
: FeatureSourceOptions( opt ) { fromConfig( _conf ); }
void osgEarth::Drivers::WFSFeatureOptions::fromConfig | ( | const Config & | conf | ) | [inline, private] |
Reimplemented from osgEarth::Features::FeatureSourceOptions.
Definition at line 73 of file WFSFeatureOptions.
{ conf.getIfSet( "url", _url ); conf.getIfSet( "geometry_profile", _geometryProfileConf ); conf.getIfSet( "typename", _typename); conf.getIfSet( "outputformat", _outputFormat ); conf.getIfSet( "maxfeatures", _maxFeatures ); }
const optional<Config>& osgEarth::Drivers::WFSFeatureOptions::geometryProfileOptions | ( | ) | const [inline] |
Definition at line 37 of file WFSFeatureOptions.
{ return _geometryProfileConf; }
Definition at line 36 of file WFSFeatureOptions.
{ return _geometryProfileConf; }
Config osgEarth::Drivers::WFSFeatureOptions::getConfig | ( | ) | const [inline, virtual] |
Gets or sets the name of the object
Reimplemented from osgEarth::Features::FeatureSourceOptions.
Definition at line 56 of file WFSFeatureOptions.
{ Config conf = FeatureSourceOptions::getConfig(); conf.updateIfSet( "url", _url ); conf.updateIfSet( "geometry_profile", _geometryProfileConf ); conf.updateIfSet( "typename", _typename ); conf.updateIfSet( "outputformat", _outputFormat); conf.updateIfSet( "maxfeatures", _maxFeatures ); return conf; }
const optional<unsigned int>& osgEarth::Drivers::WFSFeatureOptions::maxFeatures | ( | ) | const [inline] |
Definition at line 43 of file WFSFeatureOptions.
{ return _maxFeatures;}
optional<unsigned int>& osgEarth::Drivers::WFSFeatureOptions::maxFeatures | ( | ) | [inline] |
Definition at line 42 of file WFSFeatureOptions.
{ return _maxFeatures; }
void osgEarth::Drivers::WFSFeatureOptions::mergeConfig | ( | const Config & | conf | ) | [inline, protected, virtual] |
Reimplemented from osgEarth::Features::FeatureSourceOptions.
Definition at line 67 of file WFSFeatureOptions.
{ FeatureSourceOptions::mergeConfig( conf ); fromConfig( conf ); }
const optional<std::string>& osgEarth::Drivers::WFSFeatureOptions::outputFormat | ( | ) | const [inline] |
Definition at line 46 of file WFSFeatureOptions.
{ return _outputFormat; }
optional<std::string>& osgEarth::Drivers::WFSFeatureOptions::outputFormat | ( | ) | [inline] |
Definition at line 45 of file WFSFeatureOptions.
{ return _outputFormat; }
optional<std::string>& osgEarth::Drivers::WFSFeatureOptions::typeName | ( | ) | [inline] |
Definition at line 39 of file WFSFeatureOptions.
{ return _typename; }
const optional<std::string>& osgEarth::Drivers::WFSFeatureOptions::typeName | ( | ) | const [inline] |
Definition at line 40 of file WFSFeatureOptions.
{ return _typename; }
Definition at line 33 of file WFSFeatureOptions.
{ return _url; }
Definition at line 34 of file WFSFeatureOptions.
{ return _url; }
Definition at line 83 of file WFSFeatureOptions.
optional<unsigned> osgEarth::Drivers::WFSFeatureOptions::_maxFeatures [private] |
Definition at line 85 of file WFSFeatureOptions.
optional<std::string> osgEarth::Drivers::WFSFeatureOptions::_outputFormat [private] |
Definition at line 84 of file WFSFeatureOptions.
optional<std::string> osgEarth::Drivers::WFSFeatureOptions::_typename [private] |
Definition at line 82 of file WFSFeatureOptions.
Definition at line 81 of file WFSFeatureOptions.