The Style defines the styling that is to be applied to a geographic dataset (vector geometries or coverage).  
 More...
#include <Style.h>
 | 
| virtual ReturnType  | accept (VisitorType &guest) const=0 | 
|   | It call the visit method from the guest object.  
  | 
|   | 
 | 
Methods related to instantiation and destruction.  
 | 
|   | Style () | 
|   | It initializes a new Style.  
  | 
|   | 
| virtual  | ~Style () | 
|   | Virtual destructor.  
  | 
|   | 
The Style defines the styling that is to be applied to a geographic dataset (vector geometries or coverage). 
The ordering to use for the Rules inside of a Style is following the "painters model" with the first item in a list being the first item plotted and hence being on the "bottom".
- See also
 - FeatureTypeStyle, CoverageStyle, Description, Rule 
 
Definition at line 65 of file Style.h.
 
◆ ReturnType
◆ VisitorType
◆ Style()
It initializes a new Style. 
 
 
◆ ~Style()
  
  
      
        
          | virtual te::se::Style::~Style  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ accept()
It call the visit method from the guest object. 
- Parameters
 - 
  
    | guest | The guest or visitor. | 
  
   
- Returns
 - Any valid value define by the template type R. 
 
 
 
◆ clone()
  
  
      
        
          | virtual Style * te::se::Style::clone  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ getDescription()
      
        
          | const Description * te::se::Style::getDescription  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ getName()
      
        
          | const std::string * te::se::Style::getName  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ getOnlineResource()
◆ getOnlineResources()
◆ getRule()
      
        
          | Rule * te::se::Style::getRule  | 
          ( | 
          std::size_t  | 
          i | ) | 
           const | 
        
      
 
 
◆ getRules()
      
        
          | const std::vector< Rule * > & te::se::Style::getRules  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ getSemanticTypeIdentifier()
      
        
          | const std::string & te::se::Style::getSemanticTypeIdentifier  | 
          ( | 
          std::size_t  | 
          i | ) | 
           | 
        
      
 
 
◆ getSemanticTypeIdentifiers()
      
        
          | const std::vector< std::string > * te::se::Style::getSemanticTypeIdentifiers  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ getType()
  
  
      
        
          | virtual const std::string & te::se::Style::getType  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ getVersion()
      
        
          | const std::string & te::se::Style::getVersion  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ push_back() [1/3]
      
        
          | void te::se::Style::push_back  | 
          ( | 
          const std::string &  | 
          semanticTypeIdentifier | ) | 
           | 
        
      
 
 
◆ push_back() [2/3]
      
        
          | void te::se::Style::push_back  | 
          ( | 
          Rule *  | 
          rule | ) | 
           | 
        
      
 
 
◆ push_back() [3/3]
◆ removeRule()
      
        
          | void te::se::Style::removeRule  | 
          ( | 
          std::size_t  | 
          i | ) | 
           | 
        
      
 
 
◆ removeRules()
      
        
          | void te::se::Style::removeRules  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ setDescription()
◆ setName()
      
        
          | void te::se::Style::setName  | 
          ( | 
          std::string *  | 
          name | ) | 
           | 
        
      
 
 
◆ setRule()
      
        
          | void te::se::Style::setRule  | 
          ( | 
          std::size_t  | 
          i,  | 
        
        
           | 
           | 
          Rule *  | 
          rule  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ setVersion()
      
        
          | void te::se::Style::setVersion  | 
          ( | 
          const std::string &  | 
          v | ) | 
           | 
        
      
 
 
◆ m_description
It gives an informative description of the style. (Optional) 
Definition at line 140 of file Style.h.
 
 
◆ m_name
  
  
      
        
          | std::string* te::se::Style::m_name | 
         
       
   | 
  
protected   | 
  
 
It allows the style to be referenced. Names must be unique in the context in which they are defined. (Optional) 
Definition at line 139 of file Style.h.
 
 
◆ m_onlineResources
It refers to an external document. (Mandatory if m_rules is empty, otherwise, it is optional) 
Definition at line 143 of file Style.h.
 
 
◆ m_rules
  
  
      
        
          | std::vector<Rule*> te::se::Style::m_rules | 
         
       
   | 
  
protected   | 
  
 
It allows conditional rendering. (Mandatory if m_onlineResource is empty, otherwise, it is optional) 
Definition at line 142 of file Style.h.
 
 
◆ m_semanticTypeIdentifiers
  
  
      
        
          | std::vector<std::string>* te::se::Style::m_semanticTypeIdentifiers | 
         
       
   | 
  
protected   | 
  
 
The SemanticTypeIdentifier is experimental and is intended to be used to identify what the feature style is suitable to be used for using community-controlled name(s). (Optional) 
Definition at line 141 of file Style.h.
 
 
◆ m_version
  
  
      
        
          | std::string te::se::Style::m_version | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/se/Style.h