Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
40
generator/translator_complex.hpp
Normal file
40
generator/translator_complex.hpp
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
#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
|
||||
Loading…
Add table
Add a link
Reference in a new issue