osgEarth 2.1.1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes

osgEarth::Drivers::WFSFeatureOptions Class Reference

Inheritance diagram for osgEarth::Drivers::WFSFeatureOptions:
Collaboration diagram for osgEarth::Drivers::WFSFeatureOptions:

List of all members.

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

Detailed Description

Definition at line 30 of file WFSFeatureOptions.


Constructor & Destructor Documentation

osgEarth::Drivers::WFSFeatureOptions::WFSFeatureOptions ( const ConfigOptions opt = ConfigOptions()) [inline]

Definition at line 51 of file WFSFeatureOptions.


Member Function Documentation

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 );
        }

Here is the call graph for this function:

const optional<Config>& osgEarth::Drivers::WFSFeatureOptions::geometryProfileOptions ( ) const [inline]

Definition at line 37 of file WFSFeatureOptions.

optional<Config>& osgEarth::Drivers::WFSFeatureOptions::geometryProfileOptions ( ) [inline]

Definition at line 36 of file WFSFeatureOptions.

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;
        }

Here is the call graph for this function:

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.

Here is the call graph for this function:

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; }
optional<URI>& osgEarth::Drivers::WFSFeatureOptions::url ( ) [inline]

Definition at line 33 of file WFSFeatureOptions.

{ return _url; }
const optional<URI>& osgEarth::Drivers::WFSFeatureOptions::url ( ) const [inline]

Definition at line 34 of file WFSFeatureOptions.

{ return _url; }

Member Data Documentation

Definition at line 83 of file WFSFeatureOptions.

Definition at line 85 of file WFSFeatureOptions.

Definition at line 84 of file WFSFeatureOptions.

Definition at line 82 of file WFSFeatureOptions.

Definition at line 81 of file WFSFeatureOptions.


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