GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
tui_file Class Reference

#include "tui-file.h"

Inheritance diagram for tui_file:
stdio_file ui_file

Public Member Functions

 tui_file (FILE *stream, bool buffered)
 
void write (const char *buf, long length_buf) override
 
void puts (const char *) override
 
void flush () override
 
- Public Member Functions inherited from stdio_file
 stdio_file (FILE *file, bool close_p=false)
 
 stdio_file ()
 
 ~stdio_file () override
 
bool open (const char *name, const char *mode)
 
void write_async_safe (const char *buf, long length_buf) override
 
long read (char *buf, long length_buf) override
 
bool isatty () override
 
bool can_emit_style_escape () override
 
int fd () const override
 
- Public Member Functions inherited from ui_file
 ui_file ()
 
virtual ~ui_file ()=0
 
 ui_file (ui_file &&other)=default
 
void printf (const char *,...) ATTRIBUTE_PRINTF(2
 
void void putstr (const char *str, int quoter)
 
void putstrn (const char *str, int n, int quoter, bool async_safe=false)
 
void putc (int c)
 
void vprintf (const char *, va_list) ATTRIBUTE_PRINTF(2
 
virtual bool term_out ()
 
virtual void wrap_here (int indent)
 
virtual void emit_style_escape (const ui_file_style &style)
 
virtual void reset_style ()
 
virtual void puts_unfiltered (const char *str)
 

Private Attributes

bool m_buffered
 

Additional Inherited Members

- Protected Attributes inherited from ui_file
ui_file_style m_applied_style
 

Detailed Description

Definition at line 26 of file tui-file.h.

Constructor & Destructor Documentation

◆ tui_file()

tui_file::tui_file ( FILE * stream,
bool buffered )
inline

Definition at line 29 of file tui-file.h.

Member Function Documentation

◆ flush()

void tui_file::flush ( )
overridevirtual

Reimplemented from stdio_file.

Definition at line 42 of file tui-file.c.

References stdio_file::flush(), m_buffered, and tui_refresh_cmd_win().

◆ puts()

void tui_file::puts ( const char * linebuffer)
overridevirtual

Reimplemented from stdio_file.

Definition at line 26 of file tui-file.c.

References m_buffered, tui_puts(), and tui_refresh_cmd_win().

◆ write()

void tui_file::write ( const char * buf,
long length_buf )
overridevirtual

Reimplemented from stdio_file.

Definition at line 34 of file tui-file.c.

References m_buffered, tui_refresh_cmd_win(), and tui_write().

Referenced by gdb._GdbFile::writelines().

Member Data Documentation

◆ m_buffered

bool tui_file::m_buffered
private

Definition at line 41 of file tui-file.h.

Referenced by flush(), puts(), and write().


The documentation for this class was generated from the following files: