Cppcheck
|
Do not only check how interface is used. More...
#include <projectfile.h>
Public Member Functions | |
SafeChecks () | |
void | loadFromXml (QXmlStreamReader &xmlReader) |
void | saveToXml (QXmlStreamWriter &xmlWriter) const |
Public Member Functions inherited from Settings::SafeChecks | |
void | clear () |
Additional Inherited Members | |
Public Attributes inherited from Settings::SafeChecks | |
bool | classes {} |
Public interface of classes. More... | |
bool | externalFunctions {} |
External functions. More... | |
bool | internalFunctions {} |
Experimental: assume that internal functions can be used in any way This is only available in the GUI. More... | |
bool | externalVariables {} |
Global variables that can be modified outside the TU. More... | |
Static Public Attributes inherited from Settings::SafeChecks | |
static const char | XmlRootName [] = "safe-checks" |
static const char | XmlClasses [] = "class-public" |
static const char | XmlExternalFunctions [] = "external-functions" |
static const char | XmlInternalFunctions [] = "internal-functions" |
static const char | XmlExternalVariables [] = "external-variables" |
Do not only check how interface is used.
Also check that interface is safe.
Definition at line 406 of file projectfile.h.
|
inline |
Definition at line 408 of file projectfile.h.
void ProjectFile::SafeChecks::loadFromXml | ( | QXmlStreamReader & | xmlReader | ) |
Definition at line 1068 of file projectfile.cpp.
References Settings::SafeChecks::classes, Settings::SafeChecks::externalFunctions, Settings::SafeChecks::externalVariables, Settings::SafeChecks::internalFunctions, Settings::SafeChecks::XmlClasses, Settings::SafeChecks::XmlExternalFunctions, Settings::SafeChecks::XmlExternalVariables, and Settings::SafeChecks::XmlInternalFunctions.
Referenced by ProjectFile::read().
void ProjectFile::SafeChecks::saveToXml | ( | QXmlStreamWriter & | xmlWriter | ) | const |
Definition at line 1108 of file projectfile.cpp.
References Settings::SafeChecks::XmlClasses, Settings::SafeChecks::XmlExternalFunctions, Settings::SafeChecks::XmlExternalVariables, Settings::SafeChecks::XmlInternalFunctions, and Settings::SafeChecks::XmlRootName.
Referenced by ProjectFile::write().