vitrio 0.1.4
High-throughput image I/O for Cryo-Electron Microscopy (CryoEM)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
vitrio::image_file_format_registration< Format, Registry > Class Template Reference

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 &registry)
 Append a factory for Format to a registry.
 

Detailed Description

template<typename Format, typename Registry>
class vitrio::image_file_format_registration< Format, Registry >

Appends a factory for Format to a registry upon construction.

An instance at namespace scope registers its format during static initialization.

Template Parameters
FormatThe concrete format type. Must be default constructible.
RegistryThe 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.

Constructor & Destructor Documentation

◆ image_file_format_registration()

vitrio::image_file_format_registration< Format, Registry >::image_file_format_registration ( Registry &  registry)
explicit

Append a factory for Format to a registry.

Parameters
registryThe registry to append to.

The documentation for this class was generated from the following file: