|
GDB (xrefs)
|
#include "mi-out.h"
Public Member Functions | |
| mi_ui_out (int mi_version) | |
| virtual | ~mi_ui_out () |
| void | rewind () |
| void | put (struct ui_file *stream) |
| int | version () |
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_header (int width, ui_align align, const std::string &col_name, const std::string &col_hdr) override |
| virtual void | do_table_end () 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 |
| virtual bool | do_is_mi_like_p () override |
Private Member Functions | |
| void | field_separator () |
| void | open (const char *name, ui_out_type type) |
| void | close (ui_out_type type) |
| string_file * | main_stream () |
Private Attributes | |
| bool | m_suppress_field_separator |
| bool | m_suppress_output |
| int | m_mi_version |
| std::vector< ui_file * > | m_streams |
|
explicit |
|
private |
Definition at line 218 of file mi-out.c.
References _, fputc_unfiltered(), internal_error(), m_streams, m_suppress_field_separator, ui_out_type_list, and ui_out_type_tuple.
Referenced by do_end(), do_table_body(), do_table_end(), and do_table_header().
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Reimplemented from ui_out.
Definition at line 130 of file mi-out.c.
References field_separator(), fprintf_unfiltered(), fputs_unfiltered(), m_streams, and vfprintf_unfiltered().
|
overrideprotectedvirtual |
Implements ui_out.
Definition at line 92 of file mi-out.c.
References do_field_string(), and xsnprintf().
Referenced by do_table_begin(), and do_table_header().
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Implements ui_out.
Definition at line 113 of file mi-out.c.
References field_separator(), fprintf_unfiltered(), fputstr_unfiltered(), and m_streams.
Referenced by do_field_int(), and do_table_header().
|
overrideprotectedvirtual |
|
inlineoverrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Implements ui_out.
Definition at line 30 of file mi-out.c.
References do_field_int(), open(), ui_left, ui_out_type_list, and ui_out_type_tuple.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Implements ui_out.
Definition at line 52 of file mi-out.c.
References close(), ui_out_type_list, and ui_out_type_tuple.
|
overrideprotectedvirtual |
Implements ui_out.
Definition at line 61 of file mi-out.c.
References close(), do_field_int(), do_field_string(), open(), ui_center, and ui_out_type_tuple.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
private |
Definition at line 183 of file mi-out.c.
References fputc_unfiltered(), m_streams, and m_suppress_field_separator.
Referenced by do_field_fmt(), do_field_string(), and open().
|
private |
|
private |
Definition at line 192 of file mi-out.c.
References _, field_separator(), fprintf_unfiltered(), fputc_unfiltered(), internal_error(), m_streams, m_suppress_field_separator, name, ui_out_type_list, and ui_out_type_tuple.
Referenced by do_begin(), do_table_begin(), do_table_body(), and do_table_header().
| void mi_ui_out::put | ( | struct ui_file * | stream | ) |
Definition at line 258 of file mi-out.c.
References string_file::clear(), string_file::data(), main_stream(), string_file::size(), and ui_file::write().
Referenced by mi_out_put().
| void mi_ui_out::rewind | ( | ) |
Definition at line 250 of file mi-out.c.
References string_file::clear(), and main_stream().
Referenced by mi_out_rewind().
| int mi_ui_out::version | ( | ) |
|
private |
|
private |
Definition at line 89 of file mi-out.h.
Referenced by close(), do_field_fmt(), do_field_string(), do_flush(), do_redirect(), field_separator(), main_stream(), mi_ui_out(), and open().
|
private |
Definition at line 86 of file mi-out.h.
Referenced by close(), field_separator(), and open().
1.8.14