Files
comaps/generator/translator_complex.hpp
Konstantin Pastbin e3e4a1985a Organic Maps sources as of 02.04.2025 (fad26bbf22ac3da75e01e62aa01e5c8e11861005)
To expand with full Organic Maps and Maps.ME commits history run:
  git remote add om-historic [om-historic.git repo url]
  git fetch --tags om-historic
  git replace squashed-history historic-commits
2025-05-08 21:10:51 +07:00

41 lines
1.1 KiB
C++

#pragma once
#include "generator/filter_interface.hpp"
#include "generator/hierarchy.hpp"
#include "generator/processor_interface.hpp"
#include "generator/tag_admixer.hpp"
#include "generator/translator.hpp"
#include <memory>
#include <string>
namespace cache
{
class IntermediateData;
} // namespace cache
namespace generator
{
// The TranslatorComplex class implements translator for building complexes.
class TranslatorComplex : public Translator
{
public:
explicit TranslatorComplex(std::shared_ptr<FeatureProcessorInterface> const & processor,
std::shared_ptr<cache::IntermediateData> const & cache,
feature::GenerateInfo const & info);
// TranslatorInterface overrides:
void Preprocess(OsmElement & element) override;
std::shared_ptr<TranslatorInterface> Clone() const override;
void Merge(TranslatorInterface const & other) override;
void MergeInto(TranslatorComplex & other) const override;
protected:
using Translator::Translator;
std::shared_ptr<TagReplacer> m_tagReplacer;
};
} // namespace generator