create_filter

Defined in header: <orcus/format_detection.hpp>

std::shared_ptr<iface::import_filter> orcus::create_filter(format_t type, spreadsheet::iface::import_factory *factory)

Create an instance of import_filter for a specified format.

Parameters:
  • type – Format type to create an instace of import_filter of.

  • factory – Pointer to an import factory instance. It must not be null.

Returns:

Pointer to an instance of import_filter for specified format.