| 
    Cppcheck
    
   | 
 
Text file report. More...
#include <txtreport.h>
  
Public Member Functions | |
| TxtReport (const QString &filename) | |
| bool | create () override | 
| Create the report (file).  More... | |
| void | writeHeader () override | 
| Write report header.  More... | |
| void | writeFooter () override | 
| Write report footer.  More... | |
| void | writeError (const ErrorItem &error) override | 
| Write error to report.  More... | |
  Public Member Functions inherited from Report | |
| Report (QString filename) | |
| ~Report () override | |
| virtual bool | open () | 
| Open the existing report (file).  More... | |
| void | close () | 
| Close the report (file).  More... | |
Private Attributes | |
| QTextStream | mTxtWriter | 
| Text stream writer for writing the report in text format.  More... | |
Additional Inherited Members | |
  Public Types inherited from Report | |
| enum | Type { TXT , XMLV2 , CSV } | 
  Protected Member Functions inherited from Report | |
| QFile * | getFile () | 
| Get the file object where the report is written to.  More... | |
Text file report.
This report mimics the output of the command line cppcheck.
Definition at line 38 of file txtreport.h.
      
  | 
  explicit | 
Definition at line 28 of file txtreport.cpp.
      
  | 
  overridevirtual | 
Create the report (file).
Reimplemented from Report.
Definition at line 32 of file txtreport.cpp.
References Report::create(), Report::getFile(), and mTxtWriter.
      
  | 
  overridevirtual | 
Write error to report.
| error | Error data. | 
Implements Report.
Definition at line 51 of file txtreport.cpp.
References error, mTxtWriter, and GuiSeverity::toString().
      
  | 
  overridevirtual | 
      
  | 
  overridevirtual | 
      
  | 
  private | 
Text stream writer for writing the report in text format.
Definition at line 71 of file txtreport.h.
Referenced by create(), and writeError().