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

#include "ui-file.h"

Inheritance diagram for null_file:
ui_file

Public Member Functions

void write (const char *buf, long length_buf) override
 
void write_async_safe (const char *buf, long sizeof_buf) override
 
void puts (const char *str) 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 long read (char *buf, long length_buf)
 
virtual bool isatty ()
 
virtual bool term_out ()
 
virtual bool can_emit_style_escape ()
 
virtual void flush ()
 
virtual int fd () const
 
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)
 

Additional Inherited Members

- Protected Attributes inherited from ui_file
ui_file_style m_applied_style
 

Detailed Description

Definition at line 154 of file ui-file.h.

Member Function Documentation

◆ puts()

void null_file::puts ( const char * str)
overridevirtual

Reimplemented from ui_file.

Definition at line 171 of file ui-file.c.

◆ write()

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

Implements ui_file.

Definition at line 165 of file ui-file.c.

Referenced by gdb._GdbFile::writelines().

◆ write_async_safe()

void null_file::write_async_safe ( const char * buf,
long sizeof_buf )
overridevirtual

Reimplemented from ui_file.

Definition at line 177 of file ui-file.c.


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