|
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. | |
Static Public Member Functions | |
| static QString | quoteMessage (const QString &message) |
| Quote the message. | |
| static QString | unquoteMessage (const QString &message) |
| Unquote the message. | |
| static int | determineVersion (const QString &filename) |
| Get the XML report format version from the file. | |
Base class for XML report classes.
Definition at line 36 of file xmlreport.h.
| XmlReport::XmlReport | ( | const QString & | filename | ) |
Definition at line 29 of file xmlreport.cpp.
| int XmlReport::determineVersion | ( | const QString & | filename | ) | [static] |
Get the XML report format version from the file.
| filename | Filename of the report file. |
Definition at line 56 of file xmlreport.cpp.
References ResultElementName, and VersionAttribute.
Referenced by ResultsView::ReadErrorsXml().
| QString XmlReport::quoteMessage | ( | const QString & | message | ) | [static] |
Quote the message.
| message | Message to quote. |
Definition at line 34 of file xmlreport.cpp.
Referenced by XmlReportV1::WriteError(), and XmlReportV2::WriteError().
| virtual QList<ErrorItem> XmlReport::Read | ( | ) | [pure virtual] |
Read contents of the report file.
Implemented in XmlReportV2, and XmlReportV1.
Referenced by ResultsView::ReadErrorsXml().
| QString XmlReport::unquoteMessage | ( | const QString & | message | ) | [static] |
Unquote the message.
| message | Message to quote. |
Definition at line 45 of file xmlreport.cpp.
Referenced by XmlReportV1::ReadError(), and XmlReportV2::ReadError().
1.7.6.1