libcopp
2.2.0
|
Data Structures | |
class | print_style |
class | Win32ConsoleColor |
class | TermColor |
class | HtmlColor |
class | NoneColor |
Functions | |
def | cprintf_resolve_auto_mode () |
def | cprintf_set_mode (mode_name="auto") |
def | cprintf_set_theme (theme_name=None) |
def | cprintf_unpack_text (fmt, text) |
def | cprintf_stdout (options, fmt, *text) |
def | cprintf_stderr (options, fmt, *text) |
Variables | |
console_encoding = sys.getfilesystemencoding() | |
string | usage = "usage: %prog [options...] <format message> [format parameters...]" |
parser = OptionParser(usage) | |
action | |
help | |
dest | |
metavar | |
const | |
default | |
options | |
left_args | |
string | print_stream = "stdout" |
list | print_options = [] |
list | fc_list = ["FC_" + x.upper() for x in options.color or []] |
list | bk_list = ["BC_" + y.upper() for y in options.background_color or []] |
def print_color.cprintf_resolve_auto_mode | ( | ) |
Definition at line 238 of file print_color.py.
Referenced by cprintf_set_mode().
def print_color.cprintf_set_mode | ( | mode_name = "auto" | ) |
Definition at line 289 of file print_color.py.
References cprintf_resolve_auto_mode().
Referenced by cprintf_stderr().
def print_color.cprintf_set_theme | ( | theme_name = None | ) |
Definition at line 319 of file print_color.py.
def print_color.cprintf_stderr | ( | options, | |
fmt, | |||
* | text | ||
) |
Definition at line 348 of file print_color.py.
References cprintf_set_mode(), and cprintf_unpack_text().
def print_color.cprintf_stdout | ( | options, | |
fmt, | |||
* | text | ||
) |
Definition at line 342 of file print_color.py.
References cprintf_unpack_text().
def print_color.cprintf_unpack_text | ( | fmt, | |
text | |||
) |
Definition at line 327 of file print_color.py.
Referenced by cprintf_stderr(), and cprintf_stdout().
print_color.action |
Definition at line 366 of file print_color.py.
Referenced by impl::task_impl._set_action(), and task< TCO_MACRO >.create_with_delegate().
list print_color.bk_list = ["BC_" + y.upper() for y in options.background_color or []] |
Definition at line 444 of file print_color.py.
print_color.console_encoding = sys.getfilesystemencoding() |
Definition at line 10 of file print_color.py.
print_color.const |
Definition at line 393 of file print_color.py.
print_color.default |
Definition at line 411 of file print_color.py.
print_color.dest |
Definition at line 368 of file print_color.py.
list print_color.fc_list = ["FC_" + x.upper() for x in options.color or []] |
Definition at line 443 of file print_color.py.
print_color.help |
Definition at line 367 of file print_color.py.
print_color.left_args |
Definition at line 438 of file print_color.py.
print_color.metavar |
Definition at line 376 of file print_color.py.
print_color.options |
Definition at line 438 of file print_color.py.
print_color.parser = OptionParser(usage) |
Definition at line 360 of file print_color.py.
list print_color.print_options = [] |
Definition at line 441 of file print_color.py.
string print_color.print_stream = "stdout" |
Definition at line 440 of file print_color.py.
string print_color.usage = "usage: %prog [options...] <format message> [format parameters...]" |
Definition at line 359 of file print_color.py.