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

#include "ui-file.h"

Inheritance diagram for wrapped_file:
ui_file pager_file timestamped_file

Public Member Functions

bool isatty () override
 
bool term_out () override
 
bool can_emit_style_escape () override
 
void flush () override
 
void wrap_here (int indent) override
 
void emit_style_escape (const ui_file_style &style) override
 
void reset_style () override
 
int fd () const override
 
void puts_unfiltered (const char *str) override
 
void write_async_safe (const char *buf, long length_buf) 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
 
void virtual void write (const char *buf, long length_buf)=0
 
virtual void puts (const char *str)
 
virtual long read (char *buf, long length_buf)
 

Protected Member Functions

 wrapped_file (ui_file *stream)
 

Protected Attributes

ui_filem_stream
 
- Protected Attributes inherited from ui_file
ui_file_style m_applied_style
 

Detailed Description

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

Constructor & Destructor Documentation

◆ wrapped_file()

wrapped_file::wrapped_file ( ui_file * stream)
inlineexplicitprotected

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

Member Function Documentation

◆ can_emit_style_escape()

bool wrapped_file::can_emit_style_escape ( )
inlineoverridevirtual

Reimplemented from ui_file.

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

References ui_file::can_emit_style_escape(), and m_stream.

Referenced by pager_file::emit_style_escape(), and pager_file::reset_style().

◆ emit_style_escape()

void wrapped_file::emit_style_escape ( const ui_file_style & style)
inlineoverridevirtual

Reimplemented from ui_file.

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

References ui_file::emit_style_escape(), and m_stream.

◆ fd()

int wrapped_file::fd ( ) const
inlineoverridevirtual

Reimplemented from ui_file.

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

References ui_file::fd(), and m_stream.

◆ flush()

void wrapped_file::flush ( )
inlineoverridevirtual

Reimplemented from ui_file.

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

References ui_file::flush(), and m_stream.

◆ isatty()

bool wrapped_file::isatty ( )
inlineoverridevirtual

Reimplemented from ui_file.

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

References ui_file::isatty(), and m_stream.

◆ puts_unfiltered()

void wrapped_file::puts_unfiltered ( const char * str)
inlineoverridevirtual

Reimplemented from ui_file.

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

References m_stream, and ui_file::puts_unfiltered().

◆ reset_style()

void wrapped_file::reset_style ( )
inlineoverridevirtual

Reimplemented from ui_file.

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

References m_stream, and ui_file::reset_style().

◆ term_out()

bool wrapped_file::term_out ( )
inlineoverridevirtual

Reimplemented from ui_file.

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

References m_stream, and ui_file::term_out().

◆ wrap_here()

void wrapped_file::wrap_here ( int indent)
inlineoverridevirtual

Reimplemented from ui_file.

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

References m_stream, and ui_file::wrap_here().

◆ write_async_safe()

void wrapped_file::write_async_safe ( const char * buf,
long length_buf )
inlineoverridevirtual

Reimplemented from ui_file.

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

References m_stream, and ui_file::write_async_safe().

Member Data Documentation

◆ m_stream

ui_file* wrapped_file::m_stream
protected

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