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;
 
#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...
 
The Style defines the styling that is to be applied to a geographic dataset (vector geometries or cov...
 
void setDescription(Description *d)
 
void setRule(std::size_t i, Rule *rule)
 
virtual const std::string & getType() const =0
It returns the style type.
 
Description * m_description
It gives an informative description of the style. (Optional)
 
virtual Style * clone() const =0
It creates a new copy of this object.
 
const std::string * getName() 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.
 
const std::string & getVersion() const
 
std::vector< Rule * > m_rules
It allows conditional rendering. (Mandatory if m_onlineResource is empty, otherwise,...
 
void setVersion(const std::string &v)
 
const te::xl::SimpleLink * getOnlineResource(std::size_t i) const
 
void push_back(Rule *rule)
 
const std::vector< std::string > * getSemanticTypeIdentifiers() 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)
 
Rule * getRule(std::size_t i) const
 
void removeRule(std::size_t i)
 
void setName(std::string *name)
 
const std::vector< te::xl::SimpleLink * > & getOnlineResources() const
 
virtual ~Style()
Virtual destructor.
 
const std::vector< Rule * > & getRules() const
 
const Description * getDescription() const
 
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 & getSemanticTypeIdentifier(std::size_t i)
 
std::string m_version
The version is an optional attribute on the FeatureTypeStyle that identifies the SE version number th...
 
A visitor interface for the SymbologyEncoding hierarchy.
 
#define TESEEXPORT
You can use this macro in order to export/import classes and functions from this module.
 
Proxy configuration file for TerraView (see terraview_config.h).