From 0cf04f2d1ba5ed2a18fe9f3501f363cb3ff76c9f Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Fri, 24 Nov 2023 14:08:08 +0100 Subject: codec-netcdf: Started writing array parts, but realized that there are name issues. --- c++/codec-netcdf/netcdf.tmpl.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'c++/codec-netcdf/netcdf.tmpl.h') diff --git a/c++/codec-netcdf/netcdf.tmpl.h b/c++/codec-netcdf/netcdf.tmpl.h index 00bfbf4..bf257e4 100644 --- a/c++/codec-netcdf/netcdf.tmpl.h +++ b/c++/codec-netcdf/netcdf.tmpl.h @@ -75,6 +75,27 @@ struct netcdf_encode, ToEncode> { } }; +template +struct netcdf_encode, ToEncode> { + using Schema = schema::Array; + + template + static error_or encode_level(data& from, int ncid, int ncvarid){ + + return make_error(); + } + + static error_or encode(data& from, int ncid, int ncvarid){ + + return make_error(); + } + + static error_or encode_meta(const data& from, int ncid, int ncvarid){ + + return make_error(); + } +}; + template struct netcdf_encode...>, ToEncode> { using Schema = schema::Struct...>; -- cgit v1.2.3