![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
The base class for a MapLink classification operation, for use with TSLFeatureClassConfig and TSLFeatureClassifierGraduated classes. It is a virtual base class, and so cannot be used directly.
Its implementation relies on the following derived classes:
Public Member Functions | |
virtual | ~TSLAttributeValueOperation () |
Destructor. | |
virtual TSLAttributeValueOperation::OperationType | type () const =0 |
virtual TSLSimpleString | operationType () const =0 |
virtual TSLSimpleString | operationValue () const =0 |
TSLRenderingAttributes & | rendering () |
const TSLRenderingAttributes & | rendering () const |
const char * | featureName () const |
const char * | operationName () const |
void | setOperationName (const char *pOperationName) |
virtual bool | operator() (const char *attributeValue) const =0 |
const TSLAttributeValueOperation * | operationLHS () const |
const TSLAttributeValueOperation * | operationRHS () const |
Protected Types | |
enum | ValueType { ValueTypeString , ValueTypeInteger , ValueTypeDouble } |
|
protected |
|
virtual |
Destructor.
|
protected |
Constructor.
|
protected |
Constructor.
value | The attribute value to compare against when performing this operation. |
caseSensitive | Whether or not comparisons should be case-sensitive. |
rendering | The rendering to apply to features that match this operation. |
featureName | The name to assign to features that match this operation. If null an automatically generated feature name will be used. |
|
protected |
Constructor.
value | The attribute value to compare against when performing this operation. |
rendering | The rendering to apply to features that match this operation. |
featureName | The name to assign to features that match this operation. If null an automatically generated feature name will be used. |
|
protected |
Constructor.
value | The attribute value to compare against when performing this operation. |
rendering | The rendering to apply to features that match this operation. |
featureName | The name to assign to features that match this operation. If null an automatically generated feature name will be used. |
|
protected |
Copy constructor.
|
protected |
|
protected |
|
protectedpure virtual |
Implemented in TSLAttributeValueOperationAnd, TSLAttributeValueOperationElse, TSLAttributeValueOperationEqualTo, TSLAttributeValueOperationGreaterThan, TSLAttributeValueOperationGreaterThanOrEqualTo, TSLAttributeValueOperationLessThan, TSLAttributeValueOperationLessThanOrEqualTo, TSLAttributeValueOperationNot, TSLAttributeValueOperationNotEqualTo, and TSLAttributeValueOperationOr.
const char * TSLAttributeValueOperation::featureName | ( | ) | const |
Query the feature name for this operation.
If no feature name was specified when the operation was constructed this will return an automatically generated name, based on the type of operation and the value specified.
|
protected |
const TSLAttributeValueOperation * TSLAttributeValueOperation::operationLHS | ( | ) | const |
const char * TSLAttributeValueOperation::operationName | ( | ) | const |
Query the operation name for this operation.
This is a generic identifier for the operation. It is used in the TSLFeatureClassConfig::load() and TSLFeatureClassConfig::save() in the <Name> tag.
For example, the <Name> could be 'Small Pop', <PropertyName> of 'pop' and <Literal> of '50000'.
const TSLAttributeValueOperation * TSLAttributeValueOperation::operationRHS | ( | ) | const |
|
pure virtual |
Return a string describing the operation.
Implemented in TSLAttributeValueOperationAnd, TSLAttributeValueOperationElse, TSLAttributeValueOperationEqualTo, TSLAttributeValueOperationGreaterThan, TSLAttributeValueOperationGreaterThanOrEqualTo, TSLAttributeValueOperationLessThan, TSLAttributeValueOperationLessThanOrEqualTo, TSLAttributeValueOperationNot, TSLAttributeValueOperationNotEqualTo, and TSLAttributeValueOperationOr.
|
pure virtual |
Return a string with the value tested in the operation.
Implemented in TSLAttributeValueOperationAnd, TSLAttributeValueOperationElse, TSLAttributeValueOperationEqualTo, TSLAttributeValueOperationGreaterThan, TSLAttributeValueOperationGreaterThanOrEqualTo, TSLAttributeValueOperationLessThan, TSLAttributeValueOperationLessThanOrEqualTo, TSLAttributeValueOperationNot, TSLAttributeValueOperationNotEqualTo, and TSLAttributeValueOperationOr.
|
pure virtual |
Evaluate the classification operation.
attributeValue | The attribute value to test. |
true
if attributeValue matches this operation, false
otherwise. Implemented in TSLAttributeValueOperationAnd, TSLAttributeValueOperationElse, TSLAttributeValueOperationEqualTo, TSLAttributeValueOperationGreaterThan, TSLAttributeValueOperationGreaterThanOrEqualTo, TSLAttributeValueOperationLessThan, TSLAttributeValueOperationLessThanOrEqualTo, TSLAttributeValueOperationNot, TSLAttributeValueOperationNotEqualTo, and TSLAttributeValueOperationOr.
|
protected |
Assignment operation.
TSLRenderingAttributes & TSLAttributeValueOperation::rendering | ( | ) |
Access the rendering attributes for this operation.
These rendering attributes may be modified.
const TSLRenderingAttributes & TSLAttributeValueOperation::rendering | ( | ) | const |
Query the rendering attributes for this operation.
|
protected |
void TSLAttributeValueOperation::setOperationName | ( | const char * | pOperationName | ) |
Set the operation name for this operation.
pOperationName | The operation name. |
|
pure virtual |
Query the type of the operation
Implemented in TSLAttributeValueOperationAnd, TSLAttributeValueOperationElse, TSLAttributeValueOperationEqualTo, TSLAttributeValueOperationGreaterThan, TSLAttributeValueOperationGreaterThanOrEqualTo, TSLAttributeValueOperationLessThan, TSLAttributeValueOperationLessThanOrEqualTo, TSLAttributeValueOperationNot, TSLAttributeValueOperationNotEqualTo, and TSLAttributeValueOperationOr.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |