Comma-separated values (CSV)

class orcus_csv : public orcus::iface::import_filter

Public Functions

orcus_csv() = delete
orcus_csv(const orcus_csv&) = delete
orcus_csv &operator=(const orcus_csv&) = delete
orcus_csv(spreadsheet::iface::import_factory *factory)
~orcus_csv()
virtual void read_file(std::string_view filepath) override

Read the content of a file.

Parameters:

filepath – path to a local file. It must be a system path.

virtual void read_stream(std::string_view stream) override

Read the content of an in-memory stream.

Parameters:

stream – in-memory stream to read from.

virtual std::string_view get_name() const override

Get the name of a filter.

Returns:

name of a filter.