vitrio 0.1.4
High-throughput image I/O for Cryo-Electron Microscopy (CryoEM)
Loading...
Searching...
No Matches
detector_event_timeline_file_read_format.hpp
1// SPDX-License-Identifier: LGPL-2.1-or-later
2
3#pragma once
4
5#include <vitrio/detector_event_timeline_reader.hpp>
6#include <vitrio/export.hpp>
7#include <vitrio/image_file_format_suitability.hpp>
8
9#include <memory>
10#include <string>
11
12namespace vitrio
13{
14
15class image_file_probe;
16
26{
27public:
31 ) = delete;
34 ) = delete;
36
39 ) = delete;
42 ) = delete;
43
49 virtual std::string get_name() const = 0;
50
65 virtual image_file_format_suitability
66 get_suitability(const image_file_probe &probe) const = 0;
67
80 virtual std::shared_ptr<detector_event_timeline_reader> open(
81 const image_file_probe &probe
82 ) const = 0;
83};
84
85} // namespace vitrio
The ability of one file format of detector events to be read.
Definition detector_event_timeline_file_read_format.hpp:26
virtual image_file_format_suitability get_suitability(const image_file_probe &probe) const =0
Report how well this format fits a file.
virtual std::shared_ptr< detector_event_timeline_reader > open(const image_file_probe &probe) const =0
Open a file for reading.
virtual std::string get_name() const =0
Get the name of this format.
Inmutable brief representation of a file.
Definition image_file_probe.hpp:28