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

When 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

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

Static Public Member Functions

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

Additional Inherited Members

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

Detailed Description

When attached to a log, writes messages directly to a specified ascii file.


Class: AsciiFileOutputStream

autotoc_md57

Constructor & Destructor Documentation

◆ AsciiFileOutputStream()

AsciiFileOutputStream ( const File & file,
bool append )
explicit

◆ ~AsciiFileOutputStream()

~AsciiFileOutputStream ( )
virtual

Member Function Documentation

◆ addMessage()

void addMessage ( const LogMessage & message)
finaloverridevirtual

Implements LogStream.

◆ copyFile()

void copyFile ( File new_location)

◆ file()

const File & file ( ) const

◆ moveFile()

void moveFile ( File new_location)

◆ ReadLogFile()

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 files: