XX CMake Package
Loading...
Searching...
No Matches
XX::LogFile< tag > Class Template Reference

a log file More...

#include <XXLogFile.h>

Inheritance diagram for XX::LogFile< tag >:

Detailed Description

template<CompileTimeString tag>
class XX::LogFile< tag >

a log file

tag is used to create a unique instance of LogFile and provides a static text stream

Public Member Functions

 LogFile (const QString &fileName)
 ~LogFile ()
void changeFileName (const QString &fileName)
 closes file and opens it with a new filename

Static Public Member Functions

static QTextStream stream ()

Constructor & Destructor Documentation

◆ LogFile()

template<CompileTimeString tag>
XX::LogFile< tag >::LogFile ( const QString & fileName)

◆ ~LogFile()

template<CompileTimeString tag>
XX::LogFile< tag >::~LogFile ( )

Member Function Documentation

◆ changeFileName()

template<CompileTimeString tag>
void XX::LogFile< tag >::changeFileName ( const QString & fileName)

closes file and opens it with a new filename

◆ stream()

template<CompileTimeString tag>
QTextStream XX::LogFile< tag >::stream ( )
static

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