GridTools frontend of Serialbox. More...
Classes | |
class | serialbox::gridtools::field_meta_info |
Meta-information of a data field. More... | |
class | serialbox::gridtools::meta_info_map |
Hash-map of meta-information of the form key = value pair or key = {value1, ..., valueN} More... | |
class | serialbox::gridtools::savepoint |
Savepoint implemenation of the gridtools frontend. More... | |
class | serialbox::gridtools::serializer |
Serializer implemenation of the gridtools frontend. More... | |
Typedefs | |
using | serialbox::gridtools::meta_info_value = serialbox::MetainfoValueImpl |
Represent an immutable meta information value as a type-id and type-erased data. More... | |
using | serialbox::gridtools::slice = serialbox::Slice |
Specification of the slice indices which is used for partial loading of serialized data. More... | |
using | serialbox::gridtools::timer = serialbox::Timer |
High resolution timer. More... | |
using | serialbox::gridtools::exception = serialbox::Exception |
Exception class which stores a human-readable error description. More... | |
using | serialbox::gridtools::logging = serialbox::Logging |
Control the logging behaviour. | |
using | serialbox::gridtools::open_mode = serialbox::OpenModeKind |
Policy for opening files in the serializer. | |
GridTools frontend of Serialbox.
Exception class which stores a human-readable error description.
Creates a std::runtime_error
with std::runtime_error::what()
set to the formatted string.
Definition at line 33 of file Exception.h.
using serialbox::gridtools::meta_info_value = typedef serialbox::MetainfoValueImpl |
Represent an immutable meta information value as a type-id and type-erased data.
Definition at line 29 of file MetainfoValue.h.
using serialbox::gridtools::slice = typedef serialbox::Slice |
Specification of the slice indices which is used for partial loading of serialized data.
The syntax follows closely the slicing syntax used in Python, the equivalent of [start1:stop1:step1, ... ,startN:stopN:stepN]
is Slice(start1, stop1, step1) ... (startN, stopN, stepN)
with one notable exception: The full dimension [:]
is represented as Slice(0, -1)
this means [:-1]
corresponds to Slice(0, -2)
.
Consider the follwoing examples:
Python | C++ |
---|---|
[5] | Slice(5, 6) |
[:] | Slice(0, -1, 1) or Slice() |
[0:3, 0:3] | Slice(0, 3)(0, 3) |
[1:10:2] | Slice(1, 10, 2) |
[:, 1:5:2, 1:-2] | Slice()(1, 5, 2)(1, -3) |
using serialbox::gridtools::timer = typedef serialbox::Timer |