to_dump_format_enum

Defined in header: <orcus/types.hpp>

dump_format_t orcus::to_dump_format_enum(std::string_view s)

Parse a string that represents an output format type and convert it to a corresponding enum value.

Parameters:

s – string representing an output format type.

Returns:

enum value representing a character set, or character_set_t::unknown in case it cannot be determined.