LuciadCPillar 2024.0.08
|
Contains information about a layer as described in a WMS GetCapabilities response. More...
#include <luciad/formats/wms/WmsLayer.h>
Public Member Functions | |
~WmsLayer () | |
const std::optional< std::string > & | getAbstract () const |
Returns the layer's abstract. More... | |
const std::vector< std::shared_ptr< WmsLayer > > & | getChildLayers () const |
Returns the layer's children. More... | |
const std::vector< std::string > & | getKeywords () const |
Returns the layer's keywords. More... | |
const std::optional< std::string > & | getName () const |
Returns the layer's name. More... | |
std::vector< std::shared_ptr< WmsLayerStyle > > | getStyles (bool withInheritedStyles=false) const |
Returns the layer's styles and the inherited ones if specified. More... | |
const std::string & | getTitle () const |
Returns the layer's title. More... | |
bool | isOpaque () const |
Returns whether the layer is opaque. More... | |
Contains information about a layer as described in a WMS GetCapabilities response.
luciad::WmsLayer::~WmsLayer | ( | ) |
const std::optional< std::string > & luciad::WmsLayer::getAbstract | ( | ) | const |
Returns the layer's abstract.
const std::vector< std::shared_ptr< WmsLayer > > & luciad::WmsLayer::getChildLayers | ( | ) | const |
Returns the layer's children.
Returns an empty vector if the layer has no child.
const std::vector< std::string > & luciad::WmsLayer::getKeywords | ( | ) | const |
Returns the layer's keywords.
Returns an empty vector when the layer doesn't have a keyword.
const std::optional< std::string > & luciad::WmsLayer::getName | ( | ) | const |
Returns the layer's name.
std::vector< std::shared_ptr< WmsLayerStyle > > luciad::WmsLayer::getStyles | ( | bool | withInheritedStyles = false | ) | const |
Returns the layer's styles and the inherited ones if specified.
withInheritedStyles | specify if the returned style list should contain styles inherited from parent layers. default value is false. |
const std::string & luciad::WmsLayer::getTitle | ( | ) | const |
Returns the layer's title.
bool luciad::WmsLayer::isOpaque | ( | ) | const |
Returns whether the layer is opaque.