18 #ifndef LIBCWD_CONTROL_FLAG_H 19 #define LIBCWD_CONTROL_FLAG_H 21 #ifndef LIBCWD_CONFIG_H 65 control_flag_t
const continued_cf_maskbit = 0x0400;
66 control_flag_t
const continued_expected_maskbit = 0x0800;
69 control_flag_t
const fatal_maskbit = 0x1000;
70 control_flag_t
const coredump_maskbit = 0x2000;
71 control_flag_t
const continued_maskbit = 0x4000;
72 control_flag_t
const finish_maskbit = 0x8000;
92 #endif // LIBCWD_CONTROL_FLAG_H control_flag_t const nonewline_cf
Omit the default new line at the end.
Definition: control_flag.h:35
control_flag_t const flush_cf
Flush ostream after writing this output.
Definition: control_flag.h:56
control_flag_t const blank_margin_cf
Replace margin by white space.
Definition: control_flag.h:44
control_flag_t const blank_marker_cf
Replace marker by white space.
Definition: control_flag.h:50
control_flag_t cond_nolabel_cf(bool cond)
Returns nolabel_cf when cond is true.
Definition: control_flag.h:84
continued_cf_nt
continued_cf has its own type for overloading purposes.
Definition: control_flag.h:75
control_flag_t const blank_label_cf
Replace label by white space.
Definition: control_flag.h:47
Start a continued debug output.
Definition: control_flag.h:76
namespace for libcwd.
Definition: debug.cc:87
control_flag_t cond_noprefix_cf(bool cond)
Returns noprefix_cf when cond is true.
Definition: control_flag.h:82
control_flag_t const wait_cf
If interactive, wait till return is pressed.
Definition: control_flag.h:59
control_flag_t cond_nonewline_cf(bool cond)
Returns nonewline_cf when cond is true.
Definition: control_flag.h:80
control_flag_t const nolabel_cf
Omit label, marker and indentation.
Definition: control_flag.h:41
control_flag_t const cerr_cf
Force output to be written to cerr.
Definition: control_flag.h:53
control_flag_t const error_cf
Append error string according to errno.
Definition: control_flag.h:62
control_flag_t cond_error_cf(bool err)
Returns error_cf when cond is true.
Definition: control_flag.h:86
unsigned int control_flag_t
Definition: control_flag.h:31
control_flag_t const noprefix_cf
Omit margin, label, marker and indentation.
Definition: control_flag.h:38