26 seeded.
add(std::make_unique<YAMLInputFormat>());
27 seeded.
add(std::make_unique<QEInputFormat>());
43 if (!format->recognizes(path))
46 detected = format.get();
57 if (format->claims_working_directory(directory))
An ordered set of interchangeable implementations of Entry, found by name.
void add(std::unique_ptr< Entry > entry)
Add entry; throws std::logic_error when one of its names is already registered.
const InputFormat * detect_input_format(const std::filesystem::path &path)
const InputFormat * format_claiming_directory(const std::filesystem::path &directory)
Registry< InputFormat > & input_format_registry()
The registry every entry point reads input formats from.