LuciadCPillar 2024.1.05
luciad::WmsDataSource::Layer Class Referencefinal

Represents a WMS layer with an optional style. More...

#include <luciad/formats/wms/WmsDataSource.h>

Public Member Functions

 ~Layer ()
 
const std::string & getName () const
 Returns the name of the WMS layer. More...
 
const std::optional< std::string > & getStyleName () const
 Returns the style for the WMS layer, if any is set. More...
 

Detailed Description

Represents a WMS layer with an optional style.

See also
WmsLayer for the more complete layer when retrieved from the server capabilities.
Since
2020.2

Constructor & Destructor Documentation

◆ ~Layer()

luciad::WmsDataSource::Layer::~Layer ( )

Member Function Documentation

◆ getName()

const std::string & luciad::WmsDataSource::Layer::getName ( ) const

Returns the name of the WMS layer.

Returns
the name of the WMS layer.

◆ getStyleName()

const std::optional< std::string > & luciad::WmsDataSource::Layer::getStyleName ( ) const

Returns the style for the WMS layer, if any is set.

Returns
the style for the WMS layer, if any is set.