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

osgEarth::Drivers::TMSOptions Class Reference

Inheritance diagram for osgEarth::Drivers::TMSOptions:
Collaboration diagram for osgEarth::Drivers::TMSOptions:

List of all members.

Public Member Functions

optional< URI > & url ()
const optional< URI > & url () const
optional< std::string > & tmsType ()
const optional< std::string > & tmsType () const
optional< std::string > & format ()
const optional< std::string > & format () const
 TMSOptions (const TileSourceOptions &opt=TileSourceOptions())
 TMSOptions (const std::string &inUrl)
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 > _tmsType
optional< std::string > _format

Detailed Description

Definition at line 29 of file TMSOptions.


Constructor & Destructor Documentation

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

Definition at line 42 of file TMSOptions.

                                                                        : TileSourceOptions( opt )
        {
            setDriver( "tms" );
            fromConfig( _conf );
        }
osgEarth::Drivers::TMSOptions::TMSOptions ( const std::string &  inUrl) [inline]

Definition at line 48 of file TMSOptions.

                                             : TileSourceOptions()
        {
            setDriver( "tms" );
            fromConfig( _conf );
            url() = inUrl;
        }

Member Function Documentation

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

Definition at line 38 of file TMSOptions.

{ return _format; }

Here is the caller graph for this function:

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

Definition at line 39 of file TMSOptions.

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

Reimplemented from osgEarth::TileSourceOptions.

Definition at line 71 of file TMSOptions.

                                              {
            conf.getIfSet( "url", _url );
            conf.getIfSet( "format", _format );
            conf.getIfSet( "tms_type", _tmsType );
        }

Here is the call graph for this function:

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

Gets or sets the name of the object

Reimplemented from osgEarth::TileSourceOptions.

Definition at line 56 of file TMSOptions.

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

Here is the call graph for this function:

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

Reimplemented from osgEarth::TileSourceOptions.

Definition at line 65 of file TMSOptions.

Here is the call graph for this function:

const optional<std::string>& osgEarth::Drivers::TMSOptions::tmsType ( ) const [inline]

Definition at line 36 of file TMSOptions.

{ return _tmsType; }
optional<std::string>& osgEarth::Drivers::TMSOptions::tmsType ( ) [inline]

Definition at line 35 of file TMSOptions.

{ return _tmsType; }

Here is the caller graph for this function:

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

Definition at line 33 of file TMSOptions.

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

Definition at line 32 of file TMSOptions.

{ return _url; }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 79 of file TMSOptions.

Definition at line 78 of file TMSOptions.

Definition at line 77 of file TMSOptions.


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