|
vitrio 0.1.4
High-throughput image I/O for Cryo-Electron Microscopy (CryoEM)
|
Appends a factory for Format to a registry upon construction.
More...
#include <vitrio/image_file_format_registration.hpp>
Public Member Functions | |
| image_file_format_registration (Registry ®istry) | |
Append a factory for Format to a registry. | |
Appends a factory for Format to a registry upon construction.
An instance at namespace scope registers its format during static initialization.
| Format | The concrete format type. Must be default constructible. |
| Registry | The registry to append to, which decides whether the format is registered for reading or for writing. Any type that names its format interface as format_type and takes a factory of it through add. |
|
explicit |
Append a factory for Format to a registry.
| registry | The registry to append to. |