osgEarth 2.1.1
Public Member Functions | Private Attributes

osgEarth::Drivers::ArcGISOptions Class Reference

Inheritance diagram for osgEarth::Drivers::ArcGISOptions:
Collaboration diagram for osgEarth::Drivers::ArcGISOptions:

List of all members.

Public Member Functions

optional< URI > & url ()
const optional< URI > & url () const
optional< std::string > & token ()
const optional< std::string > & token () const
 ArcGISOptions (const TileSourceOptions &opt=TileSourceOptions())
Config getConfig () const
void mergeConfig (const Config &conf)
void fromConfig (const Config &conf)

Private Attributes

optional< URI_url
optional< std::string > _token

Detailed Description

Definition at line 29 of file ArcGISOptions.


Constructor & Destructor Documentation

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

Definition at line 39 of file ArcGISOptions.

                                                                           : TileSourceOptions( opt )
        {
            setDriver( "arcgis" );
            fromConfig( _conf );
        }

Member Function Documentation

void osgEarth::Drivers::ArcGISOptions::fromConfig ( const Config conf) [inline]

Reimplemented from osgEarth::TileSourceOptions.

Definition at line 58 of file ArcGISOptions.

                                              {
            conf.getIfSet( "url", _url );
            conf.getIfSet( "token", _token);
        }

Here is the call graph for this function:

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

Gets or sets the name of the object

Reimplemented from osgEarth::TileSourceOptions.

Definition at line 46 of file ArcGISOptions.

                                 {
            Config conf = TileSourceOptions::getConfig();
            conf.updateIfSet("url", _url );
            conf.updateIfSet("token", _token );
            return conf;
        }

Here is the call graph for this function:

void osgEarth::Drivers::ArcGISOptions::mergeConfig ( const Config conf) [inline, virtual]

Reimplemented from osgEarth::TileSourceOptions.

Definition at line 53 of file ArcGISOptions.

Here is the call graph for this function:

const optional<std::string>& osgEarth::Drivers::ArcGISOptions::token ( ) const [inline]

Definition at line 36 of file ArcGISOptions.

{ return _token; }
optional<std::string>& osgEarth::Drivers::ArcGISOptions::token ( ) [inline]

Definition at line 35 of file ArcGISOptions.

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

Definition at line 32 of file ArcGISOptions.

{ return _url; }

Here is the caller graph for this function:

const optional<URI>& osgEarth::Drivers::ArcGISOptions::url ( ) const [inline]

Definition at line 33 of file ArcGISOptions.

{ return _url; }

Member Data Documentation

Definition at line 65 of file ArcGISOptions.

Definition at line 64 of file ArcGISOptions.


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