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

osgEarth::Drivers::WCSOptions Class Reference

Inheritance diagram for osgEarth::Drivers::WCSOptions:
Collaboration diagram for osgEarth::Drivers::WCSOptions:

List of all members.

Public Member Functions

optional< URI > & url ()
const optional< URI > & url () const
optional< std::string > & identifier ()
const optional< std::string > & identifier () const
optional< std::string > & format ()
const optional< std::string > & format () const
optional< std::string > & elevationUnit ()
const optional< std::string > & elevationUnit () const
optional< std::string > & srs ()
const optional< std::string > & srs () const
optional< std::string > & rangeSubset ()
const optional< std::string > & rangeSubset () const
 WCSOptions (const TileSourceOptions &opt=TileSourceOptions())
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 > _identifier
optional< std::string > _format
optional< std::string > _elevationUnit
optional< std::string > _srs
optional< std::string > _rangeSubset

Detailed Description

Definition at line 29 of file WCSOptions.


Constructor & Destructor Documentation

osgEarth::Drivers::WCSOptions::WCSOptions ( const TileSourceOptions opt = TileSourceOptions()) [inline]

Definition at line 52 of file WCSOptions.

                                                                        :
              TileSourceOptions( opt ),
              _elevationUnit( "m" )
          {
              setDriver( "wcs" );
              fromConfig( _conf );
          }

Member Function Documentation

optional<std::string>& osgEarth::Drivers::WCSOptions::elevationUnit ( ) [inline]

Definition at line 42 of file WCSOptions.

{ return _elevationUnit; }
const optional<std::string>& osgEarth::Drivers::WCSOptions::elevationUnit ( ) const [inline]

Definition at line 43 of file WCSOptions.

{ return _elevationUnit; }
optional<std::string>& osgEarth::Drivers::WCSOptions::format ( ) [inline]

Definition at line 39 of file WCSOptions.

{ return _format; }

Here is the caller graph for this function:

const optional<std::string>& osgEarth::Drivers::WCSOptions::format ( ) const [inline]

Definition at line 40 of file WCSOptions.

{ return _format; }
void osgEarth::Drivers::WCSOptions::fromConfig ( const Config conf) [inline, private]

Reimplemented from osgEarth::TileSourceOptions.

Definition at line 79 of file WCSOptions.

                                              {
            conf.getIfSet("url", _url);
            conf.getIfSet("identifier", _identifier);
            conf.getIfSet("format", _format);
            conf.getIfSet("elevation_unit", _elevationUnit);
            conf.getIfSet("srs", _srs);
            conf.getIfSet("range_subset", _rangeSubset);
        }

Here is the call graph for this function:

Config osgEarth::Drivers::WCSOptions::getConfig ( ) const [inline, virtual]

Gets or sets the name of the object

Reimplemented from osgEarth::TileSourceOptions.

Definition at line 61 of file WCSOptions.

                                 {
            Config conf = TileSourceOptions::getConfig();
            conf.updateIfSet("url", _url);
            conf.updateIfSet("identifier", _identifier);
            conf.updateIfSet("format", _format);
            conf.updateIfSet("elevation_unit", _elevationUnit);
            conf.updateIfSet("srs", _srs);
            conf.updateIfSet("range_subset", _rangeSubset);
            return conf;
        }

Here is the call graph for this function:

optional<std::string>& osgEarth::Drivers::WCSOptions::identifier ( ) [inline]

Definition at line 36 of file WCSOptions.

{ return _identifier; }

Here is the caller graph for this function:

const optional<std::string>& osgEarth::Drivers::WCSOptions::identifier ( ) const [inline]

Definition at line 37 of file WCSOptions.

{ return _identifier; }
void osgEarth::Drivers::WCSOptions::mergeConfig ( const Config conf) [inline, protected, virtual]

Reimplemented from osgEarth::TileSourceOptions.

Definition at line 73 of file WCSOptions.

Here is the call graph for this function:

optional<std::string>& osgEarth::Drivers::WCSOptions::rangeSubset ( ) [inline]

Definition at line 48 of file WCSOptions.

{ return _rangeSubset; }

Here is the caller graph for this function:

const optional<std::string>& osgEarth::Drivers::WCSOptions::rangeSubset ( ) const [inline]

Definition at line 49 of file WCSOptions.

{ return _rangeSubset; }
const optional<std::string>& osgEarth::Drivers::WCSOptions::srs ( ) const [inline]

Definition at line 46 of file WCSOptions.

{ return _srs; }
optional<std::string>& osgEarth::Drivers::WCSOptions::srs ( ) [inline]

Definition at line 45 of file WCSOptions.

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

Definition at line 34 of file WCSOptions.

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

Definition at line 33 of file WCSOptions.

{ return _url; }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 89 of file WCSOptions.

Definition at line 89 of file WCSOptions.

Definition at line 89 of file WCSOptions.

Definition at line 89 of file WCSOptions.

Definition at line 89 of file WCSOptions.

Definition at line 88 of file WCSOptions.


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