vitrio
0.1.4
High-throughput image I/O for Cryo-Electron Microscopy (CryoEM)
Loading...
Searching...
No Matches
vitrio
array
numerical_type.hpp
1
// SPDX-License-Identifier: LGPL-2.1-or-later
2
3
#pragma once
4
5
#include <vitrio/export.hpp>
6
7
#include <cstddef>
8
#include <ostream>
9
10
namespace
vitrio
11
{
12
19
enum class
numerical_type
20
{
21
unknown = -1,
22
23
boolean,
24
25
int8,
26
uint8,
27
int16,
28
uint16,
29
int32,
30
uint32,
31
int64,
32
uint64,
33
34
float16,
35
float32,
36
float64,
37
38
complex_float16,
39
complex_float32,
40
complex_float64
41
};
42
49
VITRIO_API
50
std::size_t get_size(numerical_type type)
noexcept
;
51
59
VITRIO_API
60
const
char
* to_string(numerical_type type)
noexcept
;
61
71
VITRIO_API
72
std::ostream& operator<<(std::ostream &os, numerical_type type);
73
74
}
// namespace vitrio
Generated by
1.9.8