osgEarth 2.1.1
|
Public Member Functions | |
optional< std::string > & | filename () |
const optional< std::string > & | filename () const |
optional< std::string > & | format () |
const optional< std::string > & | format () const |
MBTilesOptions (const TileSourceOptions &opt=TileSourceOptions()) | |
Config | getConfig () const |
void | mergeConfig (const Config &conf) |
void | fromConfig (const Config &conf) |
Private Attributes | |
optional< std::string > | _filename |
optional< std::string > | _format |
Definition at line 29 of file MBTilesOptions.
osgEarth::Drivers::MBTilesOptions::MBTilesOptions | ( | const TileSourceOptions & | opt = TileSourceOptions() | ) | [inline] |
Definition at line 39 of file MBTilesOptions.
: TileSourceOptions( opt ) { setDriver( "mbtiles" ); fromConfig( _conf ); }
optional<std::string>& osgEarth::Drivers::MBTilesOptions::filename | ( | ) | [inline] |
Definition at line 32 of file MBTilesOptions.
{ return _filename; }
const optional<std::string>& osgEarth::Drivers::MBTilesOptions::filename | ( | ) | const [inline] |
Definition at line 33 of file MBTilesOptions.
{ return _filename; }
const optional<std::string>& osgEarth::Drivers::MBTilesOptions::format | ( | ) | const [inline] |
Definition at line 36 of file MBTilesOptions.
{ return _format; }
optional<std::string>& osgEarth::Drivers::MBTilesOptions::format | ( | ) | [inline] |
Definition at line 35 of file MBTilesOptions.
{ return _format; }
void osgEarth::Drivers::MBTilesOptions::fromConfig | ( | const Config & | conf | ) | [inline] |
Reimplemented from osgEarth::TileSourceOptions.
Definition at line 58 of file MBTilesOptions.
Config osgEarth::Drivers::MBTilesOptions::getConfig | ( | ) | const [inline, virtual] |
Gets or sets the name of the object
Reimplemented from osgEarth::TileSourceOptions.
Definition at line 46 of file MBTilesOptions.
{ Config conf = TileSourceOptions::getConfig(); conf.updateIfSet("filename", _filename); conf.updateIfSet("format", _format); return conf; }
void osgEarth::Drivers::MBTilesOptions::mergeConfig | ( | const Config & | conf | ) | [inline, virtual] |
Reimplemented from osgEarth::TileSourceOptions.
Definition at line 53 of file MBTilesOptions.
{ TileSourceOptions::mergeConfig( conf ); fromConfig( conf ); }
optional<std::string> osgEarth::Drivers::MBTilesOptions::_filename [private] |
Definition at line 64 of file MBTilesOptions.
optional<std::string> osgEarth::Drivers::MBTilesOptions::_format [private] |
Definition at line 65 of file MBTilesOptions.