osgEarth 2.1.1
Public Types | Public Member Functions | Protected Attributes

osgEarth::Util::WMSCapabilities Class Reference

Inheritance diagram for osgEarth::Util::WMSCapabilities:
Collaboration diagram for osgEarth::Util::WMSCapabilities:

List of all members.

Public Types

typedef std::vector< std::string > FormatList

Public Member Functions

 WMSCapabilities ()
const std::string & getVersion ()
void setVersion (const std::string &version)
FormatListgetFormats ()
WMSLayer::LayerListgetLayers ()
std::string suggestExtension ()
WMSLayergetLayerByName (const std::string &name)

Protected Attributes

FormatList _formats
WMSLayer::LayerList _layers
std::string _version

Detailed Description

WMS Capabilities

Definition at line 189 of file WMS.


Member Typedef Documentation

typedef std::vector<std::string> osgEarth::Util::WMSCapabilities::FormatList

A list of supported formats

Definition at line 205 of file WMS.


Constructor & Destructor Documentation

osgEarth::Util::WMSCapabilities::WMSCapabilities ( )

Member Function Documentation

FormatList& osgEarth::Util::WMSCapabilities::getFormats ( ) [inline]

Gets the list of supported formats

Definition at line 210 of file WMS.

{return _formats;}
WMSLayer* osgEarth::Util::WMSCapabilities::getLayerByName ( const std::string &  name)

Finds the child Layer with the given name.

Returns:
The Layer with the given name or NULL if not found.
WMSLayer::LayerList& osgEarth::Util::WMSCapabilities::getLayers ( ) [inline]

Gets the Layer's for the Capabilities.

Definition at line 215 of file WMS.

{return _layers;}
const std::string& osgEarth::Util::WMSCapabilities::getVersion ( ) [inline]

Gets the WMS capabilities version

Definition at line 197 of file WMS.

{return _version;}
void osgEarth::Util::WMSCapabilities::setVersion ( const std::string &  version) [inline]

Sets the WMS capabilities version

Definition at line 202 of file WMS.

{_version = version;}
std::string osgEarth::Util::WMSCapabilities::suggestExtension ( )

Suggests an extension to use for WMS layers defined for the service. This function will analyze the list of formats contained in the Capabilities request and recommend the first format that has an OpenSceneGraph ReaderWriter that can support it's extension.

Returns:
The suggested extension.

Member Data Documentation

Definition at line 235 of file WMS.

Definition at line 236 of file WMS.

Definition at line 237 of file WMS.


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