| 
    Cppcheck
    
   | 
 
Base class for XML report classes. More...
#include <xmlreport.h>
  
Public Member Functions | |
| XmlReport (const QString &filename) | |
| virtual QList< ErrorItem > | read ()=0 | 
| Read contents of the report file.  More... | |
  Public Member Functions inherited from Report | |
| Report (QString filename) | |
| ~Report () override | |
| virtual bool | create () | 
| Create the report (file).  More... | |
| virtual bool | open () | 
| Open the existing report (file).  More... | |
| void | close () | 
| Close the report (file).  More... | |
| virtual void | writeHeader ()=0 | 
| Write report header.  More... | |
| virtual void | writeFooter ()=0 | 
| Write report footer.  More... | |
| virtual void | writeError (const ErrorItem &error)=0 | 
| Write error to report.  More... | |
Static Public Member Functions | |
| static QString | quoteMessage (const QString &message) | 
| Quote the message.  More... | |
| static QString | unquoteMessage (const QString &message) | 
| Unquote the message.  More... | |
| static int | determineVersion (const QString &filename) | 
| Get the XML report format version from the file.  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... | |
Base class for XML report classes.
Definition at line 36 of file xmlreport.h.
      
  | 
  explicit | 
Definition at line 35 of file xmlreport.cpp.
      
  | 
  static | 
Get the XML report format version from the file.
| filename | Filename of the report file. | 
Definition at line 61 of file xmlreport.cpp.
References ResultElementName, and VersionAttribute.
Referenced by ResultsView::readErrorsXml().
      
  | 
  static | 
Quote the message.
| message | Message to quote. | 
Definition at line 39 of file xmlreport.cpp.
Referenced by XmlReportV2::writeError().
      
  | 
  pure virtual | 
Read contents of the report file.
Implemented in XmlReportV2.
      
  | 
  static | 
Unquote the message.
| message | Message to quote. | 
Definition at line 50 of file xmlreport.cpp.
Referenced by XmlReportV2::readError().