Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
CodeGenerator.h
Go to the documentation of this file.
1#ifndef CODE_GENERATOR_H
2#define CODE_GENERATOR_H
3
4#include <memory>
5
6#include "TemplateManager.h"
7
26public:
32 CodeGenerator(std::unique_ptr<TemplateManagerBase> manager);
33
42 void generate(const std::string& templateName, const std::string& outputPath);
43
44private:
45 std::unique_ptr<TemplateManagerBase> templateManager;
46};
47
48#endif // CODE_GENERATOR_H
Declares managers for generating (numeric and non-numeric) model templates.
A class that generates code using a template manager.
void generate(const std::string &templateName, const std::string &outputPath)
Generates a code file based on a specified template.