Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
CodeGenerator.cpp
Go to the documentation of this file.
1#include "CodeGenerator.h"
2
3CodeGenerator::CodeGenerator(std::unique_ptr<TemplateManagerBase> manager) : templateManager(std::move(manager)) {}
4
5void CodeGenerator::generate(const std::string& templateName, const std::string& outputPath) {
6 templateManager->generateTemplate(templateName, outputPath);
7}
Definition of the CodeGenerator class.
void generate(const std::string &templateName, const std::string &outputPath)
Generates a code file based on a specified template.
CodeGenerator(std::unique_ptr< TemplateManagerBase > manager)
Constructs a CodeGenerator with a unique TemplateManagerBase instance.
Hash specialization for SymbolId<Tag>.
Definition BlockName.h:353