Repo created

This commit is contained in:
Fr4nz D13trich 2025-11-22 13:58:55 +01:00
parent 4af19165ec
commit 68073add76
12458 changed files with 12350765 additions and 2 deletions

View file

@ -0,0 +1,43 @@
#pragma once
#include "generator/processor_interface.hpp"
#include "generator/tag_admixer.hpp"
#include "generator/translator.hpp"
#include <memory>
namespace feature
{
struct GenerateInfo;
} // namespace feature
namespace cache
{
class IntermediateData;
} // namespace cache
namespace generator
{
// The TranslatorWorld class implements translator for building the world.
class TranslatorWorld : public Translator
{
public:
explicit TranslatorWorld(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;
IMPLEMENT_TRANSLATOR_IFACE(TranslatorWorld);
void MergeInto(TranslatorWorld & other) const;
protected:
using Translator::Translator;
std::shared_ptr<TagAdmixer> m_tagAdmixer;
std::shared_ptr<TagReplacer> m_tagReplacer;
std::shared_ptr<OsmTagMixer> m_osmTagMixer;
};
} // namespace generator