![]() |
MapLink Pro 11.2
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|

A custom application specified classification definition.
Public Member Functions | |
| TSLFeatureClassifierCustom & | operator= (const TSLFeatureClassifierCustom &other) |
| Assignment operator. | |
| bool | operator== (const TSLFeatureClassifierCustom &other) const |
| Equality operator. | |
| virtual TSLFeatureClassifier * | clone () const |
| virtual bool | getClassifiedFeatures (TSLFeature *rootFeature, unsigned int classificationLevel, bool caseSensitive) const |
| virtual bool | classifyFeature (const TSLMUGeometry *geometry, TSLRenderingAttributes &renderingAttribs, TSLSimpleString &childFeatureName) const |
Public Member Functions inherited from TSLFeatureClassifier | |
| void | destroy () |
| Delete this object. | |
| TSLFeatureClassifier::ClassifierType | type () const |
Static Public Member Functions | |
| static TSLFeatureClassifierCustom * | create (TSLClientFeatureClassifierCustom *customHandler) |
| Constructor. | |
Additional Inherited Members | |
Public Types inherited from TSLFeatureClassifier | |
| enum | ClassifierType { ClassifierTypeCategorised , ClassifierTypeGraduated , ClassifierTypeCustom } |
| The type of a classification definition. More... | |
|
virtual |
Query the feature name for a given geometry
| geometry | The geometry to classify |
| renderingAttribs | The given TSLRenderingAttributes object will be set to the rendering attributes (if any) of the feature. Not all classifier definitions can specify rendering attributes. |
| childFeatureName | Returned name of the child feature for this geometry |
Implements TSLFeatureClassifier.
|
virtual |
|
static |
Constructor.
|
virtual |
Process the classification definition and add child features to the hierarchy.
| rootFeature | The top-level feature (TSLFeature) in the hierarchy the sub-classing should be applied to. |
| classificationLevel | The level of this classification, starting at 0. |
| caseSensitive | Whether the identification of existing classifications should be case sensitive or not. |
true if any new features were created, false otherwise. Implements TSLFeatureClassifier.
| TSLFeatureClassifierCustom & TSLFeatureClassifierCustom::operator= | ( | const TSLFeatureClassifierCustom & | other | ) |
Assignment operator.
| bool TSLFeatureClassifierCustom::operator== | ( | const TSLFeatureClassifierCustom & | other | ) | const |
Equality operator.