vitrio 0.1.4
High-throughput image I/O for Cryo-Electron Microscopy (CryoEM)
Loading...
Searching...
No Matches
image_scratch.hpp
1// SPDX-License-Identifier: LGPL-2.1-or-later
2
3#pragma once
4
5#include <vitrio/export.hpp>
6
7#include <memory>
8#include <string>
9
10namespace vitrio
11{
12
13class image_scratch_entry;
14
27{
28public:
29 image_scratch() noexcept;
30 image_scratch(const image_scratch &other) = delete;
32 virtual ~image_scratch();
33
34 image_scratch& operator=(const image_scratch &other) = delete;
35 image_scratch& operator=(image_scratch &&other) = delete;
36
47 virtual std::shared_ptr<image_scratch_entry>
48 find(const std::string &key) = 0;
49};
50
51} // namespace vitrio
Copies of image files, kept where they are faster to reach than the files themselves.
Definition image_scratch.hpp:27
virtual std::shared_ptr< image_scratch_entry > find(const std::string &key)=0
Get what is held of a file, to read it and to add to it.
A view of a contiguous sequence of elements.
Definition span.hpp:29