26#ifndef __TERRALIB_SE_INTERNAL_STYLE_H
27#define __TERRALIB_SE_INTERNAL_STYLE_H
39#include <boost/noncopyable.hpp>
97 void push_back(
const std::string& semanticTypeIdentifier);
130 virtual const std::string&
getType()
const = 0;
The root of all hierarchies that can be visited.
#define TE_DEFINE_VISITABLE
The root of all hierarchies that can be visited.
A Description gives human-readable descriptive information for the object it is included within.
A Rule is used to attach property/scale conditions to and group the individual symbols used for rende...
void setDescription(Description *d)
void setRule(std::size_t i, Rule *rule)
Description * m_description
It gives an informative description of the style. (Optional)
const Description * getDescription() const
std::vector< std::string > * m_semanticTypeIdentifiers
The SemanticTypeIdentifier is experimental and is intended to be used to identify what the feature st...
Style()
It initializes a new Style.
virtual Style * clone() const =0
It creates a new copy of this object.
std::vector< Rule * > m_rules
It allows conditional rendering. (Mandatory if m_onlineResource is empty, otherwise,...
void setVersion(const std::string &v)
Rule * getRule(std::size_t i) const
void push_back(Rule *rule)
const std::vector< Rule * > & getRules() const
const std::string & getVersion() const
const te::xl::SimpleLink * getOnlineResource(std::size_t i) const
void push_back(const std::string &semanticTypeIdentifier)
std::vector< te::xl::SimpleLink * > m_onlineResources
It refers to an external document. (Mandatory if m_rules is empty, otherwise, it is optional)
void push_back(te::xl::SimpleLink *onlineResource)
const std::string & getSemanticTypeIdentifier(std::size_t i)
void removeRule(std::size_t i)
void setName(std::string *name)
virtual ~Style()
Virtual destructor.
std::string * m_name
It allows the style to be referenced. Names must be unique in the context in which they are defined....
const std::string * getName() const
const std::vector< te::xl::SimpleLink * > & getOnlineResources() const
const std::vector< std::string > * getSemanticTypeIdentifiers() const
virtual const std::string & getType() const =0
It returns the style type.
std::string m_version
The version is an optional attribute on the FeatureTypeStyle that identifies the SE version number th...
Namespace for the Symbology Encoding module of TerraLib.
This is the namespace for the XLink module.
A visitor interface for the SymbologyEncoding hierarchy.
Configuration flags for the Symbology Encoding support of TerraLib.
#define TESEEXPORT
You can use this macro in order to export/import classes and functions from this module.