From de842630138b198bc80dfd50d221df86a0139a35 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Mon, 2 Feb 2026 18:55:50 +0100 Subject: Adding work on abstract and vtk --- lib/core/c++/abstract/data.hpp | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 lib/core/c++/abstract/data.hpp (limited to 'lib/core/c++/abstract/data.hpp') diff --git a/lib/core/c++/abstract/data.hpp b/lib/core/c++/abstract/data.hpp new file mode 100644 index 0000000..e8f1757 --- /dev/null +++ b/lib/core/c++/abstract/data.hpp @@ -0,0 +1,31 @@ +#pragma once + +#include "templates.hpp" + +namespace kel { +namespace sch { +struct UnsignedInteger {}; +struct SignedInteger {}; +struct FloatingPoint {}; + +template +struct MixedPrecision { + using StorageType = StorageT; + using InterfaceType = InterfaceT; +}; + +template +struct Primitive { + using PrimitiveType = PrimType; + static constexpr uint64_t Bytes = N; +}; + +template +struct Array { + using InnerType = T; + static constexpr std::array Dimensions{Dims...}; +}; + + +} +} -- cgit v1.2.3