2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-01-20 15:31:50 +00:00

refactor: add AssetMarker headers to zcg marker template

This commit is contained in:
Jan Laupetin
2026-01-05 16:48:33 +00:00
parent 660f34df69
commit e7f126265d
15 changed files with 141 additions and 265 deletions

View File

@@ -5,7 +5,6 @@
#include "Domain/Evaluation/OperandDynamic.h"
#include "Domain/Evaluation/OperandStatic.h"
#include "Domain/Evaluation/Operation.h"
#include "Generating/OncePerAssetRenderingContext.h"
#include <format>
#include <ostream>
@@ -15,10 +14,12 @@ class BaseTemplate
protected:
static constexpr auto INTENDATION = " ";
BaseTemplate(std::ostream& stream, const OncePerAssetRenderingContext& context);
explicit BaseTemplate(std::ostream& stream);
void DoIntendation() const;
void AddGeneratedHint() const;
static std::string Upper(std::string str);
static std::string Lower(std::string str);
static std::string MakeTypeVarName(const DataDefinition* def);
@@ -37,7 +38,6 @@ protected:
static std::string MakeEvaluation(const IEvaluation* evaluation);
std::ostream& m_out;
const OncePerAssetRenderingContext& m_env;
unsigned m_intendation;
private: