![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This classification operation combines two other TSLAttributeValueOperation instances via an AND statement.
Public Member Functions | |
TSLAttributeValueOperationAnd (const TSLAttributeValueOperation &a, const TSLAttributeValueOperation &b, const TSLRenderingAttributes &rendering=TSLRenderingAttributes(), const char *featureName=NULL) | |
TSLAttributeValueOperationAnd (const TSLAttributeValueOperationAnd &other) | |
Copy constructor. | |
virtual TSLAttributeValueOperation::OperationType | type () const |
virtual TSLSimpleString | operationType () const |
virtual TSLSimpleString | operationValue () const |
virtual bool | operator() (const char *attributeValue) const |
![]() | |
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 | |
![]() | |
enum | OperationType { OperationTypeAnd , OperationTypeElse , OperationTypeEqualTo , OperationTypeGreaterThan , OperationTypeGreaterThanOrEqualTo , OperationTypeLessThan , OperationTypeLessThanOrEqualTo , OperationTypeNot , OperationTypeNotEqualTo , OperationTypeOr } |
![]() | |
enum | ValueType { ValueTypeString , ValueTypeInteger , ValueTypeDouble } |
![]() | |
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 |
TSLAttributeValueOperationAnd::TSLAttributeValueOperationAnd | ( | 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. |
TSLAttributeValueOperationAnd::TSLAttributeValueOperationAnd | ( | const TSLAttributeValueOperationAnd & | 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.