Go to the documentation of this file.
26 #ifndef __TERRALIB_SE_INTERNAL_STYLE_H
27 #define __TERRALIB_SE_INTERNAL_STYLE_H
30 #include "../common/BaseVisitable.h"
39 #include <boost/noncopyable.hpp>
44 namespace xl {
class SimpleLink; }
97 void push_back(
const std::string& semanticTypeIdentifier);
130 virtual const std::string&
getType()
const = 0;
150 #endif // __TERRALIB_SE_INTERNAL_STYLE_H
void setDescription(Description *d)
std::vector< Rule * > m_rules
It allows conditional rendering. (Mandatory if m_onlineResource is empty, otherwise,...
const std::string & getVersion() const
const std::vector< std::string > * getSemanticTypeIdentifiers() const
const std::vector< Rule * > & getRules() const
void push_back(te::xl::SimpleLink *onlineResource)
A visitor interface for the SymbologyEncoding hierarchy.
virtual const std::string & getType() const =0
It returns the style type.
Description * m_description
It gives an informative description of the style. (Optional)
void push_back(const std::string &semanticTypeIdentifier)
Style()
It initializes a new Style.
void setVersion(const std::string &v)
void removeRule(std::size_t i)
The root of all hierarchies that can be visited.
const te::xl::SimpleLink * getOnlineResource(std::size_t i) const
#define TESEEXPORT
You can use this macro in order to export/import classes and functions from this module.
virtual Style * clone() const =0
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...
const Description * getDescription() const
void push_back(Rule *rule)
A Rule is used to attach property/scale conditions to and group the individual symbols used for rende...
#define TE_DEFINE_VISITABLE
const std::string * getName() const
Rule * getRule(std::size_t i) const
void setRule(std::size_t i, Rule *rule)
const std::vector< te::xl::SimpleLink * > & getOnlineResources() const
A Description gives human-readable descriptive information for the object it is included within.
std::string m_version
The version is an optional attribute on the FeatureTypeStyle that identifies the SE version number th...
const std::string & getSemanticTypeIdentifier(std::size_t i)
The Style defines the styling that is to be applied to a geographic dataset (vector geometries or cov...
Proxy configuration file for TerraView (see terraview_config.h).
void setName(std::string *name)
virtual ~Style()
Virtual destructor.
std::vector< te::xl::SimpleLink * > m_onlineResources
It refers to an external document. (Mandatory if m_rules is empty, otherwise, it is optional)
std::string * m_name
It allows the style to be referenced. Names must be unique in the context in which they are defined....