vitrio 0.1.4
High-throughput image I/O for Cryo-Electron Microscopy (CryoEM)
Loading...
Searching...
No Matches
image_transfer_sanitizer.hpp
1// SPDX-License-Identifier: LGPL-2.1-or-later
2
3#pragma once
4
5#include <vitrio/export.hpp>
6#include <vitrio/image_transfer_plan.hpp>
7#include <vitrio/span.hpp>
8
9#include <cstddef>
10#include <vector>
11
12namespace vitrio
13{
14
67
68} // namespace vitrio
The regions to transfer between one file and one array.
Definition image_transfer_plan.hpp:34
Decides what becomes of the regions of a plan that do not fit the file or the array they join.
Definition image_transfer_sanitizer.hpp:30
virtual std::vector< image_transfer_plan > sanitize(const image_transfer_plan &regions, span< const std::size_t > file_extents, span< const std::size_t > array_extents) const =0
Get the plans to transfer in place of a plan.
A view of a contiguous sequence of elements.
Definition span.hpp:29