HPCToolkit
xml.cpp File Reference
#include <fstream>
#include <string>
#include <cstring>
#include "xml.hpp"
#include <lib/support/diagnostics.h>
Include dependency graph for xml.cpp:

Go to the source code of this file.

Namespaces

 xml
 

Functions

static string xml::substitute (const char *str, const string *fromStrs, const string *toStrs)
 

Variables

static const int xml::numSubs = 4
 
static const string xml::RegStrs [] = {"<", ">", "&", "\""}
 
static const string xml::EscStrs [] = {"&lt;", "&gt;", "&amp;", "&quot;"}