|
SeqAn3 3.4.0-rc.4
The Modern C++ library for sequence analysis.
|
The format that contains all helper functions needed in all formats. More...
#include <seqan3/argument_parser/detail/format_base.hpp>
Inheritance diagram for seqan3::detail::format_base:Protected Member Functions | |
| std::string | escape_special_xml_chars (std::string const &original) |
| Escapes certain characters for correct output. | |
Static Protected Member Functions | |
| static std::string | expand_multiple_flags (std::string const &flag_cluster) |
| Expands multiple one character flag identifiers for pretty help output. | |
| template<detail::is_container_option container_type> | |
| static std::string | get_type_name_as_string (container_type const &) |
Returns the value_type of the input container as a string (reflection). | |
| template<typename value_type > | |
| static std::string | get_type_name_as_string (value_type const &) |
| Returns the input type as a string (reflection). | |
| template<detail::is_container_option container_type> | |
| static std::string | option_type_and_list_info (container_type const &container) |
| Formats the container and its value_type for the help page printing. | |
| template<typename option_value_type > | |
| static std::string | option_type_and_list_info (option_value_type const &value) |
| Formats the type of a value for the help page printing. | |
| static std::string | prep_id_for_help (char const short_id, std::string const &long_id) |
| Formats the option/flag identifier pair for the help page printing. | |
The format that contains all helper functions needed in all formats.
|
inlineprotected |
Escapes certain characters for correct output.
| [in] | original | The string containing characters to be escaped. |
Special characters considered are ", \, &, < and >.
|
inlinestaticprotected |
Expands multiple one character flag identifiers for pretty help output.
| [in] | flag_cluster | The string of one character flags. |
e.g. "-agdg" becomes "-a, -g, -d and -g".
|
inlinestaticprotected |
Returns the value_type of the input container as a string (reflection).
| container_type | The container type for which to query it's value_type. |
|
inlinestaticprotected |
Returns the input type as a string (reflection).
| value_type | The type whose name is converted std::string. |
|
inlinestaticprotected |
Formats the container and its value_type for the help page printing.
| container_type | A type that must satisfy the seqan3::detail::is_container_option. |
| [in] | container | The container to deduct the type from. |
|
inlinestaticprotected |
Formats the type of a value for the help page printing.
| option_value_type | The type of the option value to get the info for. |
| [in] | value | The value to deduct the type from. |
|
inlinestaticprotected |
Formats the option/flag identifier pair for the help page printing.
| [in] | short_id | The short identifier of the option/flag. |
| [in] | long_id | The long identifier of the option/flag. |
e.g. "-i,--integer", "-i", or "--integer".