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

#include "ui-file.h"

Inheritance diagram for timestamped_file:
wrapped_file ui_file

Public Member Functions

 timestamped_file (ui_file *stream)
 
 DISABLE_COPY_AND_ASSIGN (timestamped_file)
 
void write (const char *buf, long len) override
 
- Public Member Functions inherited from wrapped_file
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
 
virtual void puts (const char *str)
 
virtual long read (char *buf, long length_buf)
 

Private Attributes

bool m_needs_timestamp = true
 

Additional Inherited Members

- Protected Member Functions inherited from wrapped_file
 wrapped_file (ui_file *stream)
 
- Protected Attributes inherited from wrapped_file
ui_filem_stream
 
- Protected Attributes inherited from ui_file
ui_file_style m_applied_style
 

Detailed Description

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

Constructor & Destructor Documentation

◆ timestamped_file()

timestamped_file::timestamped_file ( ui_file * stream)
inlineexplicit

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

Member Function Documentation

◆ DISABLE_COPY_AND_ASSIGN()

timestamped_file::DISABLE_COPY_AND_ASSIGN ( timestamped_file )

◆ write()

void timestamped_file::write ( const char * buf,
long len )
overridevirtual

Member Data Documentation

◆ m_needs_timestamp

bool timestamped_file::m_needs_timestamp = true
private

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

Referenced by write().


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