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; }
89 void setName(std::string* name);
91 const std::string* getName()
const;
97 void push_back(
const std::string& semanticTypeIdentifier);
99 const std::string& getSemanticTypeIdentifier(std::size_t i);
101 const std::vector<std::string>* getSemanticTypeIdentifiers()
const;
103 void push_back(
Rule* rule);
105 const std::vector<Rule*>& getRules()
const;
107 Rule* getRule(std::size_t i)
const;
111 const std::vector<te::xl::SimpleLink*>& getOnlineResources()
const;
115 void setVersion(
const std::string& v);
117 const std::string& getVersion()
const;
124 virtual const std::string& getType()
const = 0;
129 virtual Style* clone()
const = 0;
144 #endif // __TERRALIB_SE_INTERNAL_STYLE_H
A Description gives human-readable descriptive information for the object it is included within...
A visitor interface for the SymbologyEncoding hierarchy.
The Style defines the styling that is to be applied to a geographic dataset (vector geometries or cov...
std::string * m_name
It allows the style to be referenced. Names must be unique in the context in which they are defined...
Description * m_description
It gives an informative description of the style. (Optional)
The root of all hierarchies that can be visited.
std::vector< Rule * > m_rules
It allows conditional rendering. (Mandatory if m_onlineResource is empty, otherwise, it is optional)
std::vector< std::string > * m_semanticTypeIdentifiers
The SemanticTypeIdentifier is experimental and is intended to be used to identify what the feature st...
#define TESEEXPORT
You can use this macro in order to export/import classes and functions from this module.
Configuration flags for the Symbology Encoding support of TerraLib.
#define TE_DEFINE_VISITABLE
A Rule is used to attach property/scale conditions to and group the individual symbols used for rende...
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) ...