#include <utils.h>
Public Member Functions | |
XMLEscape (const string &p) | |
XMLEscape (const char *p) | |
Friends | |
ostream & | operator<< (ostream &, const XMLEscape &) |
@ brief This utility class escapes special characters from a string.
The following characters are replaced:
This class works fine with UTF-8 and single-byte encodings, but will NOT work with other multibyte encodings (such as UTF-116 or UTF-32).
Definition at line 2115 of file utils.h.
frepple::utils::XMLEscape::XMLEscape | ( | const char * | p | ) | [inline] |
frepple::utils::XMLEscape::XMLEscape | ( | const string & | p | ) | [inline] |
ostream& operator<< | ( | ostream & | , | |
const XMLEscape & | ||||
) | [friend] |