libcwdversion 2.0.0
The C++ Debugging Support Library
Loading...
Searching...
No Matches

Modifying the behavior of a single debug output statement. More...

Typedefs

using libcwd::control_flag_t = unsigned int

Enumerations

enum  libcwd::continued_cf_nt { libcwd::continued_cf }
 continued_cf has its own type for overloading purposes. More...

Functions

control_flag_t libcwd::cond_nonewline_cf (bool cond)
 Returns nonewline_cf if cond is true.
control_flag_t libcwd::cond_noprefix_cf (bool cond)
 Returns noprefix_cf if cond is true.
control_flag_t libcwd::cond_nolabel_cf (bool cond)
 Returns nolabel_cf if cond is true.
control_flag_t libcwd::conf_blank_margin_cf (bool cond)
 Returns blank_margin_cf if cond is true.
control_flag_t libcwd::conf_blank_label_cf (bool cond)
 Returns blank_label_cf if cond is true.
control_flag_t libcwd::conf_blank_marker_cf (bool cond)
 Returns blank_marker_cf if cond is true.
control_flag_t libcwd::conf_cerr_cf (bool cond)
 Returns cerr_cf if cond is true.
control_flag_t libcwd::conf_flush_cf (bool cond)
 Returns flush_cf if cond is true.
control_flag_t libcwd::conf_wait_cf (bool cond)
 Returns wait_cf if cond is true.
control_flag_t libcwd::cond_error_cf (bool cond)
 Returns error_cf if cond is true.

Variables

control_flag_t const libcwd::nonewline_cf = 0x0001
 Omit the default new line at the end.
control_flag_t const libcwd::noprefix_cf = 0x0002
 Omit margin, label, marker and indentation.
control_flag_t const libcwd::nolabel_cf = 0x0004
 Omit label, marker and indentation.
control_flag_t const libcwd::blank_margin_cf = 0x0008
 Replace margin by white space.
control_flag_t const libcwd::blank_label_cf = 0x0010
 Replace label by white space.
control_flag_t const libcwd::blank_marker_cf = 0x0020
 Replace marker by white space.
control_flag_t const libcwd::cerr_cf = 0x0040
 Force output to be written to cerr.
control_flag_t const libcwd::flush_cf = 0x0080
 Flush ostream after writing this output.
control_flag_t const libcwd::wait_cf = 0x0100
 If interactive, wait till return is pressed.
control_flag_t const libcwd::error_cf = 0x0200
 Append error string according to errno.

Detailed Description

The generated API reference documents the control flags that alter the way one debug output statement is written.

Typedef Documentation

◆ control_flag_t

using libcwd::control_flag_t = unsigned int

The type that is used for control flags and control flag mask.

Enumeration Type Documentation

◆ continued_cf_nt

Enumerator
continued_cf 

Start a continued debug output.