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

osgEarth::Drivers::SimpleModelOptions Class Reference

Inheritance diagram for osgEarth::Drivers::SimpleModelOptions:
Collaboration diagram for osgEarth::Drivers::SimpleModelOptions:

List of all members.

Public Member Functions

optional< URI > & url ()
const optional< URI > & url () const
 SimpleModelOptions (const ConfigOptions &options)
Config getConfig () const

Protected Member Functions

void mergeConfig (const Config &conf)

Private Member Functions

void fromConfig (const Config &conf)

Private Attributes

optional< URI_url

Detailed Description

Definition at line 29 of file SimpleModelOptions.


Constructor & Destructor Documentation

osgEarth::Drivers::SimpleModelOptions::SimpleModelOptions ( const ConfigOptions options) [inline]

Definition at line 36 of file SimpleModelOptions.

                                                           : ModelSourceOptions( options ) {
            setDriver( "simple" );
            fromConfig( _conf );
        }

Member Function Documentation

void osgEarth::Drivers::SimpleModelOptions::fromConfig ( const Config conf) [inline, private]

Reimplemented from osgEarth::ModelSourceOptions.

Definition at line 55 of file SimpleModelOptions.

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

Here is the call graph for this function:

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

Gets or sets the name of the object

Reimplemented from osgEarth::ModelSourceOptions.

Definition at line 42 of file SimpleModelOptions.

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

Here is the call graph for this function:

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

Reimplemented from osgEarth::ModelSourceOptions.

Definition at line 49 of file SimpleModelOptions.

Here is the call graph for this function:

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

Definition at line 32 of file SimpleModelOptions.

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

Definition at line 33 of file SimpleModelOptions.

{ return _url; }

Member Data Documentation

Definition at line 59 of file SimpleModelOptions.


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