The FeatureTypeStyle defines the styling that is to be applied to a dataset that can be viewed as a feature type. More...
#include <FeatureTypeStyle.h>
Public Types | |
typedef void | ReturnType |
typedef Visitor | VisitorType |
Public Member Functions | |
virtual ReturnType | accept (VisitorType &guest) const =0 |
It call the visit method from the guest object. More... | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
FeatureTypeStyle () | |
It initializes a new FeatureTypeStyle. More... | |
~FeatureTypeStyle () | |
Destructor. More... | |
Accessor methods | |
Methods used to get or set properties. | |
void | setFeatureTypeName (std::string *name) |
const std::string * | getFeatureTypeName () const |
const std::string & | getType () const |
It returns the style type. More... | |
Style * | clone () const |
It creates a new copy of this object. More... | |
Accessor methods | |
Methods used to get or set properties. | |
void | setName (std::string *name) |
const std::string * | getName () const |
void | setDescription (Description *d) |
const Description * | getDescription () const |
void | push_back (const std::string &semanticTypeIdentifier) |
void | push_back (Rule *rule) |
void | push_back (te::xl::SimpleLink *onlineResource) |
const std::string & | getSemanticTypeIdentifier (std::size_t i) |
const std::vector< std::string > * | getSemanticTypeIdentifiers () const |
const std::vector< Rule * > & | getRules () const |
Rule * | getRule (std::size_t i) const |
const std::vector< te::xl::SimpleLink * > & | getOnlineResources () const |
const te::xl::SimpleLink * | getOnlineResource (std::size_t i) const |
void | setVersion (const std::string &v) |
const std::string & | getVersion () const |
Protected Attributes | |
Description * | m_description |
It gives an informative description of the style. (Optional) More... | |
std::string * | m_name |
It allows the style to be referenced. Names must be unique in the context in which they are defined. (Optional) More... | |
std::vector< te::xl::SimpleLink * > | m_onlineResources |
It refers to an external document. (Mandatory if m_rules is empty, otherwise, it is optional) More... | |
std::vector< Rule * > | m_rules |
It allows conditional rendering. (Mandatory if m_onlineResource is empty, otherwise, it is optional) More... | |
std::vector< std::string > * | m_semanticTypeIdentifiers |
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) More... | |
std::string | m_version |
The version is an optional attribute on the FeatureTypeStyle that identifies the SE version number that the FeatureTypeStyle corresponds to. (Optional) More... | |
Private Attributes | |
std::string * | m_featureTypeName |
It identifies the specific feature type that the style is for. (Optional) More... | |
Static Private Attributes | |
static const std::string | sm_type |
A static data member used in the implementation of getType method. More... | |
The FeatureTypeStyle defines the styling that is to be applied to a dataset that can be viewed as a feature type.
Definition at line 45 of file FeatureTypeStyle.h.
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
te::se::FeatureTypeStyle::FeatureTypeStyle | ( | ) |
It initializes a new FeatureTypeStyle.
Definition at line 34 of file FeatureTypeStyle.cpp.
te::se::FeatureTypeStyle::~FeatureTypeStyle | ( | ) |
Destructor.
Definition at line 39 of file FeatureTypeStyle.cpp.
|
pure virtualinherited |
It call the visit method from the guest object.
guest | The guest or visitor. |
|
virtual |
It creates a new copy of this object.
Implements te::se::Style.
Definition at line 60 of file FeatureTypeStyle.cpp.
References te::se::Style::m_onlineResources, te::se::Style::m_rules, te::se::Style::m_semanticTypeIdentifiers, te::se::Style::m_version, te::se::Style::setDescription(), setFeatureTypeName(), and te::se::Style::setName().
|
inherited |
Definition at line 70 of file Style.cpp.
Referenced by CoverageStyleWriter(), and FeatureTypeStyleWriter().
const std::string * te::se::FeatureTypeStyle::getFeatureTypeName | ( | ) | const |
Definition at line 50 of file FeatureTypeStyle.cpp.
Referenced by FeatureTypeStyleWriter().
|
inherited |
Definition at line 59 of file Style.cpp.
Referenced by CoverageStyleWriter(), and FeatureTypeStyleWriter().
|
inherited |
Definition at line 122 of file Style.cpp.
Referenced by CoverageStyleWriter(), and FeatureTypeStyleWriter().
|
inherited |
Definition at line 117 of file Style.cpp.
Referenced by CoverageStyleWriter(), and FeatureTypeStyleWriter().
|
inherited |
Definition at line 105 of file Style.cpp.
Referenced by te::qt::widgets::ChartConfigurer::config(), CoverageStyleWriter(), te::graph::LayerRenderer::draw(), te::map::DrawGeometries(), te::map::QueryLayerRenderer::drawLayerGeometries(), te::map::AbstractLayerRenderer::drawLayerGeometries(), te::map::QueryLayerRenderer::drawLayerGroupingMem(), te::map::AbstractLayerRenderer::drawLayerGroupingMem(), te::map::QueryLayerRenderer::drawLayerLinkedGroupingMem(), te::wms::WMSLayerRenderer::drawRaster(), te::map::DrawRaster(), te::layout::LegendModel::drawStyleLegend(), FeatureTypeStyleWriter(), te::qt::widgets::RasterNavigatorWidget::getCompositionInfo(), te::se::GetRasterSymbolizer(), te::qt::widgets::ReadPixelTool::mouseReleaseEvent(), te::qt::widgets::ROIManagerWidget::onVectorLayerToolButtonClicked(), and te::qt::widgets::ROIManagerWidget::~ROIManagerWidget().
|
inherited |
Definition at line 94 of file Style.cpp.
Referenced by te::qt::widgets::ChartConfigurer::config(), CoverageStyleWriter(), te::graph::LayerRenderer::draw(), te::map::DrawGeometries(), te::map::QueryLayerRenderer::drawLayerGeometries(), te::map::AbstractLayerRenderer::drawLayerGeometries(), te::map::QueryLayerRenderer::drawLayerGroupingMem(), te::map::AbstractLayerRenderer::drawLayerGroupingMem(), te::map::QueryLayerRenderer::drawLayerLinkedGroupingMem(), te::wms::WMSLayerRenderer::drawRaster(), te::map::DrawRaster(), FeatureTypeStyleWriter(), te::qt::widgets::RasterNavigatorWidget::getCompositionInfo(), te::se::GetRasterSymbolizer(), te::vp::LayerItem::LayerItem(), and te::qt::widgets::ReadPixelTool::mouseReleaseEvent().
|
inherited |
|
inherited |
Definition at line 89 of file Style.cpp.
Referenced by CoverageStyleWriter(), and FeatureTypeStyleWriter().
|
virtual |
It returns the style type.
Implements te::se::Style.
Definition at line 55 of file FeatureTypeStyle.cpp.
|
inherited |
Definition at line 133 of file Style.cpp.
Referenced by CoverageStyleWriter(), and FeatureTypeStyleWriter().
|
inherited |
Definition at line 75 of file Style.cpp.
Referenced by te::qt::plugins::terralib4::Convert2TerraLib5(), te::se::CreateCoverageStyle(), and te::se::CreateFeatureTypeStyle().
|
inherited |
|
inherited |
Definition at line 64 of file Style.cpp.
Referenced by clone(), and te::se::CoverageStyle::clone().
void te::se::FeatureTypeStyle::setFeatureTypeName | ( | std::string * | name | ) |
Definition at line 44 of file FeatureTypeStyle.cpp.
Referenced by clone().
|
inherited |
Definition at line 53 of file Style.cpp.
Referenced by clone(), and te::se::CoverageStyle::clone().
|
inherited |
|
protectedinherited |
|
private |
It identifies the specific feature type that the style is for. (Optional)
Definition at line 82 of file FeatureTypeStyle.h.
|
protectedinherited |
It allows the style to be referenced. Names must be unique in the context in which they are defined. (Optional)
Definition at line 133 of file Style.h.
Referenced by te::qt::plugins::terralib4::TL4ConverterWizard::finish().
|
protectedinherited |
It refers to an external document. (Mandatory if m_rules is empty, otherwise, it is optional)
Definition at line 137 of file Style.h.
Referenced by clone(), and te::se::CoverageStyle::clone().
|
protectedinherited |
It allows conditional rendering. (Mandatory if m_onlineResource is empty, otherwise, it is optional)
Definition at line 136 of file Style.h.
Referenced by clone(), and te::se::CoverageStyle::clone().
|
protectedinherited |
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 135 of file Style.h.
Referenced by clone(), and te::se::CoverageStyle::clone().
|
protectedinherited |
The version is an optional attribute on the FeatureTypeStyle that identifies the SE version number that the FeatureTypeStyle corresponds to. (Optional)
Definition at line 138 of file Style.h.
Referenced by clone(), and te::se::CoverageStyle::clone().
|
staticprivate |
A static data member used in the implementation of getType method.
Definition at line 83 of file FeatureTypeStyle.h.