Returns true, if the tag value of the given is one of the given values.
More...
#include <Tag.h>
Returns true, if the tag value of the given is one of the given values.
◆ TagIsInCondition()
| osmscout::TagIsInCondition::TagIsInCondition |
( |
TagId |
tag | ) |
|
|
explicit |
◆ AddTagValue()
| void osmscout::TagIsInCondition::AddTagValue |
( |
const std::string & |
tagValue | ) |
|
◆ CollectTagKeys()
| void osmscout::TagIsInCondition::CollectTagKeys |
( |
std::vector< TagId > & |
keys, |
|
|
bool & |
guaranteed |
|
) |
| const |
|
inlineoverridevirtual |
Collects the tag keys that act as primary discriminators for this condition.
If 'guaranteed' is true, at least one of the returned keys is guaranteed to be present in the tag map whenever this condition evaluates to true, i.e. the condition can only match objects that carry one of these keys. If 'guaranteed' is false, the condition may evaluate to true even if none of the returned keys is present (e.g. conditions containing negation) and the caller has to always evaluate the condition.
Implements osmscout::TagCondition.
◆ Evaluate()
| bool osmscout::TagIsInCondition::Evaluate |
( |
const TagMap & |
tagMap | ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files: