![]() |
MapLink Pro 11.2
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This classification operation combines two other TSLAttributeValueOperation instances via an OR statement. More...

This classification operation combines two other TSLAttributeValueOperation instances via an OR statement.
Public Member Functions | |
| TSLAttributeValueOperationOr (const TSLAttributeValueOperation &a, const TSLAttributeValueOperation &b, const TSLRenderingAttributes &rendering=TSLRenderingAttributes(), const char *featureName=NULL) | |
| TSLAttributeValueOperationOr (const TSLAttributeValueOperationOr &other) | |
| Copy constructor. | |
| virtual TSLAttributeValueOperation::OperationType | type () const |
| virtual TSLSimpleString | operationType () const |
| virtual TSLSimpleString | operationValue () const |
| virtual bool | operator() (const char *attributeValue) const |
Public Member Functions inherited from TSLAttributeValueOperation | |
| virtual | ~TSLAttributeValueOperation () |
| Destructor. | |
| TSLRenderingAttributes & | rendering () |
| const TSLRenderingAttributes & | rendering () const |
| const char * | featureName () const |
| const char * | operationName () const |
| void | setOperationName (const char *pOperationName) |
| const TSLAttributeValueOperation * | operationLHS () const |
| const TSLAttributeValueOperation * | operationRHS () const |
Additional Inherited Members | |
Public Types inherited from TSLAttributeValueOperation | |
| enum | OperationType { OperationTypeAnd , OperationTypeElse , OperationTypeEqualTo , OperationTypeGreaterThan , OperationTypeGreaterThanOrEqualTo , OperationTypeLessThan , OperationTypeLessThanOrEqualTo , OperationTypeNot , OperationTypeNotEqualTo , OperationTypeOr } |
Protected Types inherited from TSLAttributeValueOperation | |
| enum | ValueType { ValueTypeString , ValueTypeInteger , ValueTypeDouble } |
Protected Attributes inherited from TSLAttributeValueOperation | |
| ValueType | m_valueType |
| TSLSimpleString | m_value_s |
| ValueType | m_value_s_also_n |
| TSLSimpleString | m_value_us |
| int | m_value_i |
| double | m_value_d |
| TSLSimpleString | m_operationName |
| TSLSimpleString | m_featureName |
| bool | m_caseSensitive |
| TSLRenderingAttributes | m_renderingAttributes |
| TSLAttributeValueOperation * | m_a |
| TSLAttributeValueOperation * | m_b |
| TSLAttributeValueOperationOr::TSLAttributeValueOperationOr | ( | const TSLAttributeValueOperation & | a, |
| const TSLAttributeValueOperation & | b, | ||
| const TSLRenderingAttributes & | rendering = TSLRenderingAttributes(), | ||
| const char * | featureName = NULL ) |
Constructor.
| a | The first TSLAttributeValueOperation to evaluate. |
| b | The second TSLAttributeValueOperation to evaluate. |
| 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. |
| TSLAttributeValueOperationOr::TSLAttributeValueOperationOr | ( | const TSLAttributeValueOperationOr & | other | ) |
Copy constructor.
|
protectedvirtual |
Implements TSLAttributeValueOperation.
|
virtual |
Return a string describing the operation.
Implements TSLAttributeValueOperation.
|
virtual |
Return a string with the value tested in the operation.
Implements TSLAttributeValueOperation.
|
virtual |
Evaluate the classification operation.
| attributeValue | The attribute value to test. |
true if attributeValue matches this operation, false otherwise. Implements TSLAttributeValueOperation.
|
virtual |
Query the type of the operation
Implements TSLAttributeValueOperation.