Welcome to mirror list, hosted at ThFree Co, Russian Federation.

relation_tags_enricher.hpp « generator - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 04bc8bac4b4e2f1e4b7b662642d4e62ccf30ff95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#pragma once

#include "generator/relation_tags.hpp"

struct OsmElement;

namespace generator
{
namespace cache
{
class IntermediateDataReader;
}  // namespace cache

// Class RelationTagsEnricher enriches relation element tags.
class RelationTagsEnricher
{
public:
  explicit RelationTagsEnricher(cache::IntermediateDataReader & cache);
  void operator()(OsmElement & p);

private:
  cache::IntermediateDataReader & m_cache;
  RelationTagsNode m_nodeRelations;
  RelationTagsWay m_wayRelations;
};
}  // namespace generator