aboutsummaryrefslogtreecommitdiff
path: root/source/20-codegen-compiler/CodegenModelArchive.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/20-codegen-compiler/CodegenModelArchive.hpp')
-rw-r--r--source/20-codegen-compiler/CodegenModelArchive.hpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/source/20-codegen-compiler/CodegenModelArchive.hpp b/source/20-codegen-compiler/CodegenModelArchive.hpp
deleted file mode 100644
index e67f4d9..0000000
--- a/source/20-codegen-compiler/CodegenModelArchive.hpp
+++ /dev/null
@@ -1,31 +0,0 @@
-#pragma once
-
-#include "CodegenDecl.hpp"
-#include "CodegenModel.hpp"
-
-#include <sqlite3.h>
-#include <cstdint>
-#include <string_view>
-
-class CodegenModelArchive {
-private:
- class Private;
- Private* m;
-
-public:
- CodegenModelArchive(std::string_view dbPath);
- ~CodegenModelArchive();
-
- // Implementation detail helper, don't use outside
- Private& GetPimpl() const { return *m; }
-
- void DeleteDeclsRelatedToFile(std::string_view filename);
-
- void Store(const CodegenModel& model);
- void LoadInto(CodegenModel& model) const;
- CodegenModel Load() const;
-
- void StoreStruct(const DeclStruct& decl);
- void StoreFunction(const DeclFunction& decl);
- void StoreEnum(const DeclEnum& decl);
-};