vitrio
0.1.4
High-throughput image I/O for Cryo-Electron Microscopy (CryoEM)
Loading...
Searching...
No Matches
vitrio
image_scratch_storage.hpp
1
// SPDX-License-Identifier: LGPL-2.1-or-later
2
3
#pragma once
4
5
#include <vitrio/byte.hpp>
6
#include <vitrio/export.hpp>
7
8
#include <cstddef>
9
10
namespace
vitrio
11
{
12
23
class
VITRIO_API
image_scratch_storage
24
{
25
public
:
26
image_scratch_storage
()
noexcept
;
27
image_scratch_storage
(
const
image_scratch_storage
&
other
) =
delete
;
28
image_scratch_storage
(
image_scratch_storage
&&
other
) =
delete
;
29
virtual
~image_scratch_storage
();
30
31
image_scratch_storage
&
32
operator=(
const
image_scratch_storage
&
other
) =
delete
;
33
image_scratch_storage
& operator=(
image_scratch_storage
&&
other
) =
delete
;
34
41
virtual
byte
*
get_data
()
noexcept
= 0;
42
49
virtual
const
byte
* get_data()
const
noexcept
= 0;
50
56
virtual
std::
size_t
get_size()
const
noexcept
= 0;
57
};
58
59
}
// namespace vitrio
vitrio::image_scratch_storage
Memory in which a scratch keeps its copies.
Definition
image_scratch_storage.hpp:24
vitrio::image_scratch_storage::get_data
virtual byte * get_data() noexcept=0
Get the block of bytes.
vitrio::span
A view of a contiguous sequence of elements.
Definition
span.hpp:29
Generated by
1.9.8