aboutsummaryrefslogtreecommitdiff
path: root/src/openvic
diff options
context:
space:
mode:
author ClarkeCode <clarke.john.robert@gmail.com>2023-06-14 05:36:50 +0200
committer ClarkeCode <clarke.john.robert@gmail.com>2023-06-14 06:17:33 +0200
commit5433008d163e7e85cd7ee668e769c649e318f491 (patch)
tree882da720d16e1b26ec6577beda5d8d54bd40c235 /src/openvic
parent8710cb9b7967de2201b5c440593aab2df310f33d (diff)
Dataloading skeleton
Diffstat (limited to 'src/openvic')
-rw-r--r--src/openvic/Simulation.hpp5
-rw-r--r--src/openvic/dataloader/Dataloader.hpp16
2 files changed, 21 insertions, 0 deletions
diff --git a/src/openvic/Simulation.hpp b/src/openvic/Simulation.hpp
new file mode 100644
index 0000000..b0c2a19
--- /dev/null
+++ b/src/openvic/Simulation.hpp
@@ -0,0 +1,5 @@
+#pragma once
+
+namespace OpenVic {
+ class Simulation {};
+} \ No newline at end of file
diff --git a/src/openvic/dataloader/Dataloader.hpp b/src/openvic/dataloader/Dataloader.hpp
new file mode 100644
index 0000000..250d100
--- /dev/null
+++ b/src/openvic/dataloader/Dataloader.hpp
@@ -0,0 +1,16 @@
+#pragma once
+#include <filesystem>
+#include "../Simulation.hpp"
+
+namespace OpenVic {
+ class Dataloader {
+ public:
+ enum class LoadingMode {
+ DL_COMPATABILITY
+ };
+
+ static bool loadDir(std::filesystem::path p, Simulation& sim, LoadingMode loadMode = LoadingMode::DL_COMPATABILITY) {
+ return true;
+ }
+ };
+} \ No newline at end of file