1 #ifndef ESCAPEDSTRING_H 2 #define ESCAPEDSTRING_H 71 string Decode(
bool& success)
const;
76 static void RunUnitTests(
int& nSucceeded,
int& nFailures);
83 #endif // ESCAPEDSTRING_H
string Generate() const
Generates an escaped string, from the original string.
static void RunUnitTests(int &nSucceeded, int &nFailures)
string Decode(bool &success) const
Decodes an escaped string, from the original string.
A helper class for escaping strings using C-style escapes.
EscapedString(const string &str)
Constructs an EscapedString helper.
Base class for unit testable classes.