27 #include "../xlink/SimpleLink.h"
41 delete m_coverageName;
46 delete m_coverageName;
47 m_coverageName = name;
52 return m_coverageName;
65 style->
setName(
new std::string(*m_name));
70 if(m_semanticTypeIdentifiers)
72 for(std::size_t i = 0; i < m_semanticTypeIdentifiers->size(); ++i)
78 for(std::size_t i = 0; i < m_rules.size(); ++i)
81 style->
m_rules.push_back(m_rules[i]->clone());
84 for(std::size_t i = 0; i < m_onlineResources.size(); ++i)
86 if(m_onlineResources[i])
The CoverageStyle defines the styling that is to be applied to a subset of Coverage data...
The Style defines the styling that is to be applied to a geographic dataset (vector geometries or cov...
std::vector< Rule * > m_rules
It allows conditional rendering. (Mandatory if m_onlineResource is empty, otherwise, it is optional)
The CoverageStyle defines the styling that is to be applied to a subset of Coverage data...
void setDescription(Description *d)
const std::string * getCoverageName() const
A Rule is used to attach property/scale conditions to and group the individual symbols used for rende...
static const std::string sm_type
A static data member used in the implementation of getType method.
A Description gives human-readable descriptive information for the object it is included within...
Style * clone() const
It creates a new copy of this object.
std::vector< std::string > * m_semanticTypeIdentifiers
The SemanticTypeIdentifier is experimental and is intended to be used to identify what the feature st...
CoverageStyle()
It initializes a new CoverageStyle.
~CoverageStyle()
Destructor.
void setName(std::string *name)
void setCoverageName(std::string *name)
std::string m_version
The version is an optional attribute on the FeatureTypeStyle that identifies the SE version number th...
std::vector< te::xl::SimpleLink * > m_onlineResources
It refers to an external document. (Mandatory if m_rules is empty, otherwise, it is optional) ...
const std::string & getType() const
It returns the style type.