13#include <codeanalysis\warnings.h>
15#pragma warning(disable: WXWIDGETS_CODE_ANALYSIS_WARNINGS)
17#include <wx/xml/xml.h>
32 escaped.reserve(str.length());
34 for (
auto i = str.begin(); i != str.end(); ++i) {
38 escaped.append(wxS(
"<"));
41 escaped.append(wxS(
">"));
44 escaped.append(wxS(
"&"));
47 escaped.append(wxS(
"
"));
68 escaped.reserve(str.length());
70 for (
auto i = str.begin(); i != str.end(); ++i) {
74 escaped.append(wxS(
"<"));
77 escaped.append(wxS(
">"));
80 escaped.append(wxS(
"&"));
83 escaped.append(wxS(
"
"));
86 escaped.append(wxS(
"""));
89 escaped.append(wxS(
"	"));
92 escaped.append(wxS(
"
"));
Cryptographics Hash Base.
Definition crypto.h:86
wxString wxXmlEscapeAttr(const wxString &str)
Escapes attribute value string for XML insertion.
Definition xml.h:65
wxString wxXmlEscapeText(const wxString &str)
Escapes text string for XML insertion.
Definition xml.h:29
bool WXEXTEND_API wxXmlHashNode(wxCryptoHash &hash, const wxXmlNode *node)
Calculates hash of the node and all its children.
Definition xml.cpp:11
#define WXEXTEND_API
Public function calling convention.
Definition common.h:56