|
|
| ContextVariableCondition (const std::string &varName, const std::string &value, FieldCondition::FieldOperator op) |
| |
|
void | SetOperator (Maria::FieldCondition::FieldOperator op) |
| |
|
FieldCondition::FieldOperator | GetOperator () const |
| |
|
void | SetVariable (const std::string &v) |
| |
|
const std::string & | GetVariable () const |
| |
|
void | SetValue (const std::string &v) |
| |
|
const std::string & | GetValue () const |
| |
| bool | IsSatisfied (const Maria::ItemContext &context, const Maria::GenericGeoObjectAdapter &conditionObjectAccessor) override |
| |
| virtual bool | IsSatisfied (const ItemContext &context, const GenericGeoObjectAdapter &conditionObjectAccessor)=0 |
| |
|
virtual std::chrono::seconds | getRefreshInterval () const |
| |
|
virtual void | getMapScaleTransitions (std::set< double > &transitions) const |
| |
|
|
static std::chrono::seconds | InfiniteRefresh () |
| |
◆ IsSatisfied()
Depends true if condition is satisfied, otherwise false
- Parameters
-
| context | Contains system parameters such as geo contest, settings and variables |
| conditionObjectAccessor | Object to test (typically track or draw object) |
- Returns
- true if satisfied, otherwise false
Implements Maria::Condition.
The documentation for this class was generated from the following files:
- Native/MariaNative/MStyleCore/MContextVariableCondition.h
- Native/MariaNative/MStyleCore/MContextVariableCondition.cpp