vitrio 0.3.1
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
14
26class VITRIO_API image_scratch
27{
28public:
29 image_scratch() noexcept;
30 image_scratch(const image_scratch &other) = delete;
31 image_scratch(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
What a scratch holds of one image file.
Definition image_scratch_entry.hpp:35
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.