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

osgEarth::Drivers::TileServiceOptions Class Reference

Inheritance diagram for osgEarth::Drivers::TileServiceOptions:
Collaboration diagram for osgEarth::Drivers::TileServiceOptions:

List of all members.

Public Member Functions

optional< URI > & url ()
const optional< URI > & url () const
optional< std::string > & dataset ()
const optional< std::string > & dataset () const
optional< std::string > & format ()
const optional< std::string > & format () const
 TileServiceOptions (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 > _dataset
optional< std::string > _format

Detailed Description

Definition at line 29 of file TileServiceOptions.


Constructor & Destructor Documentation

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

Definition at line 42 of file TileServiceOptions.

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

Member Function Documentation

optional<std::string>& osgEarth::Drivers::TileServiceOptions::dataset ( ) [inline]

Definition at line 35 of file TileServiceOptions.

{ return _dataset; }
const optional<std::string>& osgEarth::Drivers::TileServiceOptions::dataset ( ) const [inline]

Definition at line 36 of file TileServiceOptions.

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

Definition at line 38 of file TileServiceOptions.

{ return _format; }
const optional<std::string>& osgEarth::Drivers::TileServiceOptions::format ( ) const [inline]

Definition at line 39 of file TileServiceOptions.

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

Reimplemented from osgEarth::TileSourceOptions.

Definition at line 63 of file TileServiceOptions.

                                              {
            conf.getIfSet( "dataset", _dataset );
            conf.getIfSet( "url", _url );
            conf.getIfSet( "format", _format );
        }

Here is the call graph for this function:

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

Gets or sets the name of the object

Reimplemented from osgEarth::TileSourceOptions.

Definition at line 49 of file TileServiceOptions.

                                 {
            Config conf = TileSourceOptions::getConfig();
            conf.updateIfSet("dataset", _dataset);
            conf.updateIfSet("url", _url );
            conf.updateIfSet("format", _format);
            return conf;
        }

Here is the call graph for this function:

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

Reimplemented from osgEarth::TileSourceOptions.

Definition at line 57 of file TileServiceOptions.

Here is the call graph for this function:

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

Definition at line 32 of file TileServiceOptions.

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

Definition at line 33 of file TileServiceOptions.

{ return _url; }

Member Data Documentation

Definition at line 70 of file TileServiceOptions.

Definition at line 70 of file TileServiceOptions.

Definition at line 69 of file TileServiceOptions.


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