libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout::TagBoolCondition Class Reference

Allows a boolean and/or condition between a number of child conditions. More...

#include <Tag.h>

+ Inheritance diagram for osmscout::TagBoolCondition:

Public Types

enum  Type { boolAnd, boolOr }
 

Public Member Functions

void AddCondition (const TagConditionRef &condition)
 
bool Evaluate (const TagMap &tagMap) const
 
 TagBoolCondition (Type type)
 
- Public Member Functions inherited from osmscout::TagCondition
virtual ~TagCondition ()
 

Detailed Description

Allows a boolean and/or condition between a number of child conditions.

Member Enumeration Documentation

Enumerator
boolAnd 
boolOr 

Constructor & Destructor Documentation

osmscout::TagBoolCondition::TagBoolCondition ( Type  type)

Member Function Documentation

void osmscout::TagBoolCondition::AddCondition ( const TagConditionRef condition)
bool osmscout::TagBoolCondition::Evaluate ( const TagMap tagMap) const
virtual

Implements osmscout::TagCondition.

References boolAnd, and boolOr.


The documentation for this class was generated from the following files: