vitrio 0.1.4
High-throughput image I/O for Cryo-Electron Microscopy (CryoEM)
Loading...
Searching...
No Matches
image_file_format_registration.hpp
1// SPDX-License-Identifier: LGPL-2.1-or-later
2
3#pragma once
4
5#include <memory>
6
7namespace vitrio
8{
9
22template <typename Format, typename Registry>
24{
25public:
31 explicit image_file_format_registration(Registry &registry);
32
33private:
34 static std::unique_ptr<typename Registry::format_type> create_format();
35};
36
37} // namespace vitrio
38
39#include "image_file_format_registration.inl"
Appends a factory for Format to a registry upon construction.
Definition image_file_format_registration.hpp:24
image_file_format_registration(Registry &registry)
Append a factory for Format to a registry.