clipp::doc_formatting Class Reference
documentation formatting options More...
#include <clipp.h>
Public Types | |
using | string = doc_string |
Public Member Functions | |
doc_formatting & | start_column (int col) |
determines column where documentation printing starts More... | |
int | start_column () const noexcept |
doc_formatting & | doc_column (int col) |
determines column where docstrings start More... | |
int | doc_column () const noexcept |
doc_formatting & | indent_size (int indent) |
determines indent of documentation lines for children of a documented group More... | |
int | indent_size () const noexcept |
doc_formatting & | empty_label (const string &label) |
determines string to be used if a parameter has no flags and no label More... | |
const string & | empty_label () const noexcept |
doc_formatting & | param_separator (const string &sep) |
determines string for separating parameters More... | |
const string & | param_separator () const noexcept |
doc_formatting & | group_separator (const string &sep) |
determines string for separating groups (in usage lines) More... | |
const string & | group_separator () const noexcept |
doc_formatting & | alternative_param_separator (const string &sep) |
determines string for separating alternative parameters More... | |
const string & | alternative_param_separator () const noexcept |
doc_formatting & | alternative_group_separator (const string &sep) |
determines string for separating alternative groups More... | |
const string & | alternative_group_separator () const noexcept |
doc_formatting & | flag_separator (const string &sep) |
determines string for separating flags of the same parameter More... | |
const string & | flag_separator () const noexcept |
doc_formatting & | surround_labels (const string &prefix, const string &postfix) |
determnines strings surrounding parameter labels More... | |
const string & | label_prefix () const noexcept |
const string & | label_postfix () const noexcept |
doc_formatting & | surround_optional (const string &prefix, const string &postfix) |
determnines strings surrounding optional parameters/groups More... | |
const string & | optional_prefix () const noexcept |
const string & | optional_postfix () const noexcept |
doc_formatting & | surround_repeat (const string &prefix, const string &postfix) |
determnines strings surrounding repeatable parameters/groups More... | |
const string & | repeat_prefix () const noexcept |
const string & | repeat_postfix () const noexcept |
doc_formatting & | surround_alternatives (const string &prefix, const string &postfix) |
determnines strings surrounding exclusive groups More... | |
const string & | alternatives_prefix () const noexcept |
const string & | alternatives_postfix () const noexcept |
doc_formatting & | surround_alternative_flags (const string &prefix, const string &postfix) |
determnines strings surrounding alternative flags More... | |
const string & | alternative_flags_prefix () const noexcept |
const string & | alternative_flags_postfix () const noexcept |
doc_formatting & | surround_group (const string &prefix, const string &postfix) |
determnines strings surrounding non-exclusive groups More... | |
const string & | group_prefix () const noexcept |
const string & | group_postfix () const noexcept |
doc_formatting & | surround_joinable (const string &prefix, const string &postfix) |
determnines strings surrounding joinable groups More... | |
const string & | joinable_prefix () const noexcept |
const string & | joinable_postfix () const noexcept |
doc_formatting & | max_flags_per_param_in_doc (int max) |
determines maximum number of flags per parameter to be printed in detailed parameter documentation lines More... | |
int | max_flags_per_param_in_doc () const noexcept |
doc_formatting & | max_flags_per_param_in_usage (int max) |
determines maximum number of flags per parameter to be printed in usage lines More... | |
int | max_flags_per_param_in_usage () const noexcept |
doc_formatting & | line_spacing (int lines) |
determines number of empty rows after one single-line documentation entry More... | |
int | line_spacing () const noexcept |
doc_formatting & | paragraph_spacing (int lines) |
determines number of empty rows before and after a paragraph; a paragraph is defined by a documented group or if a parameter documentation entry used more than one line More... | |
int | paragraph_spacing () const noexcept |
doc_formatting & | merge_alternative_flags_with_common_prefix (bool yes=true) |
determines if alternative flags with a common prefix should be printed in a merged fashion More... | |
bool | merge_alternative_flags_with_common_prefix () const noexcept |
doc_formatting & | merge_joinable_with_common_prefix (bool yes=true) |
determines if joinable flags with a common prefix should be printed in a merged fashion More... | |
bool | merge_joinable_with_common_prefix () const noexcept |
doc_formatting & | split_alternatives (bool yes=true) |
determines if children of exclusive groups should be printed on individual lines if the exceed 'alternatives_min_split_size' More... | |
bool | split_alternatives () const noexcept |
doc_formatting & | alternatives_min_split_size (int size) |
determines how many children exclusive groups can have before their children are printed on individual usage lines More... | |
int | alternatives_min_split_size () const noexcept |
Detailed Description
Member Typedef Documentation
◆ string
Member Function Documentation
◆ alternative_flags_postfix()
|
inlinenoexcept |
◆ alternative_flags_prefix()
|
inlinenoexcept |
◆ alternative_group_separator() [1/2]
|
inlinenoexcept |
◆ alternative_group_separator() [2/2]
|
inline |
◆ alternative_param_separator() [1/2]
|
inlinenoexcept |
◆ alternative_param_separator() [2/2]
|
inline |
◆ alternatives_min_split_size() [1/2]
|
inlinenoexcept |
◆ alternatives_min_split_size() [2/2]
|
inline |
◆ alternatives_postfix()
|
inlinenoexcept |
◆ alternatives_prefix()
|
inlinenoexcept |
◆ doc_column() [1/2]
|
inlinenoexcept |
◆ doc_column() [2/2]
|
inline |
◆ empty_label() [1/2]
|
inlinenoexcept |
◆ empty_label() [2/2]
|
inline |
◆ flag_separator() [1/2]
|
inlinenoexcept |
◆ flag_separator() [2/2]
|
inline |
◆ group_postfix()
|
inlinenoexcept |
◆ group_prefix()
|
inlinenoexcept |
◆ group_separator() [1/2]
|
inlinenoexcept |
◆ group_separator() [2/2]
|
inline |
◆ indent_size() [1/2]
|
inlinenoexcept |
◆ indent_size() [2/2]
|
inline |
◆ joinable_postfix()
|
inlinenoexcept |
◆ joinable_prefix()
|
inlinenoexcept |
◆ label_postfix()
|
inlinenoexcept |
◆ label_prefix()
|
inlinenoexcept |
◆ line_spacing() [1/2]
|
inlinenoexcept |
◆ line_spacing() [2/2]
|
inline |
◆ max_flags_per_param_in_doc() [1/2]
|
inlinenoexcept |
◆ max_flags_per_param_in_doc() [2/2]
|
inline |
◆ max_flags_per_param_in_usage() [1/2]
|
inlinenoexcept |
◆ max_flags_per_param_in_usage() [2/2]
|
inline |
◆ merge_alternative_flags_with_common_prefix() [1/2]
|
inlinenoexcept |
◆ merge_alternative_flags_with_common_prefix() [2/2]
|
inline |
◆ merge_joinable_with_common_prefix() [1/2]
|
inlinenoexcept |
◆ merge_joinable_with_common_prefix() [2/2]
|
inline |
◆ optional_postfix()
|
inlinenoexcept |
◆ optional_prefix()
|
inlinenoexcept |
◆ paragraph_spacing() [1/2]
|
inlinenoexcept |
◆ paragraph_spacing() [2/2]
|
inline |
◆ param_separator() [1/2]
|
inlinenoexcept |
◆ param_separator() [2/2]
|
inline |
◆ repeat_postfix()
|
inlinenoexcept |
◆ repeat_prefix()
|
inlinenoexcept |
◆ split_alternatives() [1/2]
|
inlinenoexcept |
◆ split_alternatives() [2/2]
|
inline |
◆ start_column() [1/2]
|
inlinenoexcept |
◆ start_column() [2/2]
|
inline |
◆ surround_alternative_flags()
|
inline |
◆ surround_alternatives()
|
inline |
◆ surround_group()
|
inline |
◆ surround_joinable()
|
inline |
◆ surround_labels()
|
inline |
◆ surround_optional()
|
inline |
◆ surround_repeat()
|
inline |
The documentation for this class was generated from the following file: