API Documentation
Loading...
Searching...
No Matches
AsciiFileOutputStream Class Referencefinal

A LogStream that attached to a log, writes messages directly to a specified ascii file. More...

#include <AsciiFileOutputStream.h>

Inheritance diagram for AsciiFileOutputStream:
[legend]
Collaboration diagram for AsciiFileOutputStream:
[legend]

Public Member Functions

void addMessage (const LogMessage &message) final override
 
void addMessages (const Buffer< LogMessage > &messages) final override
 
 AsciiFileOutputStream (const File &file, bool append)
 
void copyFile (File new_location)
 
const Filefile () const
 
void moveFile (File new_location)
 
void setFile (const File &file, bool append)
 
void setProgress (fltp04) final override
 
virtual ~AsciiFileOutputStream ()
 
- Public Member Functions inherited from LogStream
virtual void allowCancel (bool)
 
virtual void attach (ProgressInfo *stream)
 
void clearLinks ()
 
virtual void detach (ProgressInfo *stream)
 
bool ignoringMessages () const
 
void setIgnoreMessages (bool ignore)
 
virtual ~LogStream ()
 

Static Public Member Functions

static void ReadLogFile (ProgressInfo *stream, const File &file)
 

Additional Inherited Members

- Protected Attributes inherited from LogStream
bool m_ignore_message = false
 
Buffer< ProgressInfo * > m_linked_logs
 

Detailed Description

A LogStream that attached to a log, writes messages directly to a specified ascii file.


Constructor & Destructor Documentation

◆ AsciiFileOutputStream()

AsciiFileOutputStream ( const File & file,
bool append )
explicit

◆ ~AsciiFileOutputStream()

virtual ~AsciiFileOutputStream ( )
virtual

Member Function Documentation

◆ addMessage()

void addMessage ( const LogMessage & message)
finaloverridevirtual

Implements LogStream.

◆ addMessages()

void addMessages ( const Buffer< LogMessage > & messages)
finaloverridevirtual

Reimplemented from LogStream.

◆ copyFile()

void copyFile ( File new_location)

◆ file()

const File & file ( ) const

◆ moveFile()

void moveFile ( File new_location)

◆ ReadLogFile()

static void ReadLogFile ( ProgressInfo * stream,
const File & file )
static

◆ setFile()

void setFile ( const File & file,
bool append )

◆ setProgress()

void setProgress ( fltp04 )
inlinefinaloverridevirtual

Implements LogStream.


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