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

osgEarth::Drivers::YahooOptions Class Reference

Inheritance diagram for osgEarth::Drivers::YahooOptions:
Collaboration diagram for osgEarth::Drivers::YahooOptions:

List of all members.

Public Member Functions

optional< std::string > & dataset ()
const optional< std::string > & dataset () const
 YahooOptions (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< std::string > _dataset

Detailed Description

Definition at line 29 of file YahooOptions.


Constructor & Destructor Documentation

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

Definition at line 36 of file YahooOptions.

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

Member Function Documentation

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

Definition at line 32 of file YahooOptions.

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

Definition at line 33 of file YahooOptions.

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

Reimplemented from osgEarth::TileSourceOptions.

Definition at line 56 of file YahooOptions.

                                              {
            conf.getIfSet( "dataset", _dataset );
        }

Here is the call graph for this function:

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

Gets or sets the name of the object

Reimplemented from osgEarth::TileSourceOptions.

Definition at line 43 of file YahooOptions.

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

Here is the call graph for this function:

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

Reimplemented from osgEarth::TileSourceOptions.

Definition at line 50 of file YahooOptions.

Here is the call graph for this function:


Member Data Documentation

Definition at line 60 of file YahooOptions.


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