|
GDB (xrefs)
|
#include "cli-out.h"
Public Member Functions | |
| cli_ui_out (ui_file *stream, ui_out_flags flags) | |
| virtual | ~cli_ui_out () |
| ui_file * | set_stream (ui_file *stream) |
Public Member Functions inherited from ui_out | |
| ui_out (ui_out_flags flags=0) | |
| virtual | ~ui_out () |
| void | push_level (ui_out_type type) |
| void | pop_level (ui_out_type type) |
| void | table_begin (int nr_cols, int nr_rows, const std::string &tblid) |
| void | table_header (int width, ui_align align, const std::string &col_name, const std::string &col_hdr) |
| void | table_body () |
| void | table_end () |
| void | begin (ui_out_type type, const char *id) |
| void | end (ui_out_type type) |
| void | field_int (const char *fldname, int value) |
| void | field_fmt_int (int width, ui_align align, const char *fldname, int value) |
| void | field_core_addr (const char *fldname, struct gdbarch *gdbarch, CORE_ADDR address) |
| void | field_string (const char *fldname, const char *string) |
| void | field_stream (const char *fldname, string_file &stream) |
| void | field_skip (const char *fldname) |
| void | field_fmt (const char *fldname, const char *format,...) ATTRIBUTE_PRINTF(3 |
| void void | spaces (int numspaces) |
| void | text (const char *string) |
| void | message (const char *format,...) ATTRIBUTE_PRINTF(2 |
| void void | wrap_hint (const char *identstring) |
| void | flush () |
| void | redirect (ui_file *outstream) |
| ui_out_flags | test_flags (ui_out_flags mask) |
| bool | is_mi_like_p () |
| bool | query_table_field (int colno, int *width, int *alignment, const char **col_name) |
Protected Member Functions | |
| virtual void | do_table_begin (int nbrofcols, int nr_rows, const char *tblid) override |
| virtual void | do_table_body () override |
| virtual void | do_table_end () override |
| virtual void | do_table_header (int width, ui_align align, const std::string &col_name, const std::string &col_hdr) override |
| virtual void | do_begin (ui_out_type type, const char *id) override |
| virtual void | do_end (ui_out_type type) override |
| virtual void | do_field_int (int fldno, int width, ui_align align, const char *fldname, int value) override |
| virtual void | do_field_skip (int fldno, int width, ui_align align, const char *fldname) override |
| virtual void | do_field_string (int fldno, int width, ui_align align, const char *fldname, const char *string) override |
| virtual void | do_field_fmt (int fldno, int width, ui_align align, const char *fldname, const char *format, va_list args) override ATTRIBUTE_PRINTF(6 |
| virtual void virtual void | do_spaces (int numspaces) override |
| virtual void | do_text (const char *string) override |
| virtual void | do_message (const char *format, va_list args) override ATTRIBUTE_PRINTF(2 |
| virtual void virtual void | do_wrap_hint (const char *identstring) override |
| virtual void | do_flush () override |
| virtual void | do_redirect (struct ui_file *outstream) override |
| bool | suppress_output () |
Protected Member Functions inherited from ui_out | |
| virtual bool | do_is_mi_like_p () |
Private Member Functions | |
| void | field_separator () |
| void | out_field_fmt (int fldno, const char *fldname, const char *format,...) ATTRIBUTE_PRINTF(4 |
Private Attributes | |
| void std::vector< ui_file * > | m_streams |
| bool | m_suppress_output |
|
explicit |
Definition at line 265 of file cli-out.c.
References gdb_assert, and m_streams.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Reimplemented from ui_out.
Reimplemented in tui_ui_out.
Definition at line 171 of file cli-out.c.
References field_separator(), m_streams, m_suppress_output, ui_noalign, and vfprintf_filtered().
Referenced by tui_ui_out::do_field_fmt().
|
overrideprotectedvirtual |
Implements ui_out.
Reimplemented in tui_ui_out.
Definition at line 94 of file cli-out.c.
References do_field_string(), m_suppress_output, and xsnprintf().
Referenced by tui_ui_out::do_field_int().
|
overrideprotectedvirtual |
Implements ui_out.
Definition at line 110 of file cli-out.c.
References do_field_string(), and m_suppress_output.
|
overrideprotectedvirtual |
Implements ui_out.
Reimplemented in tui_ui_out.
Definition at line 123 of file cli-out.c.
References field_separator(), m_suppress_output, out_field_fmt(), ui_out::spaces(), ui_left, ui_noalign, and ui_right.
Referenced by do_field_int(), do_field_skip(), tui_ui_out::do_field_string(), and do_table_header().
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Reimplemented from ui_out.
Definition at line 203 of file cli-out.c.
References m_streams, m_suppress_output, and vfprintf_unfiltered().
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Implements ui_out.
Definition at line 185 of file cli-out.c.
References m_streams, m_suppress_output, and print_spaces_filtered().
|
overrideprotectedvirtual |
Implements ui_out.
Definition at line 34 of file cli-out.c.
References gdb_assert, and m_suppress_output.
|
overrideprotectedvirtual |
Implements ui_out.
Definition at line 47 of file cli-out.c.
References m_suppress_output, and ui_out::text().
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Implements ui_out.
Definition at line 67 of file cli-out.c.
References do_field_string(), and m_suppress_output.
|
overrideprotectedvirtual |
Implements ui_out.
Reimplemented in tui_ui_out.
Definition at line 194 of file cli-out.c.
References fputs_filtered(), m_streams, and m_suppress_output.
Referenced by tui_ui_out::do_text().
|
overrideprotectedvirtual |
Implements ui_out.
Definition at line 212 of file cli-out.c.
References m_suppress_output, and wrap_here().
|
private |
Definition at line 258 of file cli-out.c.
References fputc_filtered(), and m_streams.
Referenced by do_field_fmt(), and do_field_string().
|
private |
Definition at line 246 of file cli-out.c.
References m_streams, and vfprintf_filtered().
Referenced by do_field_string().
Definition at line 287 of file cli-out.c.
References m_streams.
Referenced by cli_interp::exec(), cli_interp::resume(), and tui_interp::resume().
|
inlineprotected |
Definition at line 65 of file cli-out.h.
References m_suppress_output.
Referenced by tui_ui_out::do_field_fmt(), tui_ui_out::do_field_int(), tui_ui_out::do_field_string(), and tui_ui_out::do_text().
|
private |
Definition at line 72 of file cli-out.h.
Referenced by cli_ui_out(), do_field_fmt(), do_flush(), do_message(), do_redirect(), do_spaces(), do_text(), field_separator(), out_field_fmt(), and set_stream().
|
private |
Definition at line 75 of file cli-out.h.
Referenced by do_field_fmt(), do_field_int(), do_field_skip(), do_field_string(), do_message(), do_spaces(), do_table_begin(), do_table_body(), do_table_end(), do_table_header(), do_text(), do_wrap_hint(), and suppress_output().
1.8.14