aboutsummaryrefslogtreecommitdiff
path: root/src/openvic/dataloader/Dataloader.hpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2023-07-20 22:33:38 +0200
committer GitHub <noreply@github.com>2023-07-20 22:33:38 +0200
commit420c2dce47e74c01ff46be991058d543e0c70a6b (patch)
tree2fced5640d983144fab9fa982f598203d84887b6 /src/openvic/dataloader/Dataloader.hpp
parent9efd6de04c528587ffe1a05c7ecc9770c4d93f62 (diff)
parent741cfe452156f7c6365d1a66b6228e15ef660bf6 (diff)
Merge pull request #7 from OpenVicProject/dataloading-skeleton
Dataloading Skeleton
Diffstat (limited to 'src/openvic/dataloader/Dataloader.hpp')
-rw-r--r--src/openvic/dataloader/Dataloader.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/openvic/dataloader/Dataloader.hpp b/src/openvic/dataloader/Dataloader.hpp
new file mode 100644
index 0000000..062f3d5
--- /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_COMPATIBILITY
+ };
+
+ static bool loadDir(std::filesystem::path p, Simulation& sim, LoadingMode loadMode = LoadingMode::DL_COMPATIBILITY) {
+ return true;
+ }
+ };
+} \ No newline at end of file