Maria GDK 4.5.0.137
Documentation of managed code in release branch
|
Base class for condition objects. Condition objects allows conditional system behaviour depending on properties of the system (context parameter) and an object or object collection (conditionObjectAccessor) Typical usage is in conditional track and object styling. Complex, nested conditions can be made using derived classes. More...
Public Member Functions | |
bool | IsSatisfied (IItemContext context, IGenericGeoObjectAdapter conditionObjectAccessor) |
Depends true if condition is satisfied, otherwise false. | |
bool | GetConditionObjectFieldReferences (HashSet< string > target) |
Most conditions depend on some field/value within the object they operate on. | |
ICondition | Clone () |
Creates a clone of condition. Any child-conditions are also cloned. | |
Base class for condition objects. Condition objects allows conditional system behaviour depending on properties of the system (context parameter) and an object or object collection (conditionObjectAccessor) Typical usage is in conditional track and object styling. Complex, nested conditions can be made using derived classes.
ICondition TPG.GeoFramework.Style.Core.Contracts.Condition.ICondition.Clone | ( | ) |
Creates a clone of condition. Any child-conditions are also cloned.
Implemented in TPG.GeoFramework.StyleCore.Condition.AgeCondition, TPG.GeoFramework.StyleCore.Condition.CompositeCondition, TPG.GeoFramework.StyleCore.Condition.ContextStateCondition, TPG.GeoFramework.StyleCore.Condition.ContextVariableCondition, TPG.GeoFramework.StyleCore.Condition.FalseCondition, TPG.GeoFramework.StyleCore.Condition.FieldCondition, TPG.GeoFramework.StyleCore.Condition.GeoCondition, TPG.GeoFramework.StyleCore.Condition.MapScaleCondition, TPG.GeoFramework.StyleCore.Condition.SpeedCondition, TPG.GeoFramework.StyleCore.Condition.TimeValidCondition, TPG.GeoFramework.StyleCore.Condition.TrueCondition, TPG.DrawObjects.Data.Filters.DrawObjectGeoCondition, TPG.GeoFramework.TrackCore.TrackFieldMultiValueCondition, and TPG.GeoFramework.TrackCore.TrackTextSearchQuery.
bool TPG.GeoFramework.Style.Core.Contracts.Condition.ICondition.GetConditionObjectFieldReferences | ( | HashSet< string > | target | ) |
Most conditions depend on some field/value within the object they operate on.
target | All field references of condition and children are placed here |
Implemented in TPG.GeoFramework.StyleCore.Condition.AgeCondition, TPG.GeoFramework.StyleCore.Condition.CompositeCondition, TPG.GeoFramework.StyleCore.Condition.ContextStateCondition, TPG.GeoFramework.StyleCore.Condition.ContextVariableCondition, TPG.GeoFramework.StyleCore.Condition.FalseCondition, TPG.GeoFramework.StyleCore.Condition.FieldCondition, TPG.GeoFramework.StyleCore.Condition.GeoCondition, TPG.GeoFramework.StyleCore.Condition.SpeedCondition, TPG.GeoFramework.StyleCore.Condition.TimeValidCondition, TPG.GeoFramework.StyleCore.Condition.TrueCondition, TPG.DrawObjects.Data.Filters.DrawObjectGeoCondition, TPG.GeoFramework.TrackCore.TrackFieldMultiValueCondition, and TPG.GeoFramework.TrackCore.TrackTextSearchQuery.
bool TPG.GeoFramework.Style.Core.Contracts.Condition.ICondition.IsSatisfied | ( | IItemContext | context, |
IGenericGeoObjectAdapter | conditionObjectAccessor | ||
) |
Depends true if condition is satisfied, otherwise false.
context | Contains system parameters such as geo contest, settings and variables |
conditionObjectAccessor | Object to test (typically track or draw object) |
Implemented in TPG.DrawObjects.Data.Filters.DrawObjectGeoCondition, TPG.GeoFramework.StyleCore.Condition.CompositeCondition, TPG.GeoFramework.StyleCore.Condition.ContextStateCondition, TPG.GeoFramework.StyleCore.Condition.ContextVariableCondition, TPG.GeoFramework.StyleCore.Condition.FieldCondition, TPG.GeoFramework.StyleCore.Condition.GeoCondition, TPG.GeoFramework.StyleCore.Condition.SpeedCondition, TPG.GeoFramework.TrackCore.TrackTextSearchQuery, TPG.GeoFramework.StyleCore.Condition.AgeCondition, TPG.GeoFramework.StyleCore.Condition.FalseCondition, TPG.GeoFramework.StyleCore.Condition.MapScaleCondition, TPG.GeoFramework.StyleCore.Condition.TimeValidCondition, TPG.GeoFramework.StyleCore.Condition.TrueCondition, and TPG.GeoFramework.TrackCore.TrackFieldMultiValueCondition.