vitrio 0.3.1
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
16
25class VITRIO_API detector_event_timeline_file_read_format
26{
27public:
28 detector_event_timeline_file_read_format() noexcept;
29 detector_event_timeline_file_read_format(
30 const detector_event_timeline_file_read_format &other
31 ) = delete;
32 detector_event_timeline_file_read_format(
33 detector_event_timeline_file_read_format &&other
34 ) = delete;
35 virtual ~detector_event_timeline_file_read_format();
36
37 detector_event_timeline_file_read_format& operator=(
38 const detector_event_timeline_file_read_format &other
39 ) = delete;
40 detector_event_timeline_file_read_format& operator=(
41 detector_event_timeline_file_read_format &&other
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
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:33